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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1788 #define SWIG_From_long PyInt_FromLong
1792 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1798 } else if (target
== Py_None
) {
1802 if (!PyTuple_Check(target
)) {
1804 target
= PyTuple_New(1);
1805 PyTuple_SetItem(target
, 0, o2
);
1807 o3
= PyTuple_New(1);
1808 PyTuple_SetItem(o3
, 0, o
);
1811 target
= PySequence_Concat(o2
, o3
);
1819 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1820 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1821 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1822 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1824 #include <wx/checklst.h>
1827 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1828 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1830 wxPyClientData
* data
= new wxPyClientData(clientData
);
1831 self
->Insert(item
, pos
, data
);
1833 self
->Insert(item
, pos
);
1835 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1837 self
->GetSelections(lst
);
1838 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1839 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1840 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1844 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1846 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1847 self
->GetItem(item
)->SetTextColour(c
);
1850 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1852 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1853 self
->GetItem(item
)->SetBackgroundColour(c
);
1856 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1858 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1859 self
->GetItem(item
)->SetFont(f
);
1862 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
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
){
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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2148 #define SWIG_From_unsigned_SS_int SWIG_From_long
2151 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
= NULL
;
4972 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4973 long *arg2
= (long *) 0 ;
4974 long *arg3
= (long *) 0 ;
4979 PyObject
* obj0
= 0 ;
4981 (char *) "self", NULL
4984 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4985 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 (arg1
)->GetSelection(arg2
,arg3
);
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 Py_INCREF(Py_None
); resultobj
= Py_None
;
4997 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4998 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4999 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5000 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
5007 static PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
= NULL
;
5009 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5013 (char *) "self", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
5017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= SWIG_From_int(static_cast<int >(result
));
5035 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
= NULL
;
5037 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5038 wxString
*arg2
= 0 ;
5040 bool temp2
= false ;
5041 PyObject
* obj0
= 0 ;
5042 PyObject
* obj1
= 0 ;
5044 (char *) "self",(char *) "string", NULL
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5049 if (SWIG_arg_fail(1)) SWIG_fail
;
5051 arg2
= wxString_in_helper(obj1
);
5052 if (arg2
== NULL
) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5079 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
= NULL
;
5081 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5083 wxString
*arg3
= 0 ;
5084 bool temp3
= false ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5087 PyObject
* obj2
= 0 ;
5089 (char *) "self",(char *) "n",(char *) "string", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail
;
5096 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5097 if (SWIG_arg_fail(2)) SWIG_fail
;
5100 arg3
= wxString_in_helper(obj2
);
5101 if (arg3
== NULL
) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 Py_INCREF(Py_None
); resultobj
= Py_None
;
5126 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
= NULL
;
5128 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5131 PyObject
* obj1
= 0 ;
5133 (char *) "self",(char *) "editable", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5138 if (SWIG_arg_fail(1)) SWIG_fail
;
5140 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5141 if (SWIG_arg_fail(2)) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 (arg1
)->SetEditable(arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 Py_INCREF(Py_None
); resultobj
= Py_None
;
5157 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
= NULL
;
5159 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 (char *) "self", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5167 if (SWIG_arg_fail(1)) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 (arg1
)->SetInsertionPointEnd();
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 Py_INCREF(Py_None
); resultobj
= Py_None
;
5182 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
= NULL
;
5184 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5188 PyObject
* obj1
= 0 ;
5189 PyObject
* obj2
= 0 ;
5191 (char *) "self",(char *) "from",(char *) "to", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5196 if (SWIG_arg_fail(1)) SWIG_fail
;
5198 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5199 if (SWIG_arg_fail(2)) SWIG_fail
;
5202 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5203 if (SWIG_arg_fail(3)) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 (arg1
)->Remove(arg2
,arg3
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 Py_INCREF(Py_None
); resultobj
= Py_None
;
5219 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
= NULL
;
5221 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5223 PyObject
* obj0
= 0 ;
5225 (char *) "self", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5230 if (SWIG_arg_fail(1)) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5247 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
= NULL
;
5249 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5250 PyObject
* obj0
= 0 ;
5252 (char *) "self", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5257 if (SWIG_arg_fail(1)) SWIG_fail
;
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5265 Py_INCREF(Py_None
); resultobj
= Py_None
;
5272 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
= NULL
;
5274 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5275 PyObject
* obj0
= 0 ;
5277 (char *) "self", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5282 if (SWIG_arg_fail(1)) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
= NULL
;
5299 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5300 PyObject
* obj0
= 0 ;
5302 (char *) "self", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5307 if (SWIG_arg_fail(1)) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 (arg1
)->SelectAll();
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 Py_INCREF(Py_None
); resultobj
= Py_None
;
5322 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
= NULL
;
5324 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5326 PyObject
* obj0
= 0 ;
5328 (char *) "self", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5333 if (SWIG_arg_fail(1)) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5350 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
= NULL
;
5352 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5354 PyObject
* obj0
= 0 ;
5356 (char *) "self", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5361 if (SWIG_arg_fail(1)) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5378 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
= NULL
;
5380 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5384 (char *) "self", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5389 if (SWIG_arg_fail(1)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5406 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
= NULL
;
5408 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5412 (char *) "self", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5417 if (SWIG_arg_fail(1)) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5434 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
= NULL
;
5436 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5440 (char *) "self", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5445 if (SWIG_arg_fail(1)) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5462 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
= NULL
;
5464 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5465 wxVisualAttributes result
;
5466 PyObject
* obj0
= 0 ;
5468 (char *) "variant", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5474 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5475 if (SWIG_arg_fail(1)) SWIG_fail
;
5479 if (!wxPyCheckForApp()) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5487 wxVisualAttributes
* resultptr
;
5488 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5497 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5500 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5502 return Py_BuildValue((char *)"");
5504 static int _wrap_GaugeNameStr_set(PyObject
*) {
5505 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5510 static PyObject
*_wrap_GaugeNameStr_get(void) {
5511 PyObject
*pyobj
= NULL
;
5515 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5517 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5524 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
= NULL
;
5526 wxWindow
*arg1
= (wxWindow
*) 0 ;
5527 int arg2
= (int) -1 ;
5528 int arg3
= (int) 100 ;
5529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5533 long arg6
= (long) wxGA_HORIZONTAL
;
5534 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5535 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5536 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5537 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5541 bool temp8
= false ;
5542 PyObject
* obj0
= 0 ;
5543 PyObject
* obj1
= 0 ;
5544 PyObject
* obj2
= 0 ;
5545 PyObject
* obj3
= 0 ;
5546 PyObject
* obj4
= 0 ;
5547 PyObject
* obj5
= 0 ;
5548 PyObject
* obj6
= 0 ;
5549 PyObject
* obj7
= 0 ;
5551 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5556 if (SWIG_arg_fail(1)) SWIG_fail
;
5559 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5560 if (SWIG_arg_fail(2)) SWIG_fail
;
5565 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5566 if (SWIG_arg_fail(3)) SWIG_fail
;
5572 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5578 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5583 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5584 if (SWIG_arg_fail(6)) SWIG_fail
;
5589 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5590 if (SWIG_arg_fail(7)) SWIG_fail
;
5592 SWIG_null_ref("wxValidator");
5594 if (SWIG_arg_fail(7)) SWIG_fail
;
5599 arg8
= wxString_in_helper(obj7
);
5600 if (arg8
== NULL
) SWIG_fail
;
5605 if (!wxPyCheckForApp()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5627 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
= NULL
;
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5636 if (!wxPyCheckForApp()) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (wxGauge
*)new wxGauge();
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5650 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
= NULL
;
5652 wxGauge
*arg1
= (wxGauge
*) 0 ;
5653 wxWindow
*arg2
= (wxWindow
*) 0 ;
5654 int arg3
= (int) -1 ;
5655 int arg4
= (int) 100 ;
5656 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5657 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5658 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5659 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5660 long arg7
= (long) wxGA_HORIZONTAL
;
5661 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5662 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5663 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5664 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5668 bool temp9
= false ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 PyObject
* obj2
= 0 ;
5672 PyObject
* obj3
= 0 ;
5673 PyObject
* obj4
= 0 ;
5674 PyObject
* obj5
= 0 ;
5675 PyObject
* obj6
= 0 ;
5676 PyObject
* obj7
= 0 ;
5677 PyObject
* obj8
= 0 ;
5679 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5684 if (SWIG_arg_fail(1)) SWIG_fail
;
5685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5686 if (SWIG_arg_fail(2)) SWIG_fail
;
5689 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5690 if (SWIG_arg_fail(3)) SWIG_fail
;
5695 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5696 if (SWIG_arg_fail(4)) SWIG_fail
;
5702 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5708 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5713 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5714 if (SWIG_arg_fail(7)) SWIG_fail
;
5719 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5720 if (SWIG_arg_fail(8)) SWIG_fail
;
5722 SWIG_null_ref("wxValidator");
5724 if (SWIG_arg_fail(8)) SWIG_fail
;
5729 arg9
= wxString_in_helper(obj8
);
5730 if (arg9
== NULL
) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5758 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
= NULL
;
5760 wxGauge
*arg1
= (wxGauge
*) 0 ;
5762 PyObject
* obj0
= 0 ;
5763 PyObject
* obj1
= 0 ;
5765 (char *) "self",(char *) "range", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5770 if (SWIG_arg_fail(1)) SWIG_fail
;
5772 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5773 if (SWIG_arg_fail(2)) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 (arg1
)->SetRange(arg2
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 Py_INCREF(Py_None
); resultobj
= Py_None
;
5789 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
= NULL
;
5791 wxGauge
*arg1
= (wxGauge
*) 0 ;
5793 PyObject
* obj0
= 0 ;
5795 (char *) "self", NULL
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5800 if (SWIG_arg_fail(1)) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= SWIG_From_int(static_cast<int >(result
));
5817 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
= NULL
;
5819 wxGauge
*arg1
= (wxGauge
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5824 (char *) "self",(char *) "pos", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5829 if (SWIG_arg_fail(1)) SWIG_fail
;
5831 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5832 if (SWIG_arg_fail(2)) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 (arg1
)->SetValue(arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 Py_INCREF(Py_None
); resultobj
= Py_None
;
5848 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
= NULL
;
5850 wxGauge
*arg1
= (wxGauge
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5854 (char *) "self", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5859 if (SWIG_arg_fail(1)) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_From_int(static_cast<int >(result
));
5876 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
= NULL
;
5878 wxGauge
*arg1
= (wxGauge
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5882 (char *) "self", NULL
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5887 if (SWIG_arg_fail(1)) SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5904 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
*resultobj
= NULL
;
5906 wxGauge
*arg1
= (wxGauge
*) 0 ;
5908 PyObject
* obj0
= 0 ;
5909 PyObject
* obj1
= 0 ;
5911 (char *) "self",(char *) "w", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5916 if (SWIG_arg_fail(1)) SWIG_fail
;
5918 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5919 if (SWIG_arg_fail(2)) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 (arg1
)->SetShadowWidth(arg2
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5928 Py_INCREF(Py_None
); resultobj
= Py_None
;
5935 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
= NULL
;
5937 wxGauge
*arg1
= (wxGauge
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5941 (char *) "self", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5946 if (SWIG_arg_fail(1)) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_From_int(static_cast<int >(result
));
5963 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
= NULL
;
5965 wxGauge
*arg1
= (wxGauge
*) 0 ;
5967 PyObject
* obj0
= 0 ;
5968 PyObject
* obj1
= 0 ;
5970 (char *) "self",(char *) "w", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5975 if (SWIG_arg_fail(1)) SWIG_fail
;
5977 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5978 if (SWIG_arg_fail(2)) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 (arg1
)->SetBezelFace(arg2
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 Py_INCREF(Py_None
); resultobj
= Py_None
;
5994 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
= NULL
;
5996 wxGauge
*arg1
= (wxGauge
*) 0 ;
5998 PyObject
* obj0
= 0 ;
6000 (char *) "self", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
6004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
6005 if (SWIG_arg_fail(1)) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= SWIG_From_int(static_cast<int >(result
));
6022 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
= NULL
;
6024 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6025 wxVisualAttributes result
;
6026 PyObject
* obj0
= 0 ;
6028 (char *) "variant", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6034 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6035 if (SWIG_arg_fail(1)) SWIG_fail
;
6039 if (!wxPyCheckForApp()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= wxGauge::GetClassDefaultAttributes(arg1
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6047 wxVisualAttributes
* resultptr
;
6048 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6057 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
6059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6060 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
6062 return Py_BuildValue((char *)"");
6064 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
6065 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
6070 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
6071 PyObject
*pyobj
= NULL
;
6075 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6077 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6084 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
6085 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
6090 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
6091 PyObject
*pyobj
= NULL
;
6095 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6097 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6104 static int _wrap_StaticTextNameStr_set(PyObject
*) {
6105 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
6110 static PyObject
*_wrap_StaticTextNameStr_get(void) {
6111 PyObject
*pyobj
= NULL
;
6115 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6117 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6124 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
= NULL
;
6126 wxWindow
*arg1
= (wxWindow
*) 0 ;
6127 int arg2
= (int) -1 ;
6128 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6129 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6130 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6131 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6132 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6133 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6134 long arg6
= (long) 0 ;
6135 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6136 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6137 wxStaticBox
*result
;
6138 bool temp3
= false ;
6141 bool temp7
= false ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6144 PyObject
* obj2
= 0 ;
6145 PyObject
* obj3
= 0 ;
6146 PyObject
* obj4
= 0 ;
6147 PyObject
* obj5
= 0 ;
6148 PyObject
* obj6
= 0 ;
6150 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6155 if (SWIG_arg_fail(1)) SWIG_fail
;
6158 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6159 if (SWIG_arg_fail(2)) SWIG_fail
;
6164 arg3
= wxString_in_helper(obj2
);
6165 if (arg3
== NULL
) SWIG_fail
;
6172 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6178 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6183 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6184 if (SWIG_arg_fail(6)) SWIG_fail
;
6189 arg7
= wxString_in_helper(obj6
);
6190 if (arg7
== NULL
) SWIG_fail
;
6195 if (!wxPyCheckForApp()) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6225 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
= NULL
;
6227 wxStaticBox
*result
;
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6234 if (!wxPyCheckForApp()) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (wxStaticBox
*)new wxStaticBox();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6248 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
= NULL
;
6250 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6251 wxWindow
*arg2
= (wxWindow
*) 0 ;
6252 int arg3
= (int) -1 ;
6253 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6254 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6255 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6256 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6257 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6258 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6259 long arg7
= (long) 0 ;
6260 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6261 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6263 bool temp4
= false ;
6266 bool temp8
= false ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6269 PyObject
* obj2
= 0 ;
6270 PyObject
* obj3
= 0 ;
6271 PyObject
* obj4
= 0 ;
6272 PyObject
* obj5
= 0 ;
6273 PyObject
* obj6
= 0 ;
6274 PyObject
* obj7
= 0 ;
6276 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6281 if (SWIG_arg_fail(1)) SWIG_fail
;
6282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6283 if (SWIG_arg_fail(2)) SWIG_fail
;
6286 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6287 if (SWIG_arg_fail(3)) SWIG_fail
;
6292 arg4
= wxString_in_helper(obj3
);
6293 if (arg4
== NULL
) SWIG_fail
;
6300 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6306 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6311 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6312 if (SWIG_arg_fail(7)) SWIG_fail
;
6317 arg8
= wxString_in_helper(obj7
);
6318 if (arg8
== NULL
) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6354 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
= NULL
;
6356 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6357 wxVisualAttributes result
;
6358 PyObject
* obj0
= 0 ;
6360 (char *) "variant", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6366 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6367 if (SWIG_arg_fail(1)) SWIG_fail
;
6371 if (!wxPyCheckForApp()) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6379 wxVisualAttributes
* resultptr
;
6380 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6389 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6392 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6394 return Py_BuildValue((char *)"");
6396 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
= NULL
;
6398 wxWindow
*arg1
= (wxWindow
*) 0 ;
6399 int arg2
= (int) -1 ;
6400 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6401 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6402 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6403 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6404 long arg5
= (long) wxLI_HORIZONTAL
;
6405 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6406 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6407 wxStaticLine
*result
;
6410 bool temp6
= false ;
6411 PyObject
* obj0
= 0 ;
6412 PyObject
* obj1
= 0 ;
6413 PyObject
* obj2
= 0 ;
6414 PyObject
* obj3
= 0 ;
6415 PyObject
* obj4
= 0 ;
6416 PyObject
* obj5
= 0 ;
6418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6423 if (SWIG_arg_fail(1)) SWIG_fail
;
6426 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6427 if (SWIG_arg_fail(2)) SWIG_fail
;
6433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6439 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6444 arg5
= static_cast<long >(SWIG_As_long(obj4
));
6445 if (SWIG_arg_fail(5)) SWIG_fail
;
6450 arg6
= wxString_in_helper(obj5
);
6451 if (arg6
== NULL
) SWIG_fail
;
6456 if (!wxPyCheckForApp()) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6478 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
= NULL
;
6480 wxStaticLine
*result
;
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6487 if (!wxPyCheckForApp()) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 result
= (wxStaticLine
*)new wxStaticLine();
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6501 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
= NULL
;
6503 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6504 wxWindow
*arg2
= (wxWindow
*) 0 ;
6505 int arg3
= (int) -1 ;
6506 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6507 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6508 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6509 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6510 long arg6
= (long) wxLI_HORIZONTAL
;
6511 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6512 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6516 bool temp7
= false ;
6517 PyObject
* obj0
= 0 ;
6518 PyObject
* obj1
= 0 ;
6519 PyObject
* obj2
= 0 ;
6520 PyObject
* obj3
= 0 ;
6521 PyObject
* obj4
= 0 ;
6522 PyObject
* obj5
= 0 ;
6523 PyObject
* obj6
= 0 ;
6525 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6530 if (SWIG_arg_fail(1)) SWIG_fail
;
6531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6532 if (SWIG_arg_fail(2)) SWIG_fail
;
6535 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6536 if (SWIG_arg_fail(3)) SWIG_fail
;
6542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6553 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6554 if (SWIG_arg_fail(6)) SWIG_fail
;
6559 arg7
= wxString_in_helper(obj6
);
6560 if (arg7
== NULL
) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6588 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
= NULL
;
6590 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6592 PyObject
* obj0
= 0 ;
6594 (char *) "self", NULL
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6599 if (SWIG_arg_fail(1)) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6616 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
= NULL
;
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (int)wxStaticLine::GetDefaultSize();
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= SWIG_From_int(static_cast<int >(result
));
6640 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
= NULL
;
6642 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6643 wxVisualAttributes result
;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "variant", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6652 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6653 if (SWIG_arg_fail(1)) SWIG_fail
;
6657 if (!wxPyCheckForApp()) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6665 wxVisualAttributes
* resultptr
;
6666 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6675 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6678 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6680 return Py_BuildValue((char *)"");
6682 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
= NULL
;
6684 wxWindow
*arg1
= (wxWindow
*) 0 ;
6685 int arg2
= (int) -1 ;
6686 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6687 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6688 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6689 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6690 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6691 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6692 long arg6
= (long) 0 ;
6693 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6694 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6695 wxStaticText
*result
;
6696 bool temp3
= false ;
6699 bool temp7
= false ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6702 PyObject
* obj2
= 0 ;
6703 PyObject
* obj3
= 0 ;
6704 PyObject
* obj4
= 0 ;
6705 PyObject
* obj5
= 0 ;
6706 PyObject
* obj6
= 0 ;
6708 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6713 if (SWIG_arg_fail(1)) SWIG_fail
;
6716 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6717 if (SWIG_arg_fail(2)) SWIG_fail
;
6722 arg3
= wxString_in_helper(obj2
);
6723 if (arg3
== NULL
) SWIG_fail
;
6730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6741 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6742 if (SWIG_arg_fail(6)) SWIG_fail
;
6747 arg7
= wxString_in_helper(obj6
);
6748 if (arg7
== NULL
) SWIG_fail
;
6753 if (!wxPyCheckForApp()) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6783 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
= NULL
;
6785 wxStaticText
*result
;
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6792 if (!wxPyCheckForApp()) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 result
= (wxStaticText
*)new wxStaticText();
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6806 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
= NULL
;
6808 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6809 wxWindow
*arg2
= (wxWindow
*) 0 ;
6810 int arg3
= (int) -1 ;
6811 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6812 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6813 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6814 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6815 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6816 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6817 long arg7
= (long) 0 ;
6818 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6819 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6821 bool temp4
= false ;
6824 bool temp8
= false ;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6827 PyObject
* obj2
= 0 ;
6828 PyObject
* obj3
= 0 ;
6829 PyObject
* obj4
= 0 ;
6830 PyObject
* obj5
= 0 ;
6831 PyObject
* obj6
= 0 ;
6832 PyObject
* obj7
= 0 ;
6834 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6839 if (SWIG_arg_fail(1)) SWIG_fail
;
6840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6841 if (SWIG_arg_fail(2)) SWIG_fail
;
6844 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6845 if (SWIG_arg_fail(3)) SWIG_fail
;
6850 arg4
= wxString_in_helper(obj3
);
6851 if (arg4
== NULL
) SWIG_fail
;
6858 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6864 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6869 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6870 if (SWIG_arg_fail(7)) SWIG_fail
;
6875 arg8
= wxString_in_helper(obj7
);
6876 if (arg8
== NULL
) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6912 static PyObject
*_wrap_StaticText_Wrap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
= NULL
;
6914 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6917 PyObject
* obj1
= 0 ;
6919 (char *) "self",(char *) "width", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) goto fail
;
6923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6924 if (SWIG_arg_fail(1)) SWIG_fail
;
6926 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6927 if (SWIG_arg_fail(2)) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 Py_INCREF(Py_None
); resultobj
= Py_None
;
6943 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
= NULL
;
6945 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6946 wxVisualAttributes result
;
6947 PyObject
* obj0
= 0 ;
6949 (char *) "variant", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6955 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6956 if (SWIG_arg_fail(1)) SWIG_fail
;
6960 if (!wxPyCheckForApp()) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 wxVisualAttributes
* resultptr
;
6969 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6978 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6981 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6983 return Py_BuildValue((char *)"");
6985 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
= NULL
;
6987 wxWindow
*arg1
= (wxWindow
*) 0 ;
6988 int arg2
= (int) -1 ;
6989 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6990 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6991 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6992 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6993 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6994 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6995 long arg6
= (long) 0 ;
6996 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6997 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6998 wxStaticBitmap
*result
;
7001 bool temp7
= false ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7004 PyObject
* obj2
= 0 ;
7005 PyObject
* obj3
= 0 ;
7006 PyObject
* obj4
= 0 ;
7007 PyObject
* obj5
= 0 ;
7008 PyObject
* obj6
= 0 ;
7010 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7015 if (SWIG_arg_fail(1)) SWIG_fail
;
7018 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7019 if (SWIG_arg_fail(2)) SWIG_fail
;
7024 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7025 if (SWIG_arg_fail(3)) SWIG_fail
;
7027 SWIG_null_ref("wxBitmap");
7029 if (SWIG_arg_fail(3)) SWIG_fail
;
7035 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7041 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7046 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7047 if (SWIG_arg_fail(6)) SWIG_fail
;
7052 arg7
= wxString_in_helper(obj6
);
7053 if (arg7
== NULL
) SWIG_fail
;
7058 if (!wxPyCheckForApp()) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7080 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
= NULL
;
7082 wxStaticBitmap
*result
;
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
7089 if (!wxPyCheckForApp()) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (wxStaticBitmap
*)new wxStaticBitmap();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7103 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
= NULL
;
7105 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7106 wxWindow
*arg2
= (wxWindow
*) 0 ;
7107 int arg3
= (int) -1 ;
7108 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
7109 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
7110 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7111 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7112 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7113 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7114 long arg7
= (long) 0 ;
7115 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
7116 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7120 bool temp8
= false ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7123 PyObject
* obj2
= 0 ;
7124 PyObject
* obj3
= 0 ;
7125 PyObject
* obj4
= 0 ;
7126 PyObject
* obj5
= 0 ;
7127 PyObject
* obj6
= 0 ;
7128 PyObject
* obj7
= 0 ;
7130 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7135 if (SWIG_arg_fail(1)) SWIG_fail
;
7136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7137 if (SWIG_arg_fail(2)) SWIG_fail
;
7140 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7141 if (SWIG_arg_fail(3)) SWIG_fail
;
7146 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7147 if (SWIG_arg_fail(4)) SWIG_fail
;
7149 SWIG_null_ref("wxBitmap");
7151 if (SWIG_arg_fail(4)) SWIG_fail
;
7157 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7163 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7168 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7169 if (SWIG_arg_fail(7)) SWIG_fail
;
7174 arg8
= wxString_in_helper(obj7
);
7175 if (arg8
== NULL
) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7203 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
= NULL
;
7205 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "self", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7214 if (SWIG_arg_fail(1)) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (arg1
)->GetBitmap();
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7223 wxBitmap
* resultptr
;
7224 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7233 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
= NULL
;
7235 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7236 wxBitmap
*arg2
= 0 ;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7240 (char *) "self",(char *) "bitmap", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7245 if (SWIG_arg_fail(1)) SWIG_fail
;
7247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7248 if (SWIG_arg_fail(2)) SWIG_fail
;
7250 SWIG_null_ref("wxBitmap");
7252 if (SWIG_arg_fail(2)) SWIG_fail
;
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 Py_INCREF(Py_None
); resultobj
= Py_None
;
7268 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
= NULL
;
7270 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7275 (char *) "self",(char *) "icon", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7280 if (SWIG_arg_fail(1)) SWIG_fail
;
7282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7283 if (SWIG_arg_fail(2)) SWIG_fail
;
7285 SWIG_null_ref("wxIcon");
7287 if (SWIG_arg_fail(2)) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 Py_INCREF(Py_None
); resultobj
= Py_None
;
7303 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
= NULL
;
7305 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7306 wxVisualAttributes result
;
7307 PyObject
* obj0
= 0 ;
7309 (char *) "variant", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7315 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7316 if (SWIG_arg_fail(1)) SWIG_fail
;
7320 if (!wxPyCheckForApp()) SWIG_fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7328 wxVisualAttributes
* resultptr
;
7329 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7338 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7341 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7343 return Py_BuildValue((char *)"");
7345 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7346 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7351 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7352 PyObject
*pyobj
= NULL
;
7356 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7358 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7365 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
= NULL
;
7367 wxWindow
*arg1
= (wxWindow
*) 0 ;
7368 int arg2
= (int) -1 ;
7369 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7370 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7371 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7372 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7373 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7374 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7375 long arg6
= (long) 0 ;
7376 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7377 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7378 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7379 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7383 bool temp5
= false ;
7384 bool temp8
= false ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7387 PyObject
* obj2
= 0 ;
7388 PyObject
* obj3
= 0 ;
7389 PyObject
* obj4
= 0 ;
7390 PyObject
* obj5
= 0 ;
7391 PyObject
* obj6
= 0 ;
7392 PyObject
* obj7
= 0 ;
7394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7399 if (SWIG_arg_fail(1)) SWIG_fail
;
7402 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7403 if (SWIG_arg_fail(2)) SWIG_fail
;
7409 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7415 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7420 if (! PySequence_Check(obj4
)) {
7421 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7424 arg5
= new wxArrayString
;
7426 int i
, len
=PySequence_Length(obj4
);
7427 for (i
=0; i
<len
; i
++) {
7428 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7429 wxString
* s
= wxString_in_helper(item
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7439 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7440 if (SWIG_arg_fail(6)) SWIG_fail
;
7445 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7446 if (SWIG_arg_fail(7)) SWIG_fail
;
7448 SWIG_null_ref("wxValidator");
7450 if (SWIG_arg_fail(7)) SWIG_fail
;
7455 arg8
= wxString_in_helper(obj7
);
7456 if (arg8
== NULL
) SWIG_fail
;
7461 if (!wxPyCheckForApp()) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7470 if (temp5
) delete arg5
;
7479 if (temp5
) delete arg5
;
7489 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
*resultobj
= NULL
;
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7498 if (!wxPyCheckForApp()) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (wxListBox
*)new wxListBox();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7512 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
= NULL
;
7514 wxListBox
*arg1
= (wxListBox
*) 0 ;
7515 wxWindow
*arg2
= (wxWindow
*) 0 ;
7516 int arg3
= (int) -1 ;
7517 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7518 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7519 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7520 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7521 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7522 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7523 long arg7
= (long) 0 ;
7524 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7525 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7526 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7531 bool temp6
= false ;
7532 bool temp9
= false ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7535 PyObject
* obj2
= 0 ;
7536 PyObject
* obj3
= 0 ;
7537 PyObject
* obj4
= 0 ;
7538 PyObject
* obj5
= 0 ;
7539 PyObject
* obj6
= 0 ;
7540 PyObject
* obj7
= 0 ;
7541 PyObject
* obj8
= 0 ;
7543 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail
;
7549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7550 if (SWIG_arg_fail(2)) SWIG_fail
;
7553 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7554 if (SWIG_arg_fail(3)) SWIG_fail
;
7560 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7566 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7571 if (! PySequence_Check(obj5
)) {
7572 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7575 arg6
= new wxArrayString
;
7577 int i
, len
=PySequence_Length(obj5
);
7578 for (i
=0; i
<len
; i
++) {
7579 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7580 wxString
* s
= wxString_in_helper(item
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7590 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7591 if (SWIG_arg_fail(7)) SWIG_fail
;
7596 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7597 if (SWIG_arg_fail(8)) SWIG_fail
;
7599 SWIG_null_ref("wxValidator");
7601 if (SWIG_arg_fail(8)) SWIG_fail
;
7606 arg9
= wxString_in_helper(obj8
);
7607 if (arg9
== NULL
) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7622 if (temp6
) delete arg6
;
7631 if (temp6
) delete arg6
;
7641 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
= NULL
;
7643 wxListBox
*arg1
= (wxListBox
*) 0 ;
7644 wxString
*arg2
= 0 ;
7646 PyObject
*arg4
= (PyObject
*) NULL
;
7647 bool temp2
= false ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7650 PyObject
* obj2
= 0 ;
7651 PyObject
* obj3
= 0 ;
7653 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7658 if (SWIG_arg_fail(1)) SWIG_fail
;
7660 arg2
= wxString_in_helper(obj1
);
7661 if (arg2
== NULL
) SWIG_fail
;
7665 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7666 if (SWIG_arg_fail(3)) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 Py_INCREF(Py_None
); resultobj
= Py_None
;
7693 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= NULL
;
7695 wxListBox
*arg1
= (wxListBox
*) 0 ;
7696 wxArrayString
*arg2
= 0 ;
7698 bool temp2
= false ;
7699 PyObject
* obj0
= 0 ;
7700 PyObject
* obj1
= 0 ;
7701 PyObject
* obj2
= 0 ;
7703 (char *) "self",(char *) "items",(char *) "pos", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7708 if (SWIG_arg_fail(1)) SWIG_fail
;
7710 if (! PySequence_Check(obj1
)) {
7711 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7714 arg2
= new wxArrayString
;
7716 int i
, len
=PySequence_Length(obj1
);
7717 for (i
=0; i
<len
; i
++) {
7718 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7719 wxString
* s
= wxString_in_helper(item
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7727 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7728 if (SWIG_arg_fail(3)) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7739 if (temp2
) delete arg2
;
7744 if (temp2
) delete arg2
;
7750 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
= NULL
;
7752 wxListBox
*arg1
= (wxListBox
*) 0 ;
7753 wxArrayString
*arg2
= 0 ;
7754 bool temp2
= false ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7758 (char *) "self",(char *) "items", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7763 if (SWIG_arg_fail(1)) SWIG_fail
;
7765 if (! PySequence_Check(obj1
)) {
7766 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7769 arg2
= new wxArrayString
;
7771 int i
, len
=PySequence_Length(obj1
);
7772 for (i
=0; i
<len
; i
++) {
7773 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7774 wxString
* s
= wxString_in_helper(item
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 (arg1
)->Set((wxArrayString
const &)*arg2
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 Py_INCREF(Py_None
); resultobj
= Py_None
;
7790 if (temp2
) delete arg2
;
7795 if (temp2
) delete arg2
;
7801 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
= NULL
;
7803 wxListBox
*arg1
= (wxListBox
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "n", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail
;
7816 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7817 if (SWIG_arg_fail(2)) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7835 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
= NULL
;
7837 wxListBox
*arg1
= (wxListBox
*) 0 ;
7839 bool arg3
= (bool) true ;
7840 PyObject
* obj0
= 0 ;
7841 PyObject
* obj1
= 0 ;
7842 PyObject
* obj2
= 0 ;
7844 (char *) "self",(char *) "n",(char *) "select", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
7856 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
7857 if (SWIG_arg_fail(3)) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 (arg1
)->SetSelection(arg2
,arg3
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 Py_INCREF(Py_None
); resultobj
= Py_None
;
7874 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
= NULL
;
7876 wxListBox
*arg1
= (wxListBox
*) 0 ;
7878 PyObject
* obj0
= 0 ;
7879 PyObject
* obj1
= 0 ;
7881 (char *) "self",(char *) "n", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7886 if (SWIG_arg_fail(1)) SWIG_fail
;
7888 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7889 if (SWIG_arg_fail(2)) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 (arg1
)->Select(arg2
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 Py_INCREF(Py_None
); resultobj
= Py_None
;
7905 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
= NULL
;
7907 wxListBox
*arg1
= (wxListBox
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7912 (char *) "self",(char *) "n", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail
;
7919 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7920 if (SWIG_arg_fail(2)) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 (arg1
)->Deselect(arg2
);
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 Py_INCREF(Py_None
); resultobj
= Py_None
;
7936 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= NULL
;
7938 wxListBox
*arg1
= (wxListBox
*) 0 ;
7939 int arg2
= (int) -1 ;
7940 PyObject
* obj0
= 0 ;
7941 PyObject
* obj1
= 0 ;
7943 (char *) "self",(char *) "itemToLeaveSelected", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7948 if (SWIG_arg_fail(1)) SWIG_fail
;
7951 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7952 if (SWIG_arg_fail(2)) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 (arg1
)->DeselectAll(arg2
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 Py_INCREF(Py_None
); resultobj
= Py_None
;
7969 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
= NULL
;
7971 wxListBox
*arg1
= (wxListBox
*) 0 ;
7972 wxString
*arg2
= 0 ;
7973 bool arg3
= (bool) true ;
7975 bool temp2
= false ;
7976 PyObject
* obj0
= 0 ;
7977 PyObject
* obj1
= 0 ;
7978 PyObject
* obj2
= 0 ;
7980 (char *) "self",(char *) "s",(char *) "select", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7985 if (SWIG_arg_fail(1)) SWIG_fail
;
7987 arg2
= wxString_in_helper(obj1
);
7988 if (arg2
== NULL
) SWIG_fail
;
7993 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
7994 if (SWIG_arg_fail(3)) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8021 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
= NULL
;
8023 wxListBox
*arg1
= (wxListBox
*) 0 ;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
8031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8032 if (SWIG_arg_fail(1)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8047 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
= NULL
;
8049 wxListBox
*arg1
= (wxListBox
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8054 (char *) "self",(char *) "n", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
8058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail
;
8061 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8062 if (SWIG_arg_fail(2)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 (arg1
)->SetFirstItem(arg2
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
= NULL
;
8080 wxListBox
*arg1
= (wxListBox
*) 0 ;
8081 wxString
*arg2
= 0 ;
8082 bool temp2
= false ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8086 (char *) "self",(char *) "s", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
8090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8091 if (SWIG_arg_fail(1)) SWIG_fail
;
8093 arg2
= wxString_in_helper(obj1
);
8094 if (arg2
== NULL
) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8119 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
= NULL
;
8121 wxListBox
*arg1
= (wxListBox
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8126 (char *) "self",(char *) "n", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8131 if (SWIG_arg_fail(1)) SWIG_fail
;
8133 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8134 if (SWIG_arg_fail(2)) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 (arg1
)->EnsureVisible(arg2
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 Py_INCREF(Py_None
); resultobj
= Py_None
;
8150 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
= NULL
;
8152 wxListBox
*arg1
= (wxListBox
*) 0 ;
8153 wxString
*arg2
= 0 ;
8154 bool temp2
= false ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8158 (char *) "self",(char *) "s", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8163 if (SWIG_arg_fail(1)) SWIG_fail
;
8165 arg2
= wxString_in_helper(obj1
);
8166 if (arg2
== NULL
) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 Py_INCREF(Py_None
); resultobj
= Py_None
;
8191 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
= NULL
;
8193 wxListBox
*arg1
= (wxListBox
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "self", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8202 if (SWIG_arg_fail(1)) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8219 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
= NULL
;
8221 wxListBox
*arg1
= (wxListBox
*) 0 ;
8223 wxColour
*arg3
= 0 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 PyObject
* obj2
= 0 ;
8229 (char *) "self",(char *) "item",(char *) "c", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8234 if (SWIG_arg_fail(1)) SWIG_fail
;
8236 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8237 if (SWIG_arg_fail(2)) SWIG_fail
;
8241 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8247 wxPyEndAllowThreads(__tstate
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 Py_INCREF(Py_None
); resultobj
= Py_None
;
8257 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
= NULL
;
8259 wxListBox
*arg1
= (wxListBox
*) 0 ;
8261 wxColour
*arg3
= 0 ;
8263 PyObject
* obj0
= 0 ;
8264 PyObject
* obj1
= 0 ;
8265 PyObject
* obj2
= 0 ;
8267 (char *) "self",(char *) "item",(char *) "c", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",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
;
8279 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 Py_INCREF(Py_None
); resultobj
= Py_None
;
8295 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
= NULL
;
8297 wxListBox
*arg1
= (wxListBox
*) 0 ;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8302 PyObject
* obj2
= 0 ;
8304 (char *) "self",(char *) "item",(char *) "f", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8309 if (SWIG_arg_fail(1)) SWIG_fail
;
8311 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8312 if (SWIG_arg_fail(2)) SWIG_fail
;
8315 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8316 if (SWIG_arg_fail(3)) SWIG_fail
;
8318 SWIG_null_ref("wxFont");
8320 if (SWIG_arg_fail(3)) SWIG_fail
;
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 Py_INCREF(Py_None
); resultobj
= Py_None
;
8336 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
= NULL
;
8338 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8339 wxVisualAttributes result
;
8340 PyObject
* obj0
= 0 ;
8342 (char *) "variant", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8348 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8349 if (SWIG_arg_fail(1)) SWIG_fail
;
8353 if (!wxPyCheckForApp()) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= wxListBox::GetClassDefaultAttributes(arg1
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8361 wxVisualAttributes
* resultptr
;
8362 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8371 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8374 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8376 return Py_BuildValue((char *)"");
8378 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
= NULL
;
8380 wxWindow
*arg1
= (wxWindow
*) 0 ;
8381 int arg2
= (int) -1 ;
8382 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8383 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8384 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8385 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8386 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8387 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8388 long arg6
= (long) 0 ;
8389 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8390 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8391 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8392 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8393 wxCheckListBox
*result
;
8396 bool temp5
= false ;
8397 bool temp8
= false ;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8400 PyObject
* obj2
= 0 ;
8401 PyObject
* obj3
= 0 ;
8402 PyObject
* obj4
= 0 ;
8403 PyObject
* obj5
= 0 ;
8404 PyObject
* obj6
= 0 ;
8405 PyObject
* obj7
= 0 ;
8407 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8412 if (SWIG_arg_fail(1)) SWIG_fail
;
8415 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8416 if (SWIG_arg_fail(2)) SWIG_fail
;
8422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8428 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8433 if (! PySequence_Check(obj4
)) {
8434 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8437 arg5
= new wxArrayString
;
8439 int i
, len
=PySequence_Length(obj4
);
8440 for (i
=0; i
<len
; i
++) {
8441 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8442 wxString
* s
= wxString_in_helper(item
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8452 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8453 if (SWIG_arg_fail(6)) SWIG_fail
;
8458 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8459 if (SWIG_arg_fail(7)) SWIG_fail
;
8461 SWIG_null_ref("wxValidator");
8463 if (SWIG_arg_fail(7)) SWIG_fail
;
8468 arg8
= wxString_in_helper(obj7
);
8469 if (arg8
== NULL
) SWIG_fail
;
8474 if (!wxPyCheckForApp()) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8483 if (temp5
) delete arg5
;
8492 if (temp5
) delete arg5
;
8502 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
= NULL
;
8504 wxCheckListBox
*result
;
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8511 if (!wxPyCheckForApp()) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (wxCheckListBox
*)new wxCheckListBox();
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8525 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
= NULL
;
8527 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8528 wxWindow
*arg2
= (wxWindow
*) 0 ;
8529 int arg3
= (int) -1 ;
8530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8534 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8535 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8536 long arg7
= (long) 0 ;
8537 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8538 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8539 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8540 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8544 bool temp6
= false ;
8545 bool temp9
= false ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8548 PyObject
* obj2
= 0 ;
8549 PyObject
* obj3
= 0 ;
8550 PyObject
* obj4
= 0 ;
8551 PyObject
* obj5
= 0 ;
8552 PyObject
* obj6
= 0 ;
8553 PyObject
* obj7
= 0 ;
8554 PyObject
* obj8
= 0 ;
8556 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8561 if (SWIG_arg_fail(1)) SWIG_fail
;
8562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8563 if (SWIG_arg_fail(2)) SWIG_fail
;
8566 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8567 if (SWIG_arg_fail(3)) SWIG_fail
;
8573 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8579 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8584 if (! PySequence_Check(obj5
)) {
8585 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8588 arg6
= new wxArrayString
;
8590 int i
, len
=PySequence_Length(obj5
);
8591 for (i
=0; i
<len
; i
++) {
8592 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8593 wxString
* s
= wxString_in_helper(item
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8603 arg7
= static_cast<long >(SWIG_As_long(obj6
));
8604 if (SWIG_arg_fail(7)) SWIG_fail
;
8609 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8610 if (SWIG_arg_fail(8)) SWIG_fail
;
8612 SWIG_null_ref("wxValidator");
8614 if (SWIG_arg_fail(8)) SWIG_fail
;
8619 arg9
= wxString_in_helper(obj8
);
8620 if (arg9
== NULL
) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8635 if (temp6
) delete arg6
;
8644 if (temp6
) delete arg6
;
8654 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
= NULL
;
8656 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8659 PyObject
* obj0
= 0 ;
8660 PyObject
* obj1
= 0 ;
8662 (char *) "self",(char *) "index", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8667 if (SWIG_arg_fail(1)) SWIG_fail
;
8669 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8670 if (SWIG_arg_fail(2)) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (bool)(arg1
)->IsChecked(arg2
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8688 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
= NULL
;
8690 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8692 int arg3
= (int) true ;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8695 PyObject
* obj2
= 0 ;
8697 (char *) "self",(char *) "index",(char *) "check", NULL
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8702 if (SWIG_arg_fail(1)) SWIG_fail
;
8704 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8705 if (SWIG_arg_fail(2)) SWIG_fail
;
8709 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8710 if (SWIG_arg_fail(3)) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 (arg1
)->Check(arg2
,arg3
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 Py_INCREF(Py_None
); resultobj
= Py_None
;
8727 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
= NULL
;
8729 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8731 PyObject
* obj0
= 0 ;
8733 (char *) "self", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8738 if (SWIG_arg_fail(1)) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 result
= (int)(arg1
)->GetItemHeight();
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_From_int(static_cast<int >(result
));
8755 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
= NULL
;
8757 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8764 (char *) "self",(char *) "pt", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8769 if (SWIG_arg_fail(1)) SWIG_fail
;
8772 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= SWIG_From_int(static_cast<int >(result
));
8790 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
= NULL
;
8792 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 PyObject
* obj2
= 0 ;
8800 (char *) "self",(char *) "x",(char *) "y", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8805 if (SWIG_arg_fail(1)) SWIG_fail
;
8807 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8808 if (SWIG_arg_fail(2)) SWIG_fail
;
8811 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8812 if (SWIG_arg_fail(3)) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_From_int(static_cast<int >(result
));
8830 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8833 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8835 return Py_BuildValue((char *)"");
8837 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8838 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8843 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8844 PyObject
*pyobj
= NULL
;
8848 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8850 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8857 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
= NULL
;
8859 wxColour
const &arg1_defvalue
= wxNullColour
;
8860 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8861 wxColour
const &arg2_defvalue
= wxNullColour
;
8862 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8863 wxFont
const &arg3_defvalue
= wxNullFont
;
8864 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8865 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8871 PyObject
* obj2
= 0 ;
8872 PyObject
* obj3
= 0 ;
8874 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8881 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8887 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8892 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8893 if (SWIG_arg_fail(3)) SWIG_fail
;
8895 SWIG_null_ref("wxFont");
8897 if (SWIG_arg_fail(3)) SWIG_fail
;
8902 arg4
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj3
));
8903 if (SWIG_arg_fail(4)) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8920 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
= NULL
;
8922 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8923 PyObject
* obj0
= 0 ;
8925 (char *) "self", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8930 if (SWIG_arg_fail(1)) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
= NULL
;
8947 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
= NULL
;
8972 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8973 wxColour
*arg2
= 0 ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8978 (char *) "self",(char *) "colText", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8983 if (SWIG_arg_fail(1)) SWIG_fail
;
8986 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 Py_INCREF(Py_None
); resultobj
= Py_None
;
9002 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
= NULL
;
9004 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9005 wxColour
*arg2
= 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9010 (char *) "self",(char *) "colBack", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9015 if (SWIG_arg_fail(1)) SWIG_fail
;
9018 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 Py_INCREF(Py_None
); resultobj
= Py_None
;
9034 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
= NULL
;
9036 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9038 long arg3
= (long) wxTEXT_ATTR_FONT
;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9041 PyObject
* obj2
= 0 ;
9043 (char *) "self",(char *) "font",(char *) "flags", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9048 if (SWIG_arg_fail(1)) SWIG_fail
;
9050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9051 if (SWIG_arg_fail(2)) SWIG_fail
;
9053 SWIG_null_ref("wxFont");
9055 if (SWIG_arg_fail(2)) SWIG_fail
;
9059 arg3
= static_cast<long >(SWIG_As_long(obj2
));
9060 if (SWIG_arg_fail(3)) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 Py_INCREF(Py_None
); resultobj
= Py_None
;
9077 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
= NULL
;
9079 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9080 wxTextAttrAlignment arg2
;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9084 (char *) "self",(char *) "alignment", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9089 if (SWIG_arg_fail(1)) SWIG_fail
;
9091 arg2
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj1
));
9092 if (SWIG_arg_fail(2)) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 (arg1
)->SetAlignment(arg2
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 Py_INCREF(Py_None
); resultobj
= Py_None
;
9108 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
= NULL
;
9110 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9111 wxArrayInt
*arg2
= 0 ;
9112 bool temp2
= false ;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9116 (char *) "self",(char *) "tabs", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
9120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9121 if (SWIG_arg_fail(1)) SWIG_fail
;
9123 if (! PySequence_Check(obj1
)) {
9124 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
9127 arg2
= new wxArrayInt
;
9129 int i
, len
=PySequence_Length(obj1
);
9130 for (i
=0; i
<len
; i
++) {
9131 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9132 PyObject
* number
= PyNumber_Int(item
);
9133 arg2
->Add(PyInt_AS_LONG(number
));
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 Py_INCREF(Py_None
); resultobj
= Py_None
;
9147 if (temp2
) delete arg2
;
9152 if (temp2
) delete arg2
;
9158 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
= NULL
;
9160 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9162 int arg3
= (int) 0 ;
9163 PyObject
* obj0
= 0 ;
9164 PyObject
* obj1
= 0 ;
9165 PyObject
* obj2
= 0 ;
9167 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9172 if (SWIG_arg_fail(1)) SWIG_fail
;
9174 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9175 if (SWIG_arg_fail(2)) SWIG_fail
;
9179 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9180 if (SWIG_arg_fail(3)) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 (arg1
)->SetLeftIndent(arg2
,arg3
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 Py_INCREF(Py_None
); resultobj
= Py_None
;
9197 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
= NULL
;
9199 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "self",(char *) "indent", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9209 if (SWIG_arg_fail(1)) SWIG_fail
;
9211 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9212 if (SWIG_arg_fail(2)) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 (arg1
)->SetRightIndent(arg2
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 Py_INCREF(Py_None
); resultobj
= Py_None
;
9228 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
= NULL
;
9230 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9233 PyObject
* obj1
= 0 ;
9235 (char *) "self",(char *) "flags", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail
;
9242 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9243 if (SWIG_arg_fail(2)) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 (arg1
)->SetFlags(arg2
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 Py_INCREF(Py_None
); resultobj
= Py_None
;
9259 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
= NULL
;
9261 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9265 (char *) "self", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9270 if (SWIG_arg_fail(1)) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9287 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= NULL
;
9289 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9291 PyObject
* obj0
= 0 ;
9293 (char *) "self", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9298 if (SWIG_arg_fail(1)) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9315 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
= NULL
;
9317 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9321 (char *) "self", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9326 if (SWIG_arg_fail(1)) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9343 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
*resultobj
= NULL
;
9345 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9349 (char *) "self", NULL
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9354 if (SWIG_arg_fail(1)) SWIG_fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9371 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
= NULL
;
9373 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9375 PyObject
* obj0
= 0 ;
9377 (char *) "self", NULL
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9382 if (SWIG_arg_fail(1)) SWIG_fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9399 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= NULL
;
9401 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9403 PyObject
* obj0
= 0 ;
9405 (char *) "self", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9410 if (SWIG_arg_fail(1)) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9427 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
= NULL
;
9429 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9433 (char *) "self", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9438 if (SWIG_arg_fail(1)) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9455 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
= NULL
;
9457 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9463 (char *) "self",(char *) "flag", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9468 if (SWIG_arg_fail(1)) SWIG_fail
;
9470 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9471 if (SWIG_arg_fail(2)) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9489 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
= NULL
;
9491 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9493 PyObject
* obj0
= 0 ;
9495 (char *) "self", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9500 if (SWIG_arg_fail(1)) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9505 result
= (wxColour
*) &_result_ref
;
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9518 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
= NULL
;
9520 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9522 PyObject
* obj0
= 0 ;
9524 (char *) "self", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9529 if (SWIG_arg_fail(1)) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9534 result
= (wxColour
*) &_result_ref
;
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9547 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
= NULL
;
9549 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9558 if (SWIG_arg_fail(1)) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9563 result
= (wxFont
*) &_result_ref
;
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9570 wxFont
* resultptr
= new wxFont(*result
);
9571 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9579 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
= NULL
;
9581 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9582 wxTextAttrAlignment result
;
9583 PyObject
* obj0
= 0 ;
9585 (char *) "self", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9590 if (SWIG_arg_fail(1)) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_From_int((result
));
9605 static PyObject
*_wrap_TextAttr_GetTabs(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_GetTabs",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();
9620 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9621 result
= (wxArrayInt
*) &_result_ref
;
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9628 resultobj
= PyList_New(0);
9630 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9631 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9632 PyList_Append(resultobj
, val
);
9642 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
= NULL
;
9644 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9646 PyObject
* obj0
= 0 ;
9648 (char *) "self", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9653 if (SWIG_arg_fail(1)) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_From_long(static_cast<long >(result
));
9670 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
= NULL
;
9672 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9676 (char *) "self", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9681 if (SWIG_arg_fail(1)) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= SWIG_From_long(static_cast<long >(result
));
9698 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= NULL
;
9700 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9704 (char *) "self", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9709 if (SWIG_arg_fail(1)) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= SWIG_From_long(static_cast<long >(result
));
9726 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
= NULL
;
9728 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9732 (char *) "self", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9737 if (SWIG_arg_fail(1)) SWIG_fail
;
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= SWIG_From_long(static_cast<long >(result
));
9754 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
= NULL
;
9756 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9758 PyObject
* obj0
= 0 ;
9760 (char *) "self", NULL
9763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9765 if (SWIG_arg_fail(1)) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9782 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
= NULL
;
9784 wxTextAttr
*arg1
= 0 ;
9785 wxTextAttr
*arg2
= 0 ;
9786 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 PyObject
* obj2
= 0 ;
9792 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9798 if (SWIG_arg_fail(1)) SWIG_fail
;
9800 SWIG_null_ref("wxTextAttr");
9802 if (SWIG_arg_fail(1)) SWIG_fail
;
9805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9806 if (SWIG_arg_fail(2)) SWIG_fail
;
9808 SWIG_null_ref("wxTextAttr");
9810 if (SWIG_arg_fail(2)) SWIG_fail
;
9812 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9813 if (SWIG_arg_fail(3)) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9822 wxTextAttr
* resultptr
;
9823 resultptr
= new wxTextAttr(static_cast<wxTextAttr
& >(result
));
9824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9832 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9835 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9837 return Py_BuildValue((char *)"");
9839 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
= NULL
;
9841 wxWindow
*arg1
= (wxWindow
*) 0 ;
9842 int arg2
= (int) -1 ;
9843 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9844 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9845 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9846 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9847 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9848 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9849 long arg6
= (long) 0 ;
9850 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9851 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9852 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9855 bool temp3
= false ;
9858 bool temp8
= false ;
9859 PyObject
* obj0
= 0 ;
9860 PyObject
* obj1
= 0 ;
9861 PyObject
* obj2
= 0 ;
9862 PyObject
* obj3
= 0 ;
9863 PyObject
* obj4
= 0 ;
9864 PyObject
* obj5
= 0 ;
9865 PyObject
* obj6
= 0 ;
9866 PyObject
* obj7
= 0 ;
9868 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9873 if (SWIG_arg_fail(1)) SWIG_fail
;
9876 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9877 if (SWIG_arg_fail(2)) SWIG_fail
;
9882 arg3
= wxString_in_helper(obj2
);
9883 if (arg3
== NULL
) SWIG_fail
;
9890 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9896 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9901 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9902 if (SWIG_arg_fail(6)) SWIG_fail
;
9907 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9908 if (SWIG_arg_fail(7)) SWIG_fail
;
9910 SWIG_null_ref("wxValidator");
9912 if (SWIG_arg_fail(7)) SWIG_fail
;
9917 arg8
= wxString_in_helper(obj7
);
9918 if (arg8
== NULL
) SWIG_fail
;
9923 if (!wxPyCheckForApp()) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9953 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= NULL
;
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9962 if (!wxPyCheckForApp()) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (wxTextCtrl
*)new wxTextCtrl();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9976 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
= NULL
;
9978 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9979 wxWindow
*arg2
= (wxWindow
*) 0 ;
9980 int arg3
= (int) -1 ;
9981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9983 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9984 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9985 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9986 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9987 long arg7
= (long) 0 ;
9988 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9989 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9990 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9991 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9993 bool temp4
= false ;
9996 bool temp9
= false ;
9997 PyObject
* obj0
= 0 ;
9998 PyObject
* obj1
= 0 ;
9999 PyObject
* obj2
= 0 ;
10000 PyObject
* obj3
= 0 ;
10001 PyObject
* obj4
= 0 ;
10002 PyObject
* obj5
= 0 ;
10003 PyObject
* obj6
= 0 ;
10004 PyObject
* obj7
= 0 ;
10005 PyObject
* obj8
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
10011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10012 if (SWIG_arg_fail(1)) SWIG_fail
;
10013 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10014 if (SWIG_arg_fail(2)) SWIG_fail
;
10017 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10018 if (SWIG_arg_fail(3)) SWIG_fail
;
10023 arg4
= wxString_in_helper(obj3
);
10024 if (arg4
== NULL
) SWIG_fail
;
10031 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10037 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10042 arg7
= static_cast<long >(SWIG_As_long(obj6
));
10043 if (SWIG_arg_fail(7)) SWIG_fail
;
10048 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
10049 if (SWIG_arg_fail(8)) SWIG_fail
;
10050 if (arg8
== NULL
) {
10051 SWIG_null_ref("wxValidator");
10053 if (SWIG_arg_fail(8)) SWIG_fail
;
10058 arg9
= wxString_in_helper(obj8
);
10059 if (arg9
== NULL
) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10095 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
= NULL
;
10097 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10099 PyObject
* obj0
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10127 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
= NULL
;
10129 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10130 wxString
*arg2
= 0 ;
10131 bool temp2
= false ;
10132 PyObject
* obj0
= 0 ;
10133 PyObject
* obj1
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self",(char *) "value", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10140 if (SWIG_arg_fail(1)) SWIG_fail
;
10142 arg2
= wxString_in_helper(obj1
);
10143 if (arg2
== NULL
) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 (arg1
)->SetValue((wxString
const &)*arg2
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 Py_INCREF(Py_None
); resultobj
= Py_None
;
10168 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
= NULL
;
10170 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 PyObject
* obj1
= 0 ;
10176 PyObject
* obj2
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self",(char *) "from",(char *) "to", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10183 if (SWIG_arg_fail(1)) SWIG_fail
;
10185 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10186 if (SWIG_arg_fail(2)) SWIG_fail
;
10189 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10190 if (SWIG_arg_fail(3)) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10212 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
= NULL
;
10214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self",(char *) "lineNo", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10225 if (SWIG_arg_fail(1)) SWIG_fail
;
10227 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10228 if (SWIG_arg_fail(2)) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= SWIG_From_int(static_cast<int >(result
));
10246 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
= NULL
;
10248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10251 PyObject
* obj0
= 0 ;
10252 PyObject
* obj1
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "self",(char *) "lineNo", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10259 if (SWIG_arg_fail(1)) SWIG_fail
;
10261 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10262 if (SWIG_arg_fail(2)) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10284 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
*resultobj
= NULL
;
10286 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10288 PyObject
* obj0
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10295 if (SWIG_arg_fail(1)) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= SWIG_From_int(static_cast<int >(result
));
10312 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
= NULL
;
10314 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10316 PyObject
* obj0
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "self", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10323 if (SWIG_arg_fail(1)) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10340 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
= NULL
;
10342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10351 if (SWIG_arg_fail(1)) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10368 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
= NULL
;
10370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10379 if (SWIG_arg_fail(1)) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10396 static PyObject
*_wrap_TextCtrl_IsMultiLine(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_IsMultiLine",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
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10424 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= NULL
;
10426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10427 long *arg2
= (long *) 0 ;
10428 long *arg3
= (long *) 0 ;
10433 PyObject
* obj0
= 0 ;
10434 char *kwnames
[] = {
10435 (char *) "self", NULL
10438 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10439 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10442 if (SWIG_arg_fail(1)) SWIG_fail
;
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 Py_INCREF(Py_None
); resultobj
= Py_None
;
10451 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10452 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10453 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10454 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10461 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
= NULL
;
10463 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10465 PyObject
* obj0
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10472 if (SWIG_arg_fail(1)) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10493 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
= NULL
;
10495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10503 if (SWIG_arg_fail(1)) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 Py_INCREF(Py_None
); resultobj
= Py_None
;
10518 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
= NULL
;
10520 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10523 wxString
*arg4
= 0 ;
10524 bool temp4
= false ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 PyObject
* obj2
= 0 ;
10528 PyObject
* obj3
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10535 if (SWIG_arg_fail(1)) SWIG_fail
;
10537 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10538 if (SWIG_arg_fail(2)) SWIG_fail
;
10541 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10542 if (SWIG_arg_fail(3)) SWIG_fail
;
10545 arg4
= wxString_in_helper(obj3
);
10546 if (arg4
== NULL
) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10571 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
= NULL
;
10573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10576 PyObject
* obj0
= 0 ;
10577 PyObject
* obj1
= 0 ;
10578 PyObject
* obj2
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self",(char *) "from",(char *) "to", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10585 if (SWIG_arg_fail(1)) SWIG_fail
;
10587 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10588 if (SWIG_arg_fail(2)) SWIG_fail
;
10591 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10592 if (SWIG_arg_fail(3)) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 (arg1
)->Remove(arg2
,arg3
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10608 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
= NULL
;
10610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10611 wxString
*arg2
= 0 ;
10613 bool temp2
= false ;
10614 PyObject
* obj0
= 0 ;
10615 PyObject
* obj1
= 0 ;
10616 char *kwnames
[] = {
10617 (char *) "self",(char *) "file", NULL
10620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10622 if (SWIG_arg_fail(1)) SWIG_fail
;
10624 arg2
= wxString_in_helper(obj1
);
10625 if (arg2
== NULL
) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10652 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
= NULL
;
10654 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10655 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10656 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10658 bool temp2
= false ;
10659 PyObject
* obj0
= 0 ;
10660 PyObject
* obj1
= 0 ;
10661 char *kwnames
[] = {
10662 (char *) "self",(char *) "file", NULL
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10667 if (SWIG_arg_fail(1)) SWIG_fail
;
10670 arg2
= wxString_in_helper(obj1
);
10671 if (arg2
== NULL
) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10699 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
= NULL
;
10701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10702 PyObject
* obj0
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10709 if (SWIG_arg_fail(1)) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 (arg1
)->MarkDirty();
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 Py_INCREF(Py_None
); resultobj
= Py_None
;
10724 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
= NULL
;
10726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10727 PyObject
* obj0
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10734 if (SWIG_arg_fail(1)) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 (arg1
)->DiscardEdits();
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 Py_INCREF(Py_None
); resultobj
= Py_None
;
10749 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
= NULL
;
10751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10752 unsigned long arg2
;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self",(char *) "len", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10761 if (SWIG_arg_fail(1)) SWIG_fail
;
10763 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
10764 if (SWIG_arg_fail(2)) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->SetMaxLength(arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 Py_INCREF(Py_None
); resultobj
= Py_None
;
10780 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
= NULL
;
10782 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10783 wxString
*arg2
= 0 ;
10784 bool temp2
= false ;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self",(char *) "text", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail
;
10795 arg2
= wxString_in_helper(obj1
);
10796 if (arg2
== NULL
) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 (arg1
)->WriteText((wxString
const &)*arg2
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
= NULL
;
10823 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10824 wxString
*arg2
= 0 ;
10825 bool temp2
= false ;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self",(char *) "text", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10834 if (SWIG_arg_fail(1)) SWIG_fail
;
10836 arg2
= wxString_in_helper(obj1
);
10837 if (arg2
== NULL
) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 (arg1
)->AppendText((wxString
const &)*arg2
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 Py_INCREF(Py_None
); resultobj
= Py_None
;
10862 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
= NULL
;
10864 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10865 wxKeyEvent
*arg2
= 0 ;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self",(char *) "event", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10875 if (SWIG_arg_fail(1)) SWIG_fail
;
10877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10878 if (SWIG_arg_fail(2)) SWIG_fail
;
10879 if (arg2
== NULL
) {
10880 SWIG_null_ref("wxKeyEvent");
10882 if (SWIG_arg_fail(2)) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10900 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
= NULL
;
10902 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10905 wxTextAttr
*arg4
= 0 ;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 PyObject
* obj2
= 0 ;
10910 PyObject
* obj3
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10917 if (SWIG_arg_fail(1)) SWIG_fail
;
10919 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10920 if (SWIG_arg_fail(2)) SWIG_fail
;
10923 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10924 if (SWIG_arg_fail(3)) SWIG_fail
;
10927 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10928 if (SWIG_arg_fail(4)) SWIG_fail
;
10929 if (arg4
== NULL
) {
10930 SWIG_null_ref("wxTextAttr");
10932 if (SWIG_arg_fail(4)) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10950 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
= NULL
;
10952 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10954 wxTextAttr
*arg3
= 0 ;
10956 PyObject
* obj0
= 0 ;
10957 PyObject
* obj1
= 0 ;
10958 PyObject
* obj2
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self",(char *) "position",(char *) "style", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10965 if (SWIG_arg_fail(1)) SWIG_fail
;
10967 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10968 if (SWIG_arg_fail(2)) SWIG_fail
;
10971 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10972 if (SWIG_arg_fail(3)) SWIG_fail
;
10973 if (arg3
== NULL
) {
10974 SWIG_null_ref("wxTextAttr");
10976 if (SWIG_arg_fail(3)) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10994 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= NULL
;
10996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10997 wxTextAttr
*arg2
= 0 ;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "self",(char *) "style", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11007 if (SWIG_arg_fail(1)) SWIG_fail
;
11009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
11010 if (SWIG_arg_fail(2)) SWIG_fail
;
11011 if (arg2
== NULL
) {
11012 SWIG_null_ref("wxTextAttr");
11014 if (SWIG_arg_fail(2)) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11032 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
= NULL
;
11034 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11035 wxTextAttr
*result
;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
11042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
11048 result
= (wxTextAttr
*) &_result_ref
;
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
11061 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
= NULL
;
11063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 PyObject
* obj2
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self",(char *) "x",(char *) "y", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11076 if (SWIG_arg_fail(1)) SWIG_fail
;
11078 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11079 if (SWIG_arg_fail(2)) SWIG_fail
;
11082 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11083 if (SWIG_arg_fail(3)) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11093 resultobj
= SWIG_From_long(static_cast<long >(result
));
11101 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
= NULL
;
11103 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11105 long *arg3
= (long *) 0 ;
11106 long *arg4
= (long *) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self",(char *) "pos", NULL
11117 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11118 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
11120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail
;
11123 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11124 if (SWIG_arg_fail(2)) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 Py_INCREF(Py_None
); resultobj
= Py_None
;
11134 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11135 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11136 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11137 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11144 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
= NULL
;
11146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 PyObject
* obj1
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self",(char *) "pos", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11156 if (SWIG_arg_fail(1)) SWIG_fail
;
11158 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11159 if (SWIG_arg_fail(2)) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 (arg1
)->ShowPosition(arg2
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
= NULL
;
11177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11178 wxPoint
*arg2
= 0 ;
11179 long *arg3
= (long *) 0 ;
11180 long *arg4
= (long *) 0 ;
11181 wxTextCtrlHitTestResult result
;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self",(char *) "pt", NULL
11193 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11194 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11197 if (SWIG_arg_fail(1)) SWIG_fail
;
11200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 resultobj
= SWIG_From_int((result
));
11210 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11211 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11212 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11213 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11220 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
= NULL
;
11222 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11223 wxPoint
*arg2
= 0 ;
11224 long *arg3
= (long *) 0 ;
11225 wxTextCtrlHitTestResult result
;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self",(char *) "pt", NULL
11235 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail
;
11241 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= SWIG_From_int((result
));
11251 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11252 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11259 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
= NULL
;
11261 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11269 if (SWIG_arg_fail(1)) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 Py_INCREF(Py_None
); resultobj
= Py_None
;
11284 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
= NULL
;
11286 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11287 PyObject
* obj0
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11294 if (SWIG_arg_fail(1)) SWIG_fail
;
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11302 Py_INCREF(Py_None
); resultobj
= Py_None
;
11309 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
= NULL
;
11311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11319 if (SWIG_arg_fail(1)) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
= NULL
;
11336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11345 if (SWIG_arg_fail(1)) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11362 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
= NULL
;
11364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11390 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
= NULL
;
11392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 char *kwnames
[] = {
11396 (char *) "self", NULL
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11401 if (SWIG_arg_fail(1)) SWIG_fail
;
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11418 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
= NULL
;
11420 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 Py_INCREF(Py_None
); resultobj
= Py_None
;
11443 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
= NULL
;
11445 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11446 PyObject
* obj0
= 0 ;
11447 char *kwnames
[] = {
11448 (char *) "self", NULL
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11453 if (SWIG_arg_fail(1)) SWIG_fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11461 Py_INCREF(Py_None
); resultobj
= Py_None
;
11468 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
= NULL
;
11470 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 char *kwnames
[] = {
11474 (char *) "self", NULL
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11479 if (SWIG_arg_fail(1)) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11496 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
= NULL
;
11498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11507 if (SWIG_arg_fail(1)) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11524 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
= NULL
;
11526 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11528 PyObject
* obj0
= 0 ;
11529 PyObject
* obj1
= 0 ;
11530 char *kwnames
[] = {
11531 (char *) "self",(char *) "pos", NULL
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11536 if (SWIG_arg_fail(1)) SWIG_fail
;
11538 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11539 if (SWIG_arg_fail(2)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 (arg1
)->SetInsertionPoint(arg2
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 Py_INCREF(Py_None
); resultobj
= Py_None
;
11555 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
= NULL
;
11557 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11558 PyObject
* obj0
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11565 if (SWIG_arg_fail(1)) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 (arg1
)->SetInsertionPointEnd();
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 Py_INCREF(Py_None
); resultobj
= Py_None
;
11580 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
= NULL
;
11582 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "self", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11591 if (SWIG_arg_fail(1)) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= SWIG_From_long(static_cast<long >(result
));
11608 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
= NULL
;
11610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11612 PyObject
* obj0
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11619 if (SWIG_arg_fail(1)) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= SWIG_From_long(static_cast<long >(result
));
11636 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
= NULL
;
11638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 PyObject
* obj2
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self",(char *) "from",(char *) "to", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11650 if (SWIG_arg_fail(1)) SWIG_fail
;
11652 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11653 if (SWIG_arg_fail(2)) SWIG_fail
;
11656 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11657 if (SWIG_arg_fail(3)) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 (arg1
)->SetSelection(arg2
,arg3
);
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 Py_INCREF(Py_None
); resultobj
= Py_None
;
11673 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
= NULL
;
11675 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11676 PyObject
* obj0
= 0 ;
11677 char *kwnames
[] = {
11678 (char *) "self", NULL
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11683 if (SWIG_arg_fail(1)) SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 (arg1
)->SelectAll();
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 Py_INCREF(Py_None
); resultobj
= Py_None
;
11698 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
= NULL
;
11700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11702 PyObject
* obj0
= 0 ;
11703 PyObject
* obj1
= 0 ;
11704 char *kwnames
[] = {
11705 (char *) "self",(char *) "editable", NULL
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11710 if (SWIG_arg_fail(1)) SWIG_fail
;
11712 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11713 if (SWIG_arg_fail(2)) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 (arg1
)->SetEditable(arg2
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 Py_INCREF(Py_None
); resultobj
= Py_None
;
11729 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
= NULL
;
11731 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11732 bool arg2
= (bool) true ;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self",(char *) "show", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11742 if (SWIG_arg_fail(1)) SWIG_fail
;
11745 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11746 if (SWIG_arg_fail(2)) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11765 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
= NULL
;
11767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11769 PyObject
* obj0
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "self", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11776 if (SWIG_arg_fail(1)) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (bool)(arg1
)->HideNativeCaret();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11793 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
= NULL
;
11795 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11796 wxString
*arg2
= 0 ;
11797 bool temp2
= false ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 char *kwnames
[] = {
11801 (char *) "self",(char *) "text", NULL
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11806 if (SWIG_arg_fail(1)) SWIG_fail
;
11808 arg2
= wxString_in_helper(obj1
);
11809 if (arg2
== NULL
) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 Py_INCREF(Py_None
); resultobj
= Py_None
;
11834 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
= NULL
;
11836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11840 PyObject
* obj0
= 0 ;
11841 PyObject
* obj1
= 0 ;
11842 PyObject
* obj2
= 0 ;
11843 char *kwnames
[] = {
11844 (char *) "self",(char *) "from",(char *) "to", NULL
11847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11849 if (SWIG_arg_fail(1)) SWIG_fail
;
11851 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11852 if (SWIG_arg_fail(2)) SWIG_fail
;
11855 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11856 if (SWIG_arg_fail(3)) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11878 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
= NULL
;
11880 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11881 wxVisualAttributes result
;
11882 PyObject
* obj0
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "variant", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11890 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
11891 if (SWIG_arg_fail(1)) SWIG_fail
;
11895 if (!wxPyCheckForApp()) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 wxVisualAttributes
* resultptr
;
11904 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
11905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11913 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11916 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11918 return Py_BuildValue((char *)"");
11920 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
= NULL
;
11923 wxMouseEvent
*arg2
= 0 ;
11926 wxTextUrlEvent
*result
;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 PyObject
* obj2
= 0 ;
11930 PyObject
* obj3
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11937 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11938 if (SWIG_arg_fail(1)) SWIG_fail
;
11941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11942 if (SWIG_arg_fail(2)) SWIG_fail
;
11943 if (arg2
== NULL
) {
11944 SWIG_null_ref("wxMouseEvent");
11946 if (SWIG_arg_fail(2)) SWIG_fail
;
11949 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11950 if (SWIG_arg_fail(3)) SWIG_fail
;
11953 arg4
= static_cast<long >(SWIG_As_long(obj3
));
11954 if (SWIG_arg_fail(4)) SWIG_fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11970 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
= NULL
;
11972 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11973 wxMouseEvent
*result
;
11974 PyObject
* obj0
= 0 ;
11975 char *kwnames
[] = {
11976 (char *) "self", NULL
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11981 if (SWIG_arg_fail(1)) SWIG_fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11986 result
= (wxMouseEvent
*) &_result_ref
;
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11999 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
= NULL
;
12001 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
12009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
12010 if (SWIG_arg_fail(1)) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= SWIG_From_long(static_cast<long >(result
));
12027 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
= NULL
;
12029 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
12031 PyObject
* obj0
= 0 ;
12032 char *kwnames
[] = {
12033 (char *) "self", NULL
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
12037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
12038 if (SWIG_arg_fail(1)) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_From_long(static_cast<long >(result
));
12055 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
12057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12058 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
12060 return Py_BuildValue((char *)"");
12062 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
12063 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
12068 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
12069 PyObject
*pyobj
= NULL
;
12073 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
12075 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
12082 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
= NULL
;
12084 wxWindow
*arg1
= (wxWindow
*) 0 ;
12085 int arg2
= (int) -1 ;
12086 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12087 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12088 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12089 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12090 long arg5
= (long) wxSB_HORIZONTAL
;
12091 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
12092 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
12093 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
12094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12095 wxScrollBar
*result
;
12098 bool temp7
= false ;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 PyObject
* obj2
= 0 ;
12102 PyObject
* obj3
= 0 ;
12103 PyObject
* obj4
= 0 ;
12104 PyObject
* obj5
= 0 ;
12105 PyObject
* obj6
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12112 if (SWIG_arg_fail(1)) SWIG_fail
;
12115 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12116 if (SWIG_arg_fail(2)) SWIG_fail
;
12122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12128 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12133 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12134 if (SWIG_arg_fail(5)) SWIG_fail
;
12139 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12140 if (SWIG_arg_fail(6)) SWIG_fail
;
12141 if (arg6
== NULL
) {
12142 SWIG_null_ref("wxValidator");
12144 if (SWIG_arg_fail(6)) SWIG_fail
;
12149 arg7
= wxString_in_helper(obj6
);
12150 if (arg7
== NULL
) SWIG_fail
;
12155 if (!wxPyCheckForApp()) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12177 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
= NULL
;
12179 wxScrollBar
*result
;
12180 char *kwnames
[] = {
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12186 if (!wxPyCheckForApp()) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (wxScrollBar
*)new wxScrollBar();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12200 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
= NULL
;
12202 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12203 wxWindow
*arg2
= (wxWindow
*) 0 ;
12204 int arg3
= (int) -1 ;
12205 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12206 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12207 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12208 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12209 long arg6
= (long) wxSB_HORIZONTAL
;
12210 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12211 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12212 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12213 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12217 bool temp8
= false ;
12218 PyObject
* obj0
= 0 ;
12219 PyObject
* obj1
= 0 ;
12220 PyObject
* obj2
= 0 ;
12221 PyObject
* obj3
= 0 ;
12222 PyObject
* obj4
= 0 ;
12223 PyObject
* obj5
= 0 ;
12224 PyObject
* obj6
= 0 ;
12225 PyObject
* obj7
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail
;
12233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12234 if (SWIG_arg_fail(2)) SWIG_fail
;
12237 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12238 if (SWIG_arg_fail(3)) SWIG_fail
;
12244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12255 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12256 if (SWIG_arg_fail(6)) SWIG_fail
;
12261 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12262 if (SWIG_arg_fail(7)) SWIG_fail
;
12263 if (arg7
== NULL
) {
12264 SWIG_null_ref("wxValidator");
12266 if (SWIG_arg_fail(7)) SWIG_fail
;
12271 arg8
= wxString_in_helper(obj7
);
12272 if (arg8
== NULL
) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12300 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
= NULL
;
12302 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12304 PyObject
* obj0
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12311 if (SWIG_arg_fail(1)) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_From_int(static_cast<int >(result
));
12328 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
= NULL
;
12330 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12339 if (SWIG_arg_fail(1)) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= SWIG_From_int(static_cast<int >(result
));
12356 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
= NULL
;
12358 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12367 if (SWIG_arg_fail(1)) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= SWIG_From_int(static_cast<int >(result
));
12384 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
= NULL
;
12386 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12395 if (SWIG_arg_fail(1)) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= SWIG_From_int(static_cast<int >(result
));
12412 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
= NULL
;
12414 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12416 PyObject
* obj0
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12423 if (SWIG_arg_fail(1)) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12440 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
= NULL
;
12442 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self",(char *) "viewStart", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12452 if (SWIG_arg_fail(1)) SWIG_fail
;
12454 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12455 if (SWIG_arg_fail(2)) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 (arg1
)->SetThumbPosition(arg2
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 Py_INCREF(Py_None
); resultobj
= Py_None
;
12471 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
= NULL
;
12473 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12478 bool arg6
= (bool) true ;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 PyObject
* obj2
= 0 ;
12482 PyObject
* obj3
= 0 ;
12483 PyObject
* obj4
= 0 ;
12484 PyObject
* obj5
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail
;
12493 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12494 if (SWIG_arg_fail(2)) SWIG_fail
;
12497 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12498 if (SWIG_arg_fail(3)) SWIG_fail
;
12501 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12502 if (SWIG_arg_fail(4)) SWIG_fail
;
12505 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12506 if (SWIG_arg_fail(5)) SWIG_fail
;
12510 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
12511 if (SWIG_arg_fail(6)) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
= NULL
;
12530 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12531 wxVisualAttributes result
;
12532 PyObject
* obj0
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "variant", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12540 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
12541 if (SWIG_arg_fail(1)) SWIG_fail
;
12545 if (!wxPyCheckForApp()) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12553 wxVisualAttributes
* resultptr
;
12554 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
12555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12563 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12566 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12568 return Py_BuildValue((char *)"");
12570 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12571 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12576 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12577 PyObject
*pyobj
= NULL
;
12581 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12583 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12590 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12591 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12596 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12597 PyObject
*pyobj
= NULL
;
12601 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12603 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12610 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
= NULL
;
12612 wxWindow
*arg1
= (wxWindow
*) 0 ;
12613 int arg2
= (int) -1 ;
12614 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12615 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12616 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12617 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12618 long arg5
= (long) wxSP_HORIZONTAL
;
12619 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12620 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12621 wxSpinButton
*result
;
12624 bool temp6
= false ;
12625 PyObject
* obj0
= 0 ;
12626 PyObject
* obj1
= 0 ;
12627 PyObject
* obj2
= 0 ;
12628 PyObject
* obj3
= 0 ;
12629 PyObject
* obj4
= 0 ;
12630 PyObject
* obj5
= 0 ;
12631 char *kwnames
[] = {
12632 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12637 if (SWIG_arg_fail(1)) SWIG_fail
;
12640 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12641 if (SWIG_arg_fail(2)) SWIG_fail
;
12647 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12653 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12658 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12659 if (SWIG_arg_fail(5)) SWIG_fail
;
12664 arg6
= wxString_in_helper(obj5
);
12665 if (arg6
== NULL
) SWIG_fail
;
12670 if (!wxPyCheckForApp()) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12692 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
= NULL
;
12694 wxSpinButton
*result
;
12695 char *kwnames
[] = {
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12701 if (!wxPyCheckForApp()) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 result
= (wxSpinButton
*)new wxSpinButton();
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12715 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
= NULL
;
12717 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12718 wxWindow
*arg2
= (wxWindow
*) 0 ;
12719 int arg3
= (int) -1 ;
12720 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12721 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12722 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12723 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12724 long arg6
= (long) wxSP_HORIZONTAL
;
12725 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12726 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12730 bool temp7
= false ;
12731 PyObject
* obj0
= 0 ;
12732 PyObject
* obj1
= 0 ;
12733 PyObject
* obj2
= 0 ;
12734 PyObject
* obj3
= 0 ;
12735 PyObject
* obj4
= 0 ;
12736 PyObject
* obj5
= 0 ;
12737 PyObject
* obj6
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail
;
12745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12746 if (SWIG_arg_fail(2)) SWIG_fail
;
12749 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12750 if (SWIG_arg_fail(3)) SWIG_fail
;
12756 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12762 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12767 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12768 if (SWIG_arg_fail(6)) SWIG_fail
;
12773 arg7
= wxString_in_helper(obj6
);
12774 if (arg7
== NULL
) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12802 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
= NULL
;
12804 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12813 if (SWIG_arg_fail(1)) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= SWIG_From_int(static_cast<int >(result
));
12830 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
= NULL
;
12832 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12841 if (SWIG_arg_fail(1)) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_From_int(static_cast<int >(result
));
12858 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= NULL
;
12860 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12869 if (SWIG_arg_fail(1)) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= SWIG_From_int(static_cast<int >(result
));
12886 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
= NULL
;
12888 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self",(char *) "val", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12901 if (SWIG_arg_fail(2)) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 (arg1
)->SetValue(arg2
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 Py_INCREF(Py_None
); resultobj
= Py_None
;
12917 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
= NULL
;
12919 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 char *kwnames
[] = {
12924 (char *) "self",(char *) "minVal", NULL
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12929 if (SWIG_arg_fail(1)) SWIG_fail
;
12931 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12932 if (SWIG_arg_fail(2)) SWIG_fail
;
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 (arg1
)->SetMin(arg2
);
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 Py_INCREF(Py_None
); resultobj
= Py_None
;
12948 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
= NULL
;
12950 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12952 PyObject
* obj0
= 0 ;
12953 PyObject
* obj1
= 0 ;
12954 char *kwnames
[] = {
12955 (char *) "self",(char *) "maxVal", NULL
12958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12960 if (SWIG_arg_fail(1)) SWIG_fail
;
12962 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12963 if (SWIG_arg_fail(2)) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 (arg1
)->SetMax(arg2
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 Py_INCREF(Py_None
); resultobj
= Py_None
;
12979 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
= NULL
;
12981 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 PyObject
* obj2
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12993 if (SWIG_arg_fail(1)) SWIG_fail
;
12995 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12996 if (SWIG_arg_fail(2)) SWIG_fail
;
12999 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13000 if (SWIG_arg_fail(3)) SWIG_fail
;
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 (arg1
)->SetRange(arg2
,arg3
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 Py_INCREF(Py_None
); resultobj
= Py_None
;
13016 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
= NULL
;
13018 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
13026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
13027 if (SWIG_arg_fail(1)) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13044 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
= NULL
;
13046 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13047 wxVisualAttributes result
;
13048 PyObject
* obj0
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "variant", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13056 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13057 if (SWIG_arg_fail(1)) SWIG_fail
;
13061 if (!wxPyCheckForApp()) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13069 wxVisualAttributes
* resultptr
;
13070 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13079 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
13081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13082 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
13084 return Py_BuildValue((char *)"");
13086 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
= NULL
;
13088 wxWindow
*arg1
= (wxWindow
*) 0 ;
13089 int arg2
= (int) -1 ;
13090 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13091 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13092 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13093 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13094 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13095 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13096 long arg6
= (long) wxSP_ARROW_KEYS
;
13097 int arg7
= (int) 0 ;
13098 int arg8
= (int) 100 ;
13099 int arg9
= (int) 0 ;
13100 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
13101 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13102 wxSpinCtrl
*result
;
13103 bool temp3
= false ;
13106 bool temp10
= false ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 PyObject
* obj2
= 0 ;
13110 PyObject
* obj3
= 0 ;
13111 PyObject
* obj4
= 0 ;
13112 PyObject
* obj5
= 0 ;
13113 PyObject
* obj6
= 0 ;
13114 PyObject
* obj7
= 0 ;
13115 PyObject
* obj8
= 0 ;
13116 PyObject
* obj9
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13123 if (SWIG_arg_fail(1)) SWIG_fail
;
13126 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13127 if (SWIG_arg_fail(2)) SWIG_fail
;
13132 arg3
= wxString_in_helper(obj2
);
13133 if (arg3
== NULL
) SWIG_fail
;
13140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13151 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13152 if (SWIG_arg_fail(6)) SWIG_fail
;
13157 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13158 if (SWIG_arg_fail(7)) SWIG_fail
;
13163 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13164 if (SWIG_arg_fail(8)) SWIG_fail
;
13169 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13170 if (SWIG_arg_fail(9)) SWIG_fail
;
13175 arg10
= wxString_in_helper(obj9
);
13176 if (arg10
== NULL
) SWIG_fail
;
13181 if (!wxPyCheckForApp()) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13211 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
= NULL
;
13213 wxSpinCtrl
*result
;
13214 char *kwnames
[] = {
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13220 if (!wxPyCheckForApp()) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13234 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
= NULL
;
13236 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13237 wxWindow
*arg2
= (wxWindow
*) 0 ;
13238 int arg3
= (int) -1 ;
13239 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13240 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13241 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13242 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13243 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13244 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13245 long arg7
= (long) wxSP_ARROW_KEYS
;
13246 int arg8
= (int) 0 ;
13247 int arg9
= (int) 100 ;
13248 int arg10
= (int) 0 ;
13249 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13250 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13252 bool temp4
= false ;
13255 bool temp11
= false ;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 PyObject
* obj2
= 0 ;
13259 PyObject
* obj3
= 0 ;
13260 PyObject
* obj4
= 0 ;
13261 PyObject
* obj5
= 0 ;
13262 PyObject
* obj6
= 0 ;
13263 PyObject
* obj7
= 0 ;
13264 PyObject
* obj8
= 0 ;
13265 PyObject
* obj9
= 0 ;
13266 PyObject
* obj10
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13273 if (SWIG_arg_fail(1)) SWIG_fail
;
13274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13275 if (SWIG_arg_fail(2)) SWIG_fail
;
13278 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13279 if (SWIG_arg_fail(3)) SWIG_fail
;
13284 arg4
= wxString_in_helper(obj3
);
13285 if (arg4
== NULL
) SWIG_fail
;
13292 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13298 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13303 arg7
= static_cast<long >(SWIG_As_long(obj6
));
13304 if (SWIG_arg_fail(7)) SWIG_fail
;
13309 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13310 if (SWIG_arg_fail(8)) SWIG_fail
;
13315 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13316 if (SWIG_arg_fail(9)) SWIG_fail
;
13321 arg10
= static_cast<int >(SWIG_As_int(obj9
));
13322 if (SWIG_arg_fail(10)) SWIG_fail
;
13327 arg11
= wxString_in_helper(obj10
);
13328 if (arg11
== NULL
) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13364 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
= NULL
;
13366 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13375 if (SWIG_arg_fail(1)) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_From_int(static_cast<int >(result
));
13392 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
= NULL
;
13394 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13396 PyObject
* obj0
= 0 ;
13397 PyObject
* obj1
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self",(char *) "value", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13404 if (SWIG_arg_fail(1)) SWIG_fail
;
13406 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13407 if (SWIG_arg_fail(2)) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 (arg1
)->SetValue(arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
= NULL
;
13425 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13426 wxString
*arg2
= 0 ;
13427 bool temp2
= false ;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self",(char *) "text", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13436 if (SWIG_arg_fail(1)) SWIG_fail
;
13438 arg2
= wxString_in_helper(obj1
);
13439 if (arg2
== NULL
) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 (arg1
)->SetValue((wxString
const &)*arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 Py_INCREF(Py_None
); resultobj
= Py_None
;
13464 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
= NULL
;
13466 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 PyObject
* obj1
= 0 ;
13471 PyObject
* obj2
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13478 if (SWIG_arg_fail(1)) SWIG_fail
;
13480 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13481 if (SWIG_arg_fail(2)) SWIG_fail
;
13484 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13485 if (SWIG_arg_fail(3)) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 (arg1
)->SetRange(arg2
,arg3
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 Py_INCREF(Py_None
); resultobj
= Py_None
;
13501 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
= NULL
;
13503 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13512 if (SWIG_arg_fail(1)) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= SWIG_From_int(static_cast<int >(result
));
13529 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
= NULL
;
13531 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13533 PyObject
* obj0
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13540 if (SWIG_arg_fail(1)) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= SWIG_From_int(static_cast<int >(result
));
13557 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
= NULL
;
13559 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13562 PyObject
* obj0
= 0 ;
13563 PyObject
* obj1
= 0 ;
13564 PyObject
* obj2
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self",(char *) "from",(char *) "to", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13571 if (SWIG_arg_fail(1)) SWIG_fail
;
13573 arg2
= static_cast<long >(SWIG_As_long(obj1
));
13574 if (SWIG_arg_fail(2)) SWIG_fail
;
13577 arg3
= static_cast<long >(SWIG_As_long(obj2
));
13578 if (SWIG_arg_fail(3)) SWIG_fail
;
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 (arg1
)->SetSelection(arg2
,arg3
);
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 Py_INCREF(Py_None
); resultobj
= Py_None
;
13594 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
= NULL
;
13596 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13597 wxVisualAttributes result
;
13598 PyObject
* obj0
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "variant", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13606 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13607 if (SWIG_arg_fail(1)) SWIG_fail
;
13611 if (!wxPyCheckForApp()) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13619 wxVisualAttributes
* resultptr
;
13620 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13629 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13632 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13634 return Py_BuildValue((char *)"");
13636 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
= NULL
;
13638 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13639 int arg2
= (int) 0 ;
13640 wxSpinEvent
*result
;
13641 PyObject
* obj0
= 0 ;
13642 PyObject
* obj1
= 0 ;
13643 char *kwnames
[] = {
13644 (char *) "commandType",(char *) "winid", NULL
13647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13651 if (SWIG_arg_fail(1)) SWIG_fail
;
13656 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13657 if (SWIG_arg_fail(2)) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13674 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
= NULL
;
13676 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13678 PyObject
* obj0
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13685 if (SWIG_arg_fail(1)) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_From_int(static_cast<int >(result
));
13702 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
= NULL
;
13704 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self",(char *) "pos", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13714 if (SWIG_arg_fail(1)) SWIG_fail
;
13716 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13717 if (SWIG_arg_fail(2)) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 (arg1
)->SetPosition(arg2
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 Py_INCREF(Py_None
); resultobj
= Py_None
;
13733 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13736 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13738 return Py_BuildValue((char *)"");
13740 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13741 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13746 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13747 PyObject
*pyobj
= NULL
;
13751 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13753 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13760 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13761 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13766 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13767 PyObject
*pyobj
= NULL
;
13771 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13773 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13780 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
= NULL
;
13782 wxWindow
*arg1
= (wxWindow
*) 0 ;
13783 int arg2
= (int) -1 ;
13784 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13785 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13790 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13791 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13792 int arg7
= (int) 0 ;
13793 long arg8
= (long) wxRA_HORIZONTAL
;
13794 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13795 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13796 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13797 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13798 wxRadioBox
*result
;
13799 bool temp3
= false ;
13802 bool temp6
= false ;
13803 bool temp10
= false ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 PyObject
* obj2
= 0 ;
13807 PyObject
* obj3
= 0 ;
13808 PyObject
* obj4
= 0 ;
13809 PyObject
* obj5
= 0 ;
13810 PyObject
* obj6
= 0 ;
13811 PyObject
* obj7
= 0 ;
13812 PyObject
* obj8
= 0 ;
13813 PyObject
* obj9
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13820 if (SWIG_arg_fail(1)) SWIG_fail
;
13823 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13824 if (SWIG_arg_fail(2)) SWIG_fail
;
13829 arg3
= wxString_in_helper(obj2
);
13830 if (arg3
== NULL
) SWIG_fail
;
13837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13848 if (! PySequence_Check(obj5
)) {
13849 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13852 arg6
= new wxArrayString
;
13854 int i
, len
=PySequence_Length(obj5
);
13855 for (i
=0; i
<len
; i
++) {
13856 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13857 wxString
* s
= wxString_in_helper(item
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13867 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13868 if (SWIG_arg_fail(7)) SWIG_fail
;
13873 arg8
= static_cast<long >(SWIG_As_long(obj7
));
13874 if (SWIG_arg_fail(8)) SWIG_fail
;
13879 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13880 if (SWIG_arg_fail(9)) SWIG_fail
;
13881 if (arg9
== NULL
) {
13882 SWIG_null_ref("wxValidator");
13884 if (SWIG_arg_fail(9)) SWIG_fail
;
13889 arg10
= wxString_in_helper(obj9
);
13890 if (arg10
== NULL
) SWIG_fail
;
13895 if (!wxPyCheckForApp()) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 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
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13908 if (temp6
) delete arg6
;
13921 if (temp6
) delete arg6
;
13931 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
= NULL
;
13933 wxRadioBox
*result
;
13934 char *kwnames
[] = {
13938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13940 if (!wxPyCheckForApp()) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (wxRadioBox
*)new wxRadioBox();
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13954 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
= NULL
;
13956 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13957 wxWindow
*arg2
= (wxWindow
*) 0 ;
13958 int arg3
= (int) -1 ;
13959 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13960 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13961 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13962 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13963 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13964 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13965 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13966 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13967 int arg8
= (int) 0 ;
13968 long arg9
= (long) wxRA_HORIZONTAL
;
13969 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13970 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13971 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13972 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13974 bool temp4
= false ;
13977 bool temp7
= false ;
13978 bool temp11
= false ;
13979 PyObject
* obj0
= 0 ;
13980 PyObject
* obj1
= 0 ;
13981 PyObject
* obj2
= 0 ;
13982 PyObject
* obj3
= 0 ;
13983 PyObject
* obj4
= 0 ;
13984 PyObject
* obj5
= 0 ;
13985 PyObject
* obj6
= 0 ;
13986 PyObject
* obj7
= 0 ;
13987 PyObject
* obj8
= 0 ;
13988 PyObject
* obj9
= 0 ;
13989 PyObject
* obj10
= 0 ;
13990 char *kwnames
[] = {
13991 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13996 if (SWIG_arg_fail(1)) SWIG_fail
;
13997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13998 if (SWIG_arg_fail(2)) SWIG_fail
;
14001 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14002 if (SWIG_arg_fail(3)) SWIG_fail
;
14007 arg4
= wxString_in_helper(obj3
);
14008 if (arg4
== NULL
) SWIG_fail
;
14015 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14021 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14026 if (! PySequence_Check(obj6
)) {
14027 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14030 arg7
= new wxArrayString
;
14032 int i
, len
=PySequence_Length(obj6
);
14033 for (i
=0; i
<len
; i
++) {
14034 PyObject
* item
= PySequence_GetItem(obj6
, i
);
14035 wxString
* s
= wxString_in_helper(item
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14045 arg8
= static_cast<int >(SWIG_As_int(obj7
));
14046 if (SWIG_arg_fail(8)) SWIG_fail
;
14051 arg9
= static_cast<long >(SWIG_As_long(obj8
));
14052 if (SWIG_arg_fail(9)) SWIG_fail
;
14057 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14058 if (SWIG_arg_fail(10)) SWIG_fail
;
14059 if (arg10
== NULL
) {
14060 SWIG_null_ref("wxValidator");
14062 if (SWIG_arg_fail(10)) SWIG_fail
;
14067 arg11
= wxString_in_helper(obj10
);
14068 if (arg11
== NULL
) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 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
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14087 if (temp7
) delete arg7
;
14100 if (temp7
) delete arg7
;
14110 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
= NULL
;
14112 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 PyObject
* obj1
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self",(char *) "n", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14122 if (SWIG_arg_fail(1)) SWIG_fail
;
14124 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14125 if (SWIG_arg_fail(2)) SWIG_fail
;
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 (arg1
)->SetSelection(arg2
);
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14134 Py_INCREF(Py_None
); resultobj
= Py_None
;
14141 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
= NULL
;
14143 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14145 PyObject
* obj0
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "self", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
14151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14152 if (SWIG_arg_fail(1)) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= SWIG_From_int(static_cast<int >(result
));
14169 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
= NULL
;
14171 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14173 PyObject
* obj0
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14180 if (SWIG_arg_fail(1)) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14201 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
= NULL
;
14203 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14204 wxString
*arg2
= 0 ;
14206 bool temp2
= false ;
14207 PyObject
* obj0
= 0 ;
14208 PyObject
* obj1
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "self",(char *) "s", NULL
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14215 if (SWIG_arg_fail(1)) SWIG_fail
;
14217 arg2
= wxString_in_helper(obj1
);
14218 if (arg2
== NULL
) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14245 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
= NULL
;
14247 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14249 PyObject
* obj0
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "self", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14256 if (SWIG_arg_fail(1)) SWIG_fail
;
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= SWIG_From_int(static_cast<int >(result
));
14273 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
= NULL
;
14275 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14276 wxString
*arg2
= 0 ;
14278 bool temp2
= false ;
14279 PyObject
* obj0
= 0 ;
14280 PyObject
* obj1
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self",(char *) "s", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) 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
= wxString_in_helper(obj1
);
14290 if (arg2
== NULL
) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_From_int(static_cast<int >(result
));
14317 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
= NULL
;
14319 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self",(char *) "n", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14330 if (SWIG_arg_fail(1)) SWIG_fail
;
14332 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14333 if (SWIG_arg_fail(2)) SWIG_fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14339 wxPyEndAllowThreads(__tstate
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14355 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
= NULL
;
14357 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14359 wxString
*arg3
= 0 ;
14360 bool temp3
= false ;
14361 PyObject
* obj0
= 0 ;
14362 PyObject
* obj1
= 0 ;
14363 PyObject
* obj2
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self",(char *) "n",(char *) "label", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14370 if (SWIG_arg_fail(1)) SWIG_fail
;
14372 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14373 if (SWIG_arg_fail(2)) SWIG_fail
;
14376 arg3
= wxString_in_helper(obj2
);
14377 if (arg3
== NULL
) SWIG_fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 Py_INCREF(Py_None
); resultobj
= Py_None
;
14402 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
= NULL
;
14404 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14406 bool arg3
= (bool) true ;
14407 PyObject
* obj0
= 0 ;
14408 PyObject
* obj1
= 0 ;
14409 PyObject
* obj2
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self",(char *) "n",(char *) "enable", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail
;
14418 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14419 if (SWIG_arg_fail(2)) SWIG_fail
;
14423 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14424 if (SWIG_arg_fail(3)) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 (arg1
)->Enable(arg2
,arg3
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 Py_INCREF(Py_None
); resultobj
= Py_None
;
14441 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
= NULL
;
14443 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14445 bool arg3
= (bool) true ;
14446 PyObject
* obj0
= 0 ;
14447 PyObject
* obj1
= 0 ;
14448 PyObject
* obj2
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self",(char *) "n",(char *) "show", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14455 if (SWIG_arg_fail(1)) SWIG_fail
;
14457 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14458 if (SWIG_arg_fail(2)) SWIG_fail
;
14462 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14463 if (SWIG_arg_fail(3)) SWIG_fail
;
14467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14468 (arg1
)->Show(arg2
,arg3
);
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 Py_INCREF(Py_None
); resultobj
= Py_None
;
14480 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
= NULL
;
14482 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14484 PyObject
* obj0
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14491 if (SWIG_arg_fail(1)) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_From_int(static_cast<int >(result
));
14508 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
= NULL
;
14510 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "self", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14519 if (SWIG_arg_fail(1)) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= SWIG_From_int(static_cast<int >(result
));
14536 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
= NULL
;
14538 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 PyObject
* obj2
= 0 ;
14546 PyObject
* obj3
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail
;
14555 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14556 if (SWIG_arg_fail(2)) SWIG_fail
;
14559 arg3
= static_cast<wxDirection
>(SWIG_As_int(obj2
));
14560 if (SWIG_arg_fail(3)) SWIG_fail
;
14563 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14564 if (SWIG_arg_fail(4)) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= SWIG_From_int(static_cast<int >(result
));
14582 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
= NULL
;
14584 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14585 wxVisualAttributes result
;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "variant", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14594 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14595 if (SWIG_arg_fail(1)) SWIG_fail
;
14599 if (!wxPyCheckForApp()) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14607 wxVisualAttributes
* resultptr
;
14608 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14617 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14620 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14622 return Py_BuildValue((char *)"");
14624 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
= NULL
;
14626 wxWindow
*arg1
= (wxWindow
*) 0 ;
14627 int arg2
= (int) -1 ;
14628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14634 long arg6
= (long) 0 ;
14635 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14636 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14637 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14638 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14639 wxRadioButton
*result
;
14640 bool temp3
= false ;
14643 bool temp8
= false ;
14644 PyObject
* obj0
= 0 ;
14645 PyObject
* obj1
= 0 ;
14646 PyObject
* obj2
= 0 ;
14647 PyObject
* obj3
= 0 ;
14648 PyObject
* obj4
= 0 ;
14649 PyObject
* obj5
= 0 ;
14650 PyObject
* obj6
= 0 ;
14651 PyObject
* obj7
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14658 if (SWIG_arg_fail(1)) SWIG_fail
;
14661 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14662 if (SWIG_arg_fail(2)) SWIG_fail
;
14667 arg3
= wxString_in_helper(obj2
);
14668 if (arg3
== NULL
) SWIG_fail
;
14675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14686 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14687 if (SWIG_arg_fail(6)) SWIG_fail
;
14692 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14693 if (SWIG_arg_fail(7)) SWIG_fail
;
14694 if (arg7
== NULL
) {
14695 SWIG_null_ref("wxValidator");
14697 if (SWIG_arg_fail(7)) SWIG_fail
;
14702 arg8
= wxString_in_helper(obj7
);
14703 if (arg8
== NULL
) SWIG_fail
;
14708 if (!wxPyCheckForApp()) SWIG_fail
;
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14738 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
= NULL
;
14740 wxRadioButton
*result
;
14741 char *kwnames
[] = {
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14747 if (!wxPyCheckForApp()) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (wxRadioButton
*)new wxRadioButton();
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14761 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
= NULL
;
14763 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14764 wxWindow
*arg2
= (wxWindow
*) 0 ;
14765 int arg3
= (int) -1 ;
14766 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14767 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14768 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14769 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14770 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14771 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14772 long arg7
= (long) 0 ;
14773 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14774 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14775 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14776 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14778 bool temp4
= false ;
14781 bool temp9
= false ;
14782 PyObject
* obj0
= 0 ;
14783 PyObject
* obj1
= 0 ;
14784 PyObject
* obj2
= 0 ;
14785 PyObject
* obj3
= 0 ;
14786 PyObject
* obj4
= 0 ;
14787 PyObject
* obj5
= 0 ;
14788 PyObject
* obj6
= 0 ;
14789 PyObject
* obj7
= 0 ;
14790 PyObject
* obj8
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14797 if (SWIG_arg_fail(1)) SWIG_fail
;
14798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14799 if (SWIG_arg_fail(2)) SWIG_fail
;
14802 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14803 if (SWIG_arg_fail(3)) SWIG_fail
;
14808 arg4
= wxString_in_helper(obj3
);
14809 if (arg4
== NULL
) SWIG_fail
;
14816 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14822 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14827 arg7
= static_cast<long >(SWIG_As_long(obj6
));
14828 if (SWIG_arg_fail(7)) SWIG_fail
;
14833 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14834 if (SWIG_arg_fail(8)) SWIG_fail
;
14835 if (arg8
== NULL
) {
14836 SWIG_null_ref("wxValidator");
14838 if (SWIG_arg_fail(8)) SWIG_fail
;
14843 arg9
= wxString_in_helper(obj8
);
14844 if (arg9
== NULL
) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14880 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
= NULL
;
14882 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14884 PyObject
* obj0
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14891 if (SWIG_arg_fail(1)) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (bool)(arg1
)->GetValue();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14908 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
= NULL
;
14910 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 PyObject
* obj1
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self",(char *) "value", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14920 if (SWIG_arg_fail(1)) SWIG_fail
;
14922 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14923 if (SWIG_arg_fail(2)) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 (arg1
)->SetValue(arg2
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 Py_INCREF(Py_None
); resultobj
= Py_None
;
14939 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
= NULL
;
14941 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14942 wxVisualAttributes result
;
14943 PyObject
* obj0
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "variant", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14951 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14952 if (SWIG_arg_fail(1)) SWIG_fail
;
14956 if (!wxPyCheckForApp()) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14964 wxVisualAttributes
* resultptr
;
14965 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14974 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14977 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14979 return Py_BuildValue((char *)"");
14981 static int _wrap_SliderNameStr_set(PyObject
*) {
14982 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14987 static PyObject
*_wrap_SliderNameStr_get(void) {
14988 PyObject
*pyobj
= NULL
;
14992 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14994 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
15001 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
= NULL
;
15003 wxWindow
*arg1
= (wxWindow
*) 0 ;
15004 int arg2
= (int) -1 ;
15005 int arg3
= (int) 0 ;
15006 int arg4
= (int) 0 ;
15007 int arg5
= (int) 100 ;
15008 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15009 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15010 wxSize
const &arg7_defvalue
= wxDefaultSize
;
15011 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
15012 long arg8
= (long) wxSL_HORIZONTAL
;
15013 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15014 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15015 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
15016 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15020 bool temp10
= false ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 PyObject
* obj2
= 0 ;
15024 PyObject
* obj3
= 0 ;
15025 PyObject
* obj4
= 0 ;
15026 PyObject
* obj5
= 0 ;
15027 PyObject
* obj6
= 0 ;
15028 PyObject
* obj7
= 0 ;
15029 PyObject
* obj8
= 0 ;
15030 PyObject
* obj9
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15037 if (SWIG_arg_fail(1)) SWIG_fail
;
15040 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15041 if (SWIG_arg_fail(2)) SWIG_fail
;
15046 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15047 if (SWIG_arg_fail(3)) SWIG_fail
;
15052 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15053 if (SWIG_arg_fail(4)) SWIG_fail
;
15058 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15059 if (SWIG_arg_fail(5)) SWIG_fail
;
15065 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15071 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
15076 arg8
= static_cast<long >(SWIG_As_long(obj7
));
15077 if (SWIG_arg_fail(8)) SWIG_fail
;
15082 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15083 if (SWIG_arg_fail(9)) SWIG_fail
;
15084 if (arg9
== NULL
) {
15085 SWIG_null_ref("wxValidator");
15087 if (SWIG_arg_fail(9)) SWIG_fail
;
15092 arg10
= wxString_in_helper(obj9
);
15093 if (arg10
== NULL
) SWIG_fail
;
15098 if (!wxPyCheckForApp()) SWIG_fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15120 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
= NULL
;
15123 char *kwnames
[] = {
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
15129 if (!wxPyCheckForApp()) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (wxSlider
*)new wxSlider();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15143 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
= NULL
;
15145 wxSlider
*arg1
= (wxSlider
*) 0 ;
15146 wxWindow
*arg2
= (wxWindow
*) 0 ;
15147 int arg3
= (int) -1 ;
15148 int arg4
= (int) 0 ;
15149 int arg5
= (int) 0 ;
15150 int arg6
= (int) 100 ;
15151 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15152 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15153 wxSize
const &arg8_defvalue
= wxDefaultSize
;
15154 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
15155 long arg9
= (long) wxSL_HORIZONTAL
;
15156 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15157 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15158 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
15159 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15163 bool temp11
= false ;
15164 PyObject
* obj0
= 0 ;
15165 PyObject
* obj1
= 0 ;
15166 PyObject
* obj2
= 0 ;
15167 PyObject
* obj3
= 0 ;
15168 PyObject
* obj4
= 0 ;
15169 PyObject
* obj5
= 0 ;
15170 PyObject
* obj6
= 0 ;
15171 PyObject
* obj7
= 0 ;
15172 PyObject
* obj8
= 0 ;
15173 PyObject
* obj9
= 0 ;
15174 PyObject
* obj10
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail
;
15182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15183 if (SWIG_arg_fail(2)) SWIG_fail
;
15186 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15187 if (SWIG_arg_fail(3)) SWIG_fail
;
15192 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15193 if (SWIG_arg_fail(4)) SWIG_fail
;
15198 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15199 if (SWIG_arg_fail(5)) SWIG_fail
;
15204 arg6
= static_cast<int >(SWIG_As_int(obj5
));
15205 if (SWIG_arg_fail(6)) SWIG_fail
;
15211 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15217 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15222 arg9
= static_cast<long >(SWIG_As_long(obj8
));
15223 if (SWIG_arg_fail(9)) SWIG_fail
;
15228 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15229 if (SWIG_arg_fail(10)) SWIG_fail
;
15230 if (arg10
== NULL
) {
15231 SWIG_null_ref("wxValidator");
15233 if (SWIG_arg_fail(10)) SWIG_fail
;
15238 arg11
= wxString_in_helper(obj10
);
15239 if (arg11
== NULL
) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15267 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
= NULL
;
15269 wxSlider
*arg1
= (wxSlider
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15278 if (SWIG_arg_fail(1)) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= SWIG_From_int(static_cast<int >(result
));
15295 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
= NULL
;
15297 wxSlider
*arg1
= (wxSlider
*) 0 ;
15299 PyObject
* obj0
= 0 ;
15300 PyObject
* obj1
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self",(char *) "value", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15307 if (SWIG_arg_fail(1)) SWIG_fail
;
15309 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15310 if (SWIG_arg_fail(2)) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->SetValue(arg2
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 Py_INCREF(Py_None
); resultobj
= Py_None
;
15326 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
= NULL
;
15328 wxSlider
*arg1
= (wxSlider
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 PyObject
* obj2
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15340 if (SWIG_arg_fail(1)) SWIG_fail
;
15342 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15343 if (SWIG_arg_fail(2)) SWIG_fail
;
15346 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15347 if (SWIG_arg_fail(3)) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 (arg1
)->SetRange(arg2
,arg3
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 Py_INCREF(Py_None
); resultobj
= Py_None
;
15363 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
= NULL
;
15365 wxSlider
*arg1
= (wxSlider
*) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15374 if (SWIG_arg_fail(1)) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= SWIG_From_int(static_cast<int >(result
));
15391 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
= NULL
;
15393 wxSlider
*arg1
= (wxSlider
*) 0 ;
15395 PyObject
* obj0
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= SWIG_From_int(static_cast<int >(result
));
15419 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
= NULL
;
15421 wxSlider
*arg1
= (wxSlider
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self",(char *) "minValue", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail
;
15433 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15434 if (SWIG_arg_fail(2)) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 (arg1
)->SetMin(arg2
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 Py_INCREF(Py_None
); resultobj
= Py_None
;
15450 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
= NULL
;
15452 wxSlider
*arg1
= (wxSlider
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "maxValue", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail
;
15464 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15465 if (SWIG_arg_fail(2)) SWIG_fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 (arg1
)->SetMax(arg2
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 Py_INCREF(Py_None
); resultobj
= Py_None
;
15481 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
= NULL
;
15483 wxSlider
*arg1
= (wxSlider
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 PyObject
* obj1
= 0 ;
15487 char *kwnames
[] = {
15488 (char *) "self",(char *) "lineSize", NULL
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15493 if (SWIG_arg_fail(1)) SWIG_fail
;
15495 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15496 if (SWIG_arg_fail(2)) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 (arg1
)->SetLineSize(arg2
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 Py_INCREF(Py_None
); resultobj
= Py_None
;
15512 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
= NULL
;
15514 wxSlider
*arg1
= (wxSlider
*) 0 ;
15516 PyObject
* obj0
= 0 ;
15517 PyObject
* obj1
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self",(char *) "pageSize", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15524 if (SWIG_arg_fail(1)) SWIG_fail
;
15526 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15527 if (SWIG_arg_fail(2)) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 (arg1
)->SetPageSize(arg2
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 Py_INCREF(Py_None
); resultobj
= Py_None
;
15543 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
= NULL
;
15545 wxSlider
*arg1
= (wxSlider
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15554 if (SWIG_arg_fail(1)) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= SWIG_From_int(static_cast<int >(result
));
15571 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
= NULL
;
15573 wxSlider
*arg1
= (wxSlider
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15582 if (SWIG_arg_fail(1)) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_From_int(static_cast<int >(result
));
15599 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
= NULL
;
15601 wxSlider
*arg1
= (wxSlider
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self",(char *) "lenPixels", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15611 if (SWIG_arg_fail(1)) SWIG_fail
;
15613 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15614 if (SWIG_arg_fail(2)) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 (arg1
)->SetThumbLength(arg2
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 Py_INCREF(Py_None
); resultobj
= Py_None
;
15630 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
= NULL
;
15632 wxSlider
*arg1
= (wxSlider
*) 0 ;
15634 PyObject
* obj0
= 0 ;
15635 char *kwnames
[] = {
15636 (char *) "self", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15641 if (SWIG_arg_fail(1)) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= SWIG_From_int(static_cast<int >(result
));
15658 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
= NULL
;
15660 wxSlider
*arg1
= (wxSlider
*) 0 ;
15662 int arg3
= (int) 1 ;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 PyObject
* obj2
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self",(char *) "n",(char *) "pos", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15672 if (SWIG_arg_fail(1)) SWIG_fail
;
15674 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15675 if (SWIG_arg_fail(2)) SWIG_fail
;
15679 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15680 if (SWIG_arg_fail(3)) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 (arg1
)->SetTickFreq(arg2
,arg3
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 Py_INCREF(Py_None
); resultobj
= Py_None
;
15697 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
= NULL
;
15699 wxSlider
*arg1
= (wxSlider
*) 0 ;
15701 PyObject
* obj0
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15708 if (SWIG_arg_fail(1)) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_From_int(static_cast<int >(result
));
15725 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
= NULL
;
15727 wxSlider
*arg1
= (wxSlider
*) 0 ;
15728 PyObject
* obj0
= 0 ;
15729 char *kwnames
[] = {
15730 (char *) "self", NULL
15733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15735 if (SWIG_arg_fail(1)) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 (arg1
)->ClearTicks();
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 Py_INCREF(Py_None
); resultobj
= Py_None
;
15750 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
= NULL
;
15752 wxSlider
*arg1
= (wxSlider
*) 0 ;
15754 PyObject
* obj0
= 0 ;
15755 PyObject
* obj1
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self",(char *) "tickPos", NULL
15760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15762 if (SWIG_arg_fail(1)) SWIG_fail
;
15764 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15765 if (SWIG_arg_fail(2)) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 (arg1
)->SetTick(arg2
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 Py_INCREF(Py_None
); resultobj
= Py_None
;
15781 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
= NULL
;
15783 wxSlider
*arg1
= (wxSlider
*) 0 ;
15784 PyObject
* obj0
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "self", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15791 if (SWIG_arg_fail(1)) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 (arg1
)->ClearSel();
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 Py_INCREF(Py_None
); resultobj
= Py_None
;
15806 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
= NULL
;
15808 wxSlider
*arg1
= (wxSlider
*) 0 ;
15810 PyObject
* obj0
= 0 ;
15811 char *kwnames
[] = {
15812 (char *) "self", NULL
15815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15817 if (SWIG_arg_fail(1)) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= SWIG_From_int(static_cast<int >(result
));
15834 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
= NULL
;
15836 wxSlider
*arg1
= (wxSlider
*) 0 ;
15838 PyObject
* obj0
= 0 ;
15839 char *kwnames
[] = {
15840 (char *) "self", NULL
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15845 if (SWIG_arg_fail(1)) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_From_int(static_cast<int >(result
));
15862 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
= NULL
;
15864 wxSlider
*arg1
= (wxSlider
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 PyObject
* obj2
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self",(char *) "min",(char *) "max", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15876 if (SWIG_arg_fail(1)) SWIG_fail
;
15878 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15879 if (SWIG_arg_fail(2)) SWIG_fail
;
15882 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15883 if (SWIG_arg_fail(3)) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 (arg1
)->SetSelection(arg2
,arg3
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 Py_INCREF(Py_None
); resultobj
= Py_None
;
15899 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
= NULL
;
15901 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15902 wxVisualAttributes result
;
15903 PyObject
* obj0
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "variant", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15911 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
15912 if (SWIG_arg_fail(1)) SWIG_fail
;
15916 if (!wxPyCheckForApp()) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= wxSlider::GetClassDefaultAttributes(arg1
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15924 wxVisualAttributes
* resultptr
;
15925 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
15926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15934 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15937 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15939 return Py_BuildValue((char *)"");
15941 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15942 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15947 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15948 PyObject
*pyobj
= NULL
;
15952 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15954 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15961 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
= NULL
;
15963 wxWindow
*arg1
= (wxWindow
*) 0 ;
15964 int arg2
= (int) -1 ;
15965 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15966 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15969 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15970 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15971 long arg6
= (long) 0 ;
15972 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15973 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15974 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15975 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15976 wxToggleButton
*result
;
15977 bool temp3
= false ;
15980 bool temp8
= false ;
15981 PyObject
* obj0
= 0 ;
15982 PyObject
* obj1
= 0 ;
15983 PyObject
* obj2
= 0 ;
15984 PyObject
* obj3
= 0 ;
15985 PyObject
* obj4
= 0 ;
15986 PyObject
* obj5
= 0 ;
15987 PyObject
* obj6
= 0 ;
15988 PyObject
* obj7
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15995 if (SWIG_arg_fail(1)) SWIG_fail
;
15998 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15999 if (SWIG_arg_fail(2)) SWIG_fail
;
16004 arg3
= wxString_in_helper(obj2
);
16005 if (arg3
== NULL
) SWIG_fail
;
16012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16023 arg6
= static_cast<long >(SWIG_As_long(obj5
));
16024 if (SWIG_arg_fail(6)) SWIG_fail
;
16029 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16030 if (SWIG_arg_fail(7)) SWIG_fail
;
16031 if (arg7
== NULL
) {
16032 SWIG_null_ref("wxValidator");
16034 if (SWIG_arg_fail(7)) SWIG_fail
;
16039 arg8
= wxString_in_helper(obj7
);
16040 if (arg8
== NULL
) SWIG_fail
;
16045 if (!wxPyCheckForApp()) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
16075 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
= NULL
;
16077 wxToggleButton
*result
;
16078 char *kwnames
[] = {
16082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
16084 if (!wxPyCheckForApp()) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (wxToggleButton
*)new wxToggleButton();
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
16098 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
= NULL
;
16100 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16101 wxWindow
*arg2
= (wxWindow
*) 0 ;
16102 int arg3
= (int) -1 ;
16103 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16104 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16105 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16106 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16107 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16108 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16109 long arg7
= (long) 0 ;
16110 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16111 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16112 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
16113 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16115 bool temp4
= false ;
16118 bool temp9
= false ;
16119 PyObject
* obj0
= 0 ;
16120 PyObject
* obj1
= 0 ;
16121 PyObject
* obj2
= 0 ;
16122 PyObject
* obj3
= 0 ;
16123 PyObject
* obj4
= 0 ;
16124 PyObject
* obj5
= 0 ;
16125 PyObject
* obj6
= 0 ;
16126 PyObject
* obj7
= 0 ;
16127 PyObject
* obj8
= 0 ;
16128 char *kwnames
[] = {
16129 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16134 if (SWIG_arg_fail(1)) SWIG_fail
;
16135 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16136 if (SWIG_arg_fail(2)) SWIG_fail
;
16139 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16140 if (SWIG_arg_fail(3)) SWIG_fail
;
16145 arg4
= wxString_in_helper(obj3
);
16146 if (arg4
== NULL
) SWIG_fail
;
16153 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16159 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16164 arg7
= static_cast<long >(SWIG_As_long(obj6
));
16165 if (SWIG_arg_fail(7)) SWIG_fail
;
16170 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16171 if (SWIG_arg_fail(8)) SWIG_fail
;
16172 if (arg8
== NULL
) {
16173 SWIG_null_ref("wxValidator");
16175 if (SWIG_arg_fail(8)) SWIG_fail
;
16180 arg9
= wxString_in_helper(obj8
);
16181 if (arg9
== NULL
) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16217 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
= NULL
;
16219 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16221 PyObject
* obj0
= 0 ;
16222 PyObject
* obj1
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self",(char *) "value", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16229 if (SWIG_arg_fail(1)) SWIG_fail
;
16231 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16232 if (SWIG_arg_fail(2)) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 (arg1
)->SetValue(arg2
);
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 Py_INCREF(Py_None
); resultobj
= Py_None
;
16248 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
= NULL
;
16250 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16252 PyObject
* obj0
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "self", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16259 if (SWIG_arg_fail(1)) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16276 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
= NULL
;
16278 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16279 wxString
*arg2
= 0 ;
16280 bool temp2
= false ;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self",(char *) "label", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail
;
16291 arg2
= wxString_in_helper(obj1
);
16292 if (arg2
== NULL
) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 (arg1
)->SetLabel((wxString
const &)*arg2
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 Py_INCREF(Py_None
); resultobj
= Py_None
;
16317 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
= NULL
;
16319 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16320 wxVisualAttributes result
;
16321 PyObject
* obj0
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "variant", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16329 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16330 if (SWIG_arg_fail(1)) SWIG_fail
;
16334 if (!wxPyCheckForApp()) SWIG_fail
;
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
16338 wxPyEndAllowThreads(__tstate
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16342 wxVisualAttributes
* resultptr
;
16343 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
16344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16352 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16355 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16357 return Py_BuildValue((char *)"");
16359 static int _wrap_NotebookNameStr_set(PyObject
*) {
16360 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16365 static PyObject
*_wrap_NotebookNameStr_get(void) {
16366 PyObject
*pyobj
= NULL
;
16370 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16372 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16379 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
= NULL
;
16381 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16390 if (SWIG_arg_fail(1)) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
16407 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
= NULL
;
16409 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 PyObject
* obj1
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "n", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16420 if (SWIG_arg_fail(1)) SWIG_fail
;
16422 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16423 if (SWIG_arg_fail(2)) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= wxPyMake_wxObject(result
, 0);
16441 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
= NULL
;
16443 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16445 PyObject
* obj0
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16452 if (SWIG_arg_fail(1)) SWIG_fail
;
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16461 resultobj
= wxPyMake_wxObject(result
, 0);
16469 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
= NULL
;
16471 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16480 if (SWIG_arg_fail(1)) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= SWIG_From_int(static_cast<int >(result
));
16497 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
= NULL
;
16499 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16501 wxString
*arg3
= 0 ;
16503 bool temp3
= false ;
16504 PyObject
* obj0
= 0 ;
16505 PyObject
* obj1
= 0 ;
16506 PyObject
* obj2
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self",(char *) "n",(char *) "strText", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16513 if (SWIG_arg_fail(1)) SWIG_fail
;
16515 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16516 if (SWIG_arg_fail(2)) SWIG_fail
;
16519 arg3
= wxString_in_helper(obj2
);
16520 if (arg3
== NULL
) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
= NULL
;
16549 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self",(char *) "n", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16560 if (SWIG_arg_fail(1)) SWIG_fail
;
16562 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16563 if (SWIG_arg_fail(2)) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16585 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
= NULL
;
16587 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16588 wxImageList
*arg2
= (wxImageList
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self",(char *) "imageList", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail
;
16598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16599 if (SWIG_arg_fail(2)) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 (arg1
)->SetImageList(arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 Py_INCREF(Py_None
); resultobj
= Py_None
;
16614 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
= NULL
;
16616 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16617 wxImageList
*arg2
= (wxImageList
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self",(char *) "imageList", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16626 if (SWIG_arg_fail(1)) SWIG_fail
;
16627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16628 if (SWIG_arg_fail(2)) SWIG_fail
;
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 (arg1
)->AssignImageList(arg2
);
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16636 Py_INCREF(Py_None
); resultobj
= Py_None
;
16643 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
= NULL
;
16645 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16646 wxImageList
*result
;
16647 PyObject
* obj0
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "self", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16654 if (SWIG_arg_fail(1)) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16663 resultobj
= wxPyMake_wxObject(result
, 0);
16671 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
= NULL
;
16673 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self",(char *) "n", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16684 if (SWIG_arg_fail(1)) SWIG_fail
;
16686 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16687 if (SWIG_arg_fail(2)) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= SWIG_From_int(static_cast<int >(result
));
16705 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
= NULL
;
16707 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 PyObject
* obj1
= 0 ;
16713 PyObject
* obj2
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self",(char *) "n",(char *) "imageId", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16720 if (SWIG_arg_fail(1)) SWIG_fail
;
16722 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16723 if (SWIG_arg_fail(2)) SWIG_fail
;
16726 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16727 if (SWIG_arg_fail(3)) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16745 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
= NULL
;
16747 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self",(char *) "size", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16758 if (SWIG_arg_fail(1)) SWIG_fail
;
16761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16770 Py_INCREF(Py_None
); resultobj
= Py_None
;
16777 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
= NULL
;
16779 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self",(char *) "sizePage", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail
;
16794 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16804 wxSize
* resultptr
;
16805 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16814 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
= NULL
;
16816 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 PyObject
* obj1
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self",(char *) "n", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16827 if (SWIG_arg_fail(1)) SWIG_fail
;
16829 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16830 if (SWIG_arg_fail(2)) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= (bool)(arg1
)->DeletePage(arg2
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16848 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
= NULL
;
16850 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "self",(char *) "n", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16861 if (SWIG_arg_fail(1)) SWIG_fail
;
16863 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16864 if (SWIG_arg_fail(2)) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (bool)(arg1
)->RemovePage(arg2
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16882 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
= NULL
;
16884 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16893 if (SWIG_arg_fail(1)) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (bool)(arg1
)->DeleteAllPages();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16910 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= NULL
;
16912 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16913 wxWindow
*arg2
= (wxWindow
*) 0 ;
16914 wxString
*arg3
= 0 ;
16915 bool arg4
= (bool) false ;
16916 int arg5
= (int) -1 ;
16918 bool temp3
= false ;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 PyObject
* obj2
= 0 ;
16922 PyObject
* obj3
= 0 ;
16923 PyObject
* obj4
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16930 if (SWIG_arg_fail(1)) SWIG_fail
;
16931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16932 if (SWIG_arg_fail(2)) SWIG_fail
;
16934 arg3
= wxString_in_helper(obj2
);
16935 if (arg3
== NULL
) SWIG_fail
;
16940 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
16941 if (SWIG_arg_fail(4)) SWIG_fail
;
16946 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16947 if (SWIG_arg_fail(5)) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16974 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
= NULL
;
16976 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16978 wxWindow
*arg3
= (wxWindow
*) 0 ;
16979 wxString
*arg4
= 0 ;
16980 bool arg5
= (bool) false ;
16981 int arg6
= (int) -1 ;
16983 bool temp4
= false ;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 PyObject
* obj2
= 0 ;
16987 PyObject
* obj3
= 0 ;
16988 PyObject
* obj4
= 0 ;
16989 PyObject
* obj5
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16996 if (SWIG_arg_fail(1)) SWIG_fail
;
16998 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16999 if (SWIG_arg_fail(2)) SWIG_fail
;
17001 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17002 if (SWIG_arg_fail(3)) SWIG_fail
;
17004 arg4
= wxString_in_helper(obj3
);
17005 if (arg4
== NULL
) SWIG_fail
;
17010 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
17011 if (SWIG_arg_fail(5)) SWIG_fail
;
17016 arg6
= static_cast<int >(SWIG_As_int(obj5
));
17017 if (SWIG_arg_fail(6)) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17044 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
= NULL
;
17046 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17049 PyObject
* obj0
= 0 ;
17050 PyObject
* obj1
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self",(char *) "n", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17057 if (SWIG_arg_fail(1)) SWIG_fail
;
17059 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17060 if (SWIG_arg_fail(2)) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (int)(arg1
)->SetSelection(arg2
);
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= SWIG_From_int(static_cast<int >(result
));
17078 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
= NULL
;
17080 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17081 bool arg2
= (bool) true ;
17082 PyObject
* obj0
= 0 ;
17083 PyObject
* obj1
= 0 ;
17084 char *kwnames
[] = {
17085 (char *) "self",(char *) "forward", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17090 if (SWIG_arg_fail(1)) SWIG_fail
;
17093 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17094 if (SWIG_arg_fail(2)) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 (arg1
)->AdvanceSelection(arg2
);
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 Py_INCREF(Py_None
); resultobj
= Py_None
;
17111 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
= NULL
;
17113 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17114 wxVisualAttributes result
;
17115 PyObject
* obj0
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "variant", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17123 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17124 if (SWIG_arg_fail(1)) SWIG_fail
;
17128 if (!wxPyCheckForApp()) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17136 wxVisualAttributes
* resultptr
;
17137 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17146 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
17148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17149 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
17151 return Py_BuildValue((char *)"");
17153 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
= NULL
;
17155 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17156 int arg2
= (int) 0 ;
17157 int arg3
= (int) -1 ;
17158 int arg4
= (int) -1 ;
17159 wxBookCtrlBaseEvent
*result
;
17160 PyObject
* obj0
= 0 ;
17161 PyObject
* obj1
= 0 ;
17162 PyObject
* obj2
= 0 ;
17163 PyObject
* obj3
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17171 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17172 if (SWIG_arg_fail(1)) SWIG_fail
;
17177 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17178 if (SWIG_arg_fail(2)) SWIG_fail
;
17183 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17184 if (SWIG_arg_fail(3)) SWIG_fail
;
17189 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17190 if (SWIG_arg_fail(4)) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17207 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
= NULL
;
17209 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17211 PyObject
* obj0
= 0 ;
17212 char *kwnames
[] = {
17213 (char *) "self", NULL
17216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17218 if (SWIG_arg_fail(1)) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= SWIG_From_int(static_cast<int >(result
));
17235 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
= NULL
;
17237 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self",(char *) "nSel", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17247 if (SWIG_arg_fail(1)) SWIG_fail
;
17249 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17250 if (SWIG_arg_fail(2)) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 (arg1
)->SetSelection(arg2
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17259 Py_INCREF(Py_None
); resultobj
= Py_None
;
17266 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
= NULL
;
17268 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17270 PyObject
* obj0
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "self", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17277 if (SWIG_arg_fail(1)) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_From_int(static_cast<int >(result
));
17294 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
= NULL
;
17296 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self",(char *) "nOldSel", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17306 if (SWIG_arg_fail(1)) SWIG_fail
;
17308 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17309 if (SWIG_arg_fail(2)) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 (arg1
)->SetOldSelection(arg2
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 Py_INCREF(Py_None
); resultobj
= Py_None
;
17325 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17328 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17330 return Py_BuildValue((char *)"");
17332 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
= NULL
;
17334 wxWindow
*arg1
= (wxWindow
*) 0 ;
17335 int arg2
= (int) -1 ;
17336 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17337 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17338 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17339 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17340 long arg5
= (long) 0 ;
17341 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17342 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17343 wxNotebook
*result
;
17346 bool temp6
= false ;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 PyObject
* obj2
= 0 ;
17350 PyObject
* obj3
= 0 ;
17351 PyObject
* obj4
= 0 ;
17352 PyObject
* obj5
= 0 ;
17353 char *kwnames
[] = {
17354 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17359 if (SWIG_arg_fail(1)) SWIG_fail
;
17362 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17363 if (SWIG_arg_fail(2)) SWIG_fail
;
17369 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17375 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17380 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17381 if (SWIG_arg_fail(5)) SWIG_fail
;
17386 arg6
= wxString_in_helper(obj5
);
17387 if (arg6
== NULL
) SWIG_fail
;
17392 if (!wxPyCheckForApp()) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17414 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
= NULL
;
17416 wxNotebook
*result
;
17417 char *kwnames
[] = {
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17423 if (!wxPyCheckForApp()) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= (wxNotebook
*)new wxNotebook();
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17437 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
= NULL
;
17439 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17440 wxWindow
*arg2
= (wxWindow
*) 0 ;
17441 int arg3
= (int) -1 ;
17442 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17443 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17444 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17445 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17446 long arg6
= (long) 0 ;
17447 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17448 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17452 bool temp7
= false ;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 PyObject
* obj2
= 0 ;
17456 PyObject
* obj3
= 0 ;
17457 PyObject
* obj4
= 0 ;
17458 PyObject
* obj5
= 0 ;
17459 PyObject
* obj6
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17466 if (SWIG_arg_fail(1)) SWIG_fail
;
17467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17468 if (SWIG_arg_fail(2)) SWIG_fail
;
17471 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17472 if (SWIG_arg_fail(3)) SWIG_fail
;
17478 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17484 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17489 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17490 if (SWIG_arg_fail(6)) SWIG_fail
;
17495 arg7
= wxString_in_helper(obj6
);
17496 if (arg7
== NULL
) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17524 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
= NULL
;
17526 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "self", NULL
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17535 if (SWIG_arg_fail(1)) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= SWIG_From_int(static_cast<int >(result
));
17552 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
= NULL
;
17554 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17557 PyObject
* obj0
= 0 ;
17558 PyObject
* obj1
= 0 ;
17559 char *kwnames
[] = {
17560 (char *) "self",(char *) "padding", NULL
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17565 if (SWIG_arg_fail(1)) SWIG_fail
;
17568 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 Py_INCREF(Py_None
); resultobj
= Py_None
;
17584 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
= NULL
;
17586 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17589 PyObject
* obj0
= 0 ;
17590 PyObject
* obj1
= 0 ;
17591 char *kwnames
[] = {
17592 (char *) "self",(char *) "sz", NULL
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17597 if (SWIG_arg_fail(1)) SWIG_fail
;
17600 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 Py_INCREF(Py_None
); resultobj
= Py_None
;
17616 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
= NULL
;
17618 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17619 wxPoint
*arg2
= 0 ;
17620 long *arg3
= (long *) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 PyObject
* obj1
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self",(char *) "pt", NULL
17631 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17634 if (SWIG_arg_fail(1)) SWIG_fail
;
17637 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= SWIG_From_int(static_cast<int >(result
));
17649 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17650 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17657 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
= NULL
;
17659 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self",(char *) "sizePage", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17671 if (SWIG_arg_fail(1)) SWIG_fail
;
17674 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17684 wxSize
* resultptr
;
17685 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17694 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
= NULL
;
17696 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17698 PyObject
* obj0
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17705 if (SWIG_arg_fail(1)) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17714 wxColour
* resultptr
;
17715 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
17716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17724 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
= NULL
;
17726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17727 wxVisualAttributes result
;
17728 PyObject
* obj0
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "variant", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17736 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17737 if (SWIG_arg_fail(1)) SWIG_fail
;
17741 if (!wxPyCheckForApp()) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 wxVisualAttributes
* resultptr
;
17750 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17759 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17762 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17764 return Py_BuildValue((char *)"");
17766 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
= NULL
;
17768 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17769 int arg2
= (int) 0 ;
17770 int arg3
= (int) -1 ;
17771 int arg4
= (int) -1 ;
17772 wxNotebookEvent
*result
;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 PyObject
* obj2
= 0 ;
17776 PyObject
* obj3
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17784 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17785 if (SWIG_arg_fail(1)) SWIG_fail
;
17790 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17791 if (SWIG_arg_fail(2)) SWIG_fail
;
17796 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17797 if (SWIG_arg_fail(3)) SWIG_fail
;
17802 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17803 if (SWIG_arg_fail(4)) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17820 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17823 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17825 return Py_BuildValue((char *)"");
17827 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
= NULL
;
17829 wxWindow
*arg1
= (wxWindow
*) 0 ;
17830 int arg2
= (int) -1 ;
17831 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17832 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17833 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17834 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17835 long arg5
= (long) 0 ;
17836 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17837 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17838 wxListbook
*result
;
17841 bool temp6
= false ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 PyObject
* obj2
= 0 ;
17845 PyObject
* obj3
= 0 ;
17846 PyObject
* obj4
= 0 ;
17847 PyObject
* obj5
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17854 if (SWIG_arg_fail(1)) SWIG_fail
;
17857 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17858 if (SWIG_arg_fail(2)) SWIG_fail
;
17864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17870 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17875 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17876 if (SWIG_arg_fail(5)) SWIG_fail
;
17881 arg6
= wxString_in_helper(obj5
);
17882 if (arg6
== NULL
) SWIG_fail
;
17887 if (!wxPyCheckForApp()) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17909 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
= NULL
;
17911 wxListbook
*result
;
17912 char *kwnames
[] = {
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17918 if (!wxPyCheckForApp()) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (wxListbook
*)new wxListbook();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17932 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
= NULL
;
17934 wxListbook
*arg1
= (wxListbook
*) 0 ;
17935 wxWindow
*arg2
= (wxWindow
*) 0 ;
17936 int arg3
= (int) -1 ;
17937 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17938 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17939 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17940 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17941 long arg6
= (long) 0 ;
17942 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17943 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17947 bool temp7
= false ;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 PyObject
* obj2
= 0 ;
17951 PyObject
* obj3
= 0 ;
17952 PyObject
* obj4
= 0 ;
17953 PyObject
* obj5
= 0 ;
17954 PyObject
* obj6
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17961 if (SWIG_arg_fail(1)) SWIG_fail
;
17962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17963 if (SWIG_arg_fail(2)) SWIG_fail
;
17966 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17967 if (SWIG_arg_fail(3)) SWIG_fail
;
17973 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17979 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17984 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17985 if (SWIG_arg_fail(6)) SWIG_fail
;
17990 arg7
= wxString_in_helper(obj6
);
17991 if (arg7
== NULL
) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18019 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
= NULL
;
18021 wxListbook
*arg1
= (wxListbook
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
18029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18047 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
= NULL
;
18049 wxListbook
*arg1
= (wxListbook
*) 0 ;
18050 wxListView
*result
;
18051 PyObject
* obj0
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
18057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18058 if (SWIG_arg_fail(1)) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 result
= (wxListView
*)(arg1
)->GetListView();
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
18073 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
18075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18076 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
18078 return Py_BuildValue((char *)"");
18080 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
= NULL
;
18082 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18083 int arg2
= (int) 0 ;
18084 int arg3
= (int) -1 ;
18085 int arg4
= (int) -1 ;
18086 wxListbookEvent
*result
;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 PyObject
* obj2
= 0 ;
18090 PyObject
* obj3
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18098 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18099 if (SWIG_arg_fail(1)) SWIG_fail
;
18104 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18105 if (SWIG_arg_fail(2)) SWIG_fail
;
18110 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18111 if (SWIG_arg_fail(3)) SWIG_fail
;
18116 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18117 if (SWIG_arg_fail(4)) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
18134 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
18136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18137 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
18139 return Py_BuildValue((char *)"");
18141 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
= NULL
;
18143 wxWindow
*arg1
= (wxWindow
*) 0 ;
18145 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18146 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18147 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18148 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18149 long arg5
= (long) 0 ;
18150 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18151 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18152 wxChoicebook
*result
;
18155 bool temp6
= false ;
18156 PyObject
* obj0
= 0 ;
18157 PyObject
* obj1
= 0 ;
18158 PyObject
* obj2
= 0 ;
18159 PyObject
* obj3
= 0 ;
18160 PyObject
* obj4
= 0 ;
18161 PyObject
* obj5
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18168 if (SWIG_arg_fail(1)) SWIG_fail
;
18170 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18171 if (SWIG_arg_fail(2)) SWIG_fail
;
18176 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18182 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18187 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18188 if (SWIG_arg_fail(5)) SWIG_fail
;
18193 arg6
= wxString_in_helper(obj5
);
18194 if (arg6
== NULL
) SWIG_fail
;
18199 if (!wxPyCheckForApp()) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18221 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
= NULL
;
18223 wxChoicebook
*result
;
18224 char *kwnames
[] = {
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18230 if (!wxPyCheckForApp()) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 result
= (wxChoicebook
*)new wxChoicebook();
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18244 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
= NULL
;
18246 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18247 wxWindow
*arg2
= (wxWindow
*) 0 ;
18249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18253 long arg6
= (long) 0 ;
18254 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18255 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18259 bool temp7
= false ;
18260 PyObject
* obj0
= 0 ;
18261 PyObject
* obj1
= 0 ;
18262 PyObject
* obj2
= 0 ;
18263 PyObject
* obj3
= 0 ;
18264 PyObject
* obj4
= 0 ;
18265 PyObject
* obj5
= 0 ;
18266 PyObject
* obj6
= 0 ;
18267 char *kwnames
[] = {
18268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18273 if (SWIG_arg_fail(1)) SWIG_fail
;
18274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18275 if (SWIG_arg_fail(2)) SWIG_fail
;
18277 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18278 if (SWIG_arg_fail(3)) SWIG_fail
;
18283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18294 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18295 if (SWIG_arg_fail(6)) SWIG_fail
;
18300 arg7
= wxString_in_helper(obj6
);
18301 if (arg7
== NULL
) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18329 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
= NULL
;
18331 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18340 if (SWIG_arg_fail(1)) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18357 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
= NULL
;
18359 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18361 PyObject
* obj0
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18368 if (SWIG_arg_fail(1)) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18383 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
= NULL
;
18385 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18387 PyObject
* obj0
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18394 if (SWIG_arg_fail(1)) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= (bool)(arg1
)->DeleteAllPages();
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18411 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18414 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18416 return Py_BuildValue((char *)"");
18418 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
= NULL
;
18420 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18421 int arg2
= (int) 0 ;
18422 int arg3
= (int) -1 ;
18423 int arg4
= (int) -1 ;
18424 wxChoicebookEvent
*result
;
18425 PyObject
* obj0
= 0 ;
18426 PyObject
* obj1
= 0 ;
18427 PyObject
* obj2
= 0 ;
18428 PyObject
* obj3
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18436 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18437 if (SWIG_arg_fail(1)) SWIG_fail
;
18442 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18443 if (SWIG_arg_fail(2)) SWIG_fail
;
18448 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18449 if (SWIG_arg_fail(3)) SWIG_fail
;
18454 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18455 if (SWIG_arg_fail(4)) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18472 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18475 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18477 return Py_BuildValue((char *)"");
18479 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
= NULL
;
18481 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18483 PyObject
* obj0
= 0 ;
18484 char *kwnames
[] = {
18485 (char *) "self", NULL
18488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18490 if (SWIG_arg_fail(1)) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= (int)(arg1
)->GetId();
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18499 resultobj
= SWIG_From_int(static_cast<int >(result
));
18507 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
= NULL
;
18509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18511 PyObject
* obj0
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "self", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18518 if (SWIG_arg_fail(1)) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 result
= (wxControl
*)(arg1
)->GetControl();
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18527 resultobj
= wxPyMake_wxObject(result
, 0);
18535 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
= NULL
;
18537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18538 wxToolBarBase
*result
;
18539 PyObject
* obj0
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "self", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18546 if (SWIG_arg_fail(1)) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= wxPyMake_wxObject(result
, 0);
18563 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
= NULL
;
18565 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18574 if (SWIG_arg_fail(1)) SWIG_fail
;
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 result
= (int)(arg1
)->IsButton();
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18583 resultobj
= SWIG_From_int(static_cast<int >(result
));
18591 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
= NULL
;
18593 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18595 PyObject
* obj0
= 0 ;
18596 char *kwnames
[] = {
18597 (char *) "self", NULL
18600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18602 if (SWIG_arg_fail(1)) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (int)(arg1
)->IsControl();
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= SWIG_From_int(static_cast<int >(result
));
18619 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
= NULL
;
18621 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18623 PyObject
* obj0
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "self", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18630 if (SWIG_arg_fail(1)) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 result
= (int)(arg1
)->IsSeparator();
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= SWIG_From_int(static_cast<int >(result
));
18647 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
= NULL
;
18649 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18658 if (SWIG_arg_fail(1)) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (int)(arg1
)->GetStyle();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_From_int(static_cast<int >(result
));
18675 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
= NULL
;
18677 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18686 if (SWIG_arg_fail(1)) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 result
= (wxItemKind
)(arg1
)->GetKind();
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_From_int((result
));
18701 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
= NULL
;
18703 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18705 PyObject
* obj0
= 0 ;
18706 char *kwnames
[] = {
18707 (char *) "self", NULL
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18712 if (SWIG_arg_fail(1)) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (bool)(arg1
)->IsEnabled();
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18729 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
= NULL
;
18731 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "self", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18740 if (SWIG_arg_fail(1)) SWIG_fail
;
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18743 result
= (bool)(arg1
)->IsToggled();
18745 wxPyEndAllowThreads(__tstate
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18757 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
= NULL
;
18759 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18768 if (SWIG_arg_fail(1)) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 result
= (bool)(arg1
)->CanBeToggled();
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18785 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
= NULL
;
18787 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18796 if (SWIG_arg_fail(1)) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18801 result
= (wxBitmap
*) &_result_ref
;
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18808 wxBitmap
* resultptr
= new wxBitmap(*result
);
18809 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18817 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
= NULL
;
18819 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18828 if (SWIG_arg_fail(1)) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18833 result
= (wxBitmap
*) &_result_ref
;
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18840 wxBitmap
* resultptr
= new wxBitmap(*result
);
18841 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18849 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
= NULL
;
18851 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18860 if (SWIG_arg_fail(1)) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 result
= (arg1
)->GetBitmap();
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18869 wxBitmap
* resultptr
;
18870 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
18871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18879 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
= NULL
;
18881 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18883 PyObject
* obj0
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",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();
18893 result
= (arg1
)->GetLabel();
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18911 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
= NULL
;
18913 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18915 PyObject
* obj0
= 0 ;
18916 char *kwnames
[] = {
18917 (char *) "self", NULL
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18922 if (SWIG_arg_fail(1)) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (arg1
)->GetShortHelp();
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18943 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
= NULL
;
18945 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 char *kwnames
[] = {
18949 (char *) "self", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18954 if (SWIG_arg_fail(1)) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= (arg1
)->GetLongHelp();
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18975 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
= NULL
;
18977 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self",(char *) "enable", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail
;
18990 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18991 if (SWIG_arg_fail(2)) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= (bool)(arg1
)->Enable(arg2
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19009 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
= NULL
;
19011 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 char *kwnames
[] = {
19014 (char *) "self", NULL
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
19018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19019 if (SWIG_arg_fail(1)) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19027 Py_INCREF(Py_None
); resultobj
= Py_None
;
19034 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
= NULL
;
19036 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "toggle", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail
;
19049 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19050 if (SWIG_arg_fail(2)) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (bool)(arg1
)->SetToggle(arg2
);
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19068 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
= NULL
;
19070 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19071 wxString
*arg2
= 0 ;
19073 bool temp2
= false ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "help", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19082 if (SWIG_arg_fail(1)) SWIG_fail
;
19084 arg2
= wxString_in_helper(obj1
);
19085 if (arg2
== NULL
) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19112 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
= NULL
;
19114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19115 wxString
*arg2
= 0 ;
19117 bool temp2
= false ;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self",(char *) "help", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19126 if (SWIG_arg_fail(1)) SWIG_fail
;
19128 arg2
= wxString_in_helper(obj1
);
19129 if (arg2
== NULL
) SWIG_fail
;
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19156 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
= NULL
;
19158 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19159 wxBitmap
*arg2
= 0 ;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "bmp", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19168 if (SWIG_arg_fail(1)) SWIG_fail
;
19170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19171 if (SWIG_arg_fail(2)) SWIG_fail
;
19172 if (arg2
== NULL
) {
19173 SWIG_null_ref("wxBitmap");
19175 if (SWIG_arg_fail(2)) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 Py_INCREF(Py_None
); resultobj
= Py_None
;
19191 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
= NULL
;
19193 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19194 wxBitmap
*arg2
= 0 ;
19195 PyObject
* obj0
= 0 ;
19196 PyObject
* obj1
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self",(char *) "bmp", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19206 if (SWIG_arg_fail(2)) SWIG_fail
;
19207 if (arg2
== NULL
) {
19208 SWIG_null_ref("wxBitmap");
19210 if (SWIG_arg_fail(2)) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 Py_INCREF(Py_None
); resultobj
= Py_None
;
19226 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
= NULL
;
19228 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19229 wxString
*arg2
= 0 ;
19230 bool temp2
= false ;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "label", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19239 if (SWIG_arg_fail(1)) SWIG_fail
;
19241 arg2
= wxString_in_helper(obj1
);
19242 if (arg2
== NULL
) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 (arg1
)->SetLabel((wxString
const &)*arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 Py_INCREF(Py_None
); resultobj
= Py_None
;
19267 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
= NULL
;
19269 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19277 if (SWIG_arg_fail(1)) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 Py_INCREF(Py_None
); resultobj
= Py_None
;
19292 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
= NULL
;
19294 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19295 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "tbar", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19304 if (SWIG_arg_fail(1)) SWIG_fail
;
19305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19306 if (SWIG_arg_fail(2)) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->Attach(arg2
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 Py_INCREF(Py_None
); resultobj
= Py_None
;
19321 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
= NULL
;
19323 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19332 if (SWIG_arg_fail(1)) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= result
;
19347 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
= NULL
;
19349 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19350 PyObject
*arg2
= (PyObject
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self",(char *) "clientData", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19359 if (SWIG_arg_fail(1)) SWIG_fail
;
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19368 Py_INCREF(Py_None
); resultobj
= Py_None
;
19375 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19378 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19380 return Py_BuildValue((char *)"");
19382 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
= NULL
;
19384 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19386 wxString
*arg3
= 0 ;
19387 wxBitmap
*arg4
= 0 ;
19388 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19389 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19390 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19391 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19392 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19393 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19395 PyObject
*arg9
= (PyObject
*) NULL
;
19396 wxToolBarToolBase
*result
;
19397 bool temp3
= false ;
19398 bool temp7
= false ;
19399 bool temp8
= false ;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 PyObject
* obj2
= 0 ;
19403 PyObject
* obj3
= 0 ;
19404 PyObject
* obj4
= 0 ;
19405 PyObject
* obj5
= 0 ;
19406 PyObject
* obj6
= 0 ;
19407 PyObject
* obj7
= 0 ;
19408 PyObject
* obj8
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19415 if (SWIG_arg_fail(1)) SWIG_fail
;
19417 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19418 if (SWIG_arg_fail(2)) SWIG_fail
;
19421 arg3
= wxString_in_helper(obj2
);
19422 if (arg3
== NULL
) SWIG_fail
;
19426 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19427 if (SWIG_arg_fail(4)) SWIG_fail
;
19428 if (arg4
== NULL
) {
19429 SWIG_null_ref("wxBitmap");
19431 if (SWIG_arg_fail(4)) SWIG_fail
;
19435 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19436 if (SWIG_arg_fail(5)) SWIG_fail
;
19437 if (arg5
== NULL
) {
19438 SWIG_null_ref("wxBitmap");
19440 if (SWIG_arg_fail(5)) SWIG_fail
;
19445 arg6
= static_cast<wxItemKind
>(SWIG_As_int(obj5
));
19446 if (SWIG_arg_fail(6)) SWIG_fail
;
19451 arg7
= wxString_in_helper(obj6
);
19452 if (arg7
== NULL
) SWIG_fail
;
19458 arg8
= wxString_in_helper(obj7
);
19459 if (arg8
== NULL
) SWIG_fail
;
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= wxPyMake_wxObject(result
, 0);
19506 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19507 PyObject
*resultobj
= NULL
;
19508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19511 wxString
*arg4
= 0 ;
19512 wxBitmap
*arg5
= 0 ;
19513 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19514 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19515 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19516 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19517 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19518 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19519 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19520 PyObject
*arg10
= (PyObject
*) NULL
;
19521 wxToolBarToolBase
*result
;
19522 bool temp4
= false ;
19523 bool temp8
= false ;
19524 bool temp9
= false ;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 PyObject
* obj2
= 0 ;
19528 PyObject
* obj3
= 0 ;
19529 PyObject
* obj4
= 0 ;
19530 PyObject
* obj5
= 0 ;
19531 PyObject
* obj6
= 0 ;
19532 PyObject
* obj7
= 0 ;
19533 PyObject
* obj8
= 0 ;
19534 PyObject
* obj9
= 0 ;
19535 char *kwnames
[] = {
19536 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19541 if (SWIG_arg_fail(1)) SWIG_fail
;
19543 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19544 if (SWIG_arg_fail(2)) SWIG_fail
;
19547 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19548 if (SWIG_arg_fail(3)) SWIG_fail
;
19551 arg4
= wxString_in_helper(obj3
);
19552 if (arg4
== NULL
) SWIG_fail
;
19556 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19557 if (SWIG_arg_fail(5)) SWIG_fail
;
19558 if (arg5
== NULL
) {
19559 SWIG_null_ref("wxBitmap");
19561 if (SWIG_arg_fail(5)) SWIG_fail
;
19565 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19566 if (SWIG_arg_fail(6)) SWIG_fail
;
19567 if (arg6
== NULL
) {
19568 SWIG_null_ref("wxBitmap");
19570 if (SWIG_arg_fail(6)) SWIG_fail
;
19575 arg7
= static_cast<wxItemKind
>(SWIG_As_int(obj6
));
19576 if (SWIG_arg_fail(7)) SWIG_fail
;
19581 arg8
= wxString_in_helper(obj7
);
19582 if (arg8
== NULL
) SWIG_fail
;
19588 arg9
= wxString_in_helper(obj8
);
19589 if (arg9
== NULL
) SWIG_fail
;
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= wxPyMake_wxObject(result
, 0);
19636 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
= NULL
;
19638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19639 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19640 wxToolBarToolBase
*result
;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self",(char *) "tool", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19649 if (SWIG_arg_fail(1)) SWIG_fail
;
19650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19651 if (SWIG_arg_fail(2)) SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= wxPyMake_wxObject(result
, 0);
19668 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
= NULL
;
19670 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19672 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19673 wxToolBarToolBase
*result
;
19674 PyObject
* obj0
= 0 ;
19675 PyObject
* obj1
= 0 ;
19676 PyObject
* obj2
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self",(char *) "pos",(char *) "tool", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19683 if (SWIG_arg_fail(1)) SWIG_fail
;
19685 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19686 if (SWIG_arg_fail(2)) SWIG_fail
;
19688 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19689 if (SWIG_arg_fail(3)) SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= wxPyMake_wxObject(result
, 0);
19706 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
= NULL
;
19708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19709 wxControl
*arg2
= (wxControl
*) 0 ;
19710 wxToolBarToolBase
*result
;
19711 PyObject
* obj0
= 0 ;
19712 PyObject
* obj1
= 0 ;
19713 char *kwnames
[] = {
19714 (char *) "self",(char *) "control", NULL
19717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19719 if (SWIG_arg_fail(1)) SWIG_fail
;
19720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19721 if (SWIG_arg_fail(2)) SWIG_fail
;
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= wxPyMake_wxObject(result
, 0);
19738 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
= NULL
;
19740 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19742 wxControl
*arg3
= (wxControl
*) 0 ;
19743 wxToolBarToolBase
*result
;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 PyObject
* obj2
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self",(char *) "pos",(char *) "control", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19753 if (SWIG_arg_fail(1)) SWIG_fail
;
19755 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19756 if (SWIG_arg_fail(2)) SWIG_fail
;
19758 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19759 if (SWIG_arg_fail(3)) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= wxPyMake_wxObject(result
, 0);
19776 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
= NULL
;
19778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self",(char *) "id", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19789 if (SWIG_arg_fail(1)) SWIG_fail
;
19791 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19792 if (SWIG_arg_fail(2)) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= wxPyMake_wxObject(result
, 0);
19810 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
= NULL
;
19812 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19813 wxToolBarToolBase
*result
;
19814 PyObject
* obj0
= 0 ;
19815 char *kwnames
[] = {
19816 (char *) "self", NULL
19819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19821 if (SWIG_arg_fail(1)) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= wxPyMake_wxObject(result
, 0);
19838 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
= NULL
;
19840 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19842 wxToolBarToolBase
*result
;
19843 PyObject
* obj0
= 0 ;
19844 PyObject
* obj1
= 0 ;
19845 char *kwnames
[] = {
19846 (char *) "self",(char *) "pos", NULL
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19851 if (SWIG_arg_fail(1)) SWIG_fail
;
19853 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19854 if (SWIG_arg_fail(2)) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= wxPyMake_wxObject(result
, 0);
19872 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
= NULL
;
19874 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19876 wxToolBarToolBase
*result
;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self",(char *) "id", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail
;
19887 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19888 if (SWIG_arg_fail(2)) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19898 resultobj
= wxPyMake_wxObject(result
, 0);
19906 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
= NULL
;
19908 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 char *kwnames
[] = {
19914 (char *) "self",(char *) "pos", NULL
19917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19919 if (SWIG_arg_fail(1)) SWIG_fail
;
19921 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19922 if (SWIG_arg_fail(2)) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19940 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
= NULL
;
19942 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19945 PyObject
* obj0
= 0 ;
19946 PyObject
* obj1
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self",(char *) "id", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19953 if (SWIG_arg_fail(1)) SWIG_fail
;
19955 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19956 if (SWIG_arg_fail(2)) SWIG_fail
;
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (bool)(arg1
)->DeleteTool(arg2
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19974 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
= NULL
;
19976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19977 PyObject
* obj0
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19984 if (SWIG_arg_fail(1)) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 (arg1
)->ClearTools();
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 Py_INCREF(Py_None
); resultobj
= Py_None
;
19999 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
= NULL
;
20001 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
20009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20010 if (SWIG_arg_fail(1)) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (bool)(arg1
)->Realize();
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20027 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
= NULL
;
20029 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 PyObject
* obj2
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self",(char *) "id",(char *) "enable", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20041 if (SWIG_arg_fail(1)) SWIG_fail
;
20043 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20044 if (SWIG_arg_fail(2)) SWIG_fail
;
20047 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
20048 if (SWIG_arg_fail(3)) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 (arg1
)->EnableTool(arg2
,arg3
);
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 Py_INCREF(Py_None
); resultobj
= Py_None
;
20064 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
= NULL
;
20066 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 PyObject
* obj2
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "self",(char *) "id",(char *) "toggle", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20078 if (SWIG_arg_fail(1)) SWIG_fail
;
20080 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20081 if (SWIG_arg_fail(2)) SWIG_fail
;
20084 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
20085 if (SWIG_arg_fail(3)) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 (arg1
)->ToggleTool(arg2
,arg3
);
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 Py_INCREF(Py_None
); resultobj
= Py_None
;
20101 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
= NULL
;
20103 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 PyObject
* obj1
= 0 ;
20108 PyObject
* obj2
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self",(char *) "id",(char *) "toggle", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20115 if (SWIG_arg_fail(1)) SWIG_fail
;
20117 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20118 if (SWIG_arg_fail(2)) SWIG_fail
;
20121 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
20122 if (SWIG_arg_fail(3)) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 (arg1
)->SetToggle(arg2
,arg3
);
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 Py_INCREF(Py_None
); resultobj
= Py_None
;
20138 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
= NULL
;
20140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self",(char *) "id", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20151 if (SWIG_arg_fail(1)) SWIG_fail
;
20153 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20154 if (SWIG_arg_fail(2)) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= result
;
20170 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
= NULL
;
20172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20174 PyObject
*arg3
= (PyObject
*) 0 ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 PyObject
* obj2
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self",(char *) "id",(char *) "clientData", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail
;
20186 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20187 if (SWIG_arg_fail(2)) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 Py_INCREF(Py_None
); resultobj
= Py_None
;
20204 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
= NULL
;
20206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "id", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail
;
20219 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20220 if (SWIG_arg_fail(2)) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20230 resultobj
= SWIG_From_int(static_cast<int >(result
));
20238 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
= NULL
;
20240 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self",(char *) "id", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20251 if (SWIG_arg_fail(1)) SWIG_fail
;
20253 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20254 if (SWIG_arg_fail(2)) SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 result
= (bool)(arg1
)->GetToolState(arg2
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20272 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
= NULL
;
20274 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self",(char *) "id", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20285 if (SWIG_arg_fail(1)) SWIG_fail
;
20287 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20288 if (SWIG_arg_fail(2)) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20306 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20307 PyObject
*resultobj
= NULL
;
20308 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20310 wxString
*arg3
= 0 ;
20311 bool temp3
= false ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20314 PyObject
* obj2
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self",(char *) "id",(char *) "helpString", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20321 if (SWIG_arg_fail(1)) SWIG_fail
;
20323 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20324 if (SWIG_arg_fail(2)) SWIG_fail
;
20327 arg3
= wxString_in_helper(obj2
);
20328 if (arg3
== NULL
) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 Py_INCREF(Py_None
); resultobj
= Py_None
;
20353 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
= NULL
;
20355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20360 char *kwnames
[] = {
20361 (char *) "self",(char *) "id", NULL
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20366 if (SWIG_arg_fail(1)) SWIG_fail
;
20368 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20369 if (SWIG_arg_fail(2)) SWIG_fail
;
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 result
= (arg1
)->GetToolShortHelp(arg2
);
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20391 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
= NULL
;
20393 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20395 wxString
*arg3
= 0 ;
20396 bool temp3
= false ;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 PyObject
* obj2
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "self",(char *) "id",(char *) "helpString", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20406 if (SWIG_arg_fail(1)) SWIG_fail
;
20408 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20409 if (SWIG_arg_fail(2)) SWIG_fail
;
20412 arg3
= wxString_in_helper(obj2
);
20413 if (arg3
== NULL
) SWIG_fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 Py_INCREF(Py_None
); resultobj
= Py_None
;
20438 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
= NULL
;
20440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 PyObject
* obj1
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self",(char *) "id", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20451 if (SWIG_arg_fail(1)) SWIG_fail
;
20453 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20454 if (SWIG_arg_fail(2)) SWIG_fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= (arg1
)->GetToolLongHelp(arg2
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20476 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
= NULL
;
20478 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 PyObject
* obj1
= 0 ;
20483 PyObject
* obj2
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self",(char *) "x",(char *) "y", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail
;
20492 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20493 if (SWIG_arg_fail(2)) SWIG_fail
;
20496 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20497 if (SWIG_arg_fail(3)) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 (arg1
)->SetMargins(arg2
,arg3
);
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 Py_INCREF(Py_None
); resultobj
= Py_None
;
20513 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
= NULL
;
20515 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self",(char *) "size", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20526 if (SWIG_arg_fail(1)) SWIG_fail
;
20529 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
= NULL
;
20547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20549 PyObject
* obj0
= 0 ;
20550 PyObject
* obj1
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self",(char *) "packing", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20557 if (SWIG_arg_fail(1)) SWIG_fail
;
20559 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20560 if (SWIG_arg_fail(2)) SWIG_fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 (arg1
)->SetToolPacking(arg2
);
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 Py_INCREF(Py_None
); resultobj
= Py_None
;
20576 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
= NULL
;
20578 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 PyObject
* obj1
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self",(char *) "separation", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20588 if (SWIG_arg_fail(1)) SWIG_fail
;
20590 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20591 if (SWIG_arg_fail(2)) SWIG_fail
;
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 (arg1
)->SetToolSeparation(arg2
);
20597 wxPyEndAllowThreads(__tstate
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20600 Py_INCREF(Py_None
); resultobj
= Py_None
;
20607 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20608 PyObject
*resultobj
= NULL
;
20609 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20611 PyObject
* obj0
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20618 if (SWIG_arg_fail(1)) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= (arg1
)->GetToolMargins();
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20627 wxSize
* resultptr
;
20628 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20637 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
= NULL
;
20639 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20648 if (SWIG_arg_fail(1)) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (arg1
)->GetMargins();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 wxSize
* resultptr
;
20658 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20667 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
= NULL
;
20669 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20678 if (SWIG_arg_fail(1)) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= (int)(arg1
)->GetToolPacking();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_From_int(static_cast<int >(result
));
20695 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
= NULL
;
20697 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20706 if (SWIG_arg_fail(1)) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (int)(arg1
)->GetToolSeparation();
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_From_int(static_cast<int >(result
));
20723 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
= NULL
;
20725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 PyObject
* obj1
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "self",(char *) "nRows", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20735 if (SWIG_arg_fail(1)) SWIG_fail
;
20737 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20738 if (SWIG_arg_fail(2)) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 (arg1
)->SetRows(arg2
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 Py_INCREF(Py_None
); resultobj
= Py_None
;
20754 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
= NULL
;
20756 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 PyObject
* obj2
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self",(char *) "rows",(char *) "cols", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20768 if (SWIG_arg_fail(1)) SWIG_fail
;
20770 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20771 if (SWIG_arg_fail(2)) SWIG_fail
;
20774 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20775 if (SWIG_arg_fail(3)) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 Py_INCREF(Py_None
); resultobj
= Py_None
;
20791 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20792 PyObject
*resultobj
= NULL
;
20793 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20795 PyObject
* obj0
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "self", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20802 if (SWIG_arg_fail(1)) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (int)(arg1
)->GetMaxRows();
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_From_int(static_cast<int >(result
));
20819 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
= NULL
;
20821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20823 PyObject
* obj0
= 0 ;
20824 char *kwnames
[] = {
20825 (char *) "self", NULL
20828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20830 if (SWIG_arg_fail(1)) SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (int)(arg1
)->GetMaxCols();
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_From_int(static_cast<int >(result
));
20847 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
= NULL
;
20849 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 char *kwnames
[] = {
20855 (char *) "self",(char *) "size", NULL
20858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20860 if (SWIG_arg_fail(1)) SWIG_fail
;
20863 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 Py_INCREF(Py_None
); resultobj
= Py_None
;
20879 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
= NULL
;
20881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20883 PyObject
* obj0
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20890 if (SWIG_arg_fail(1)) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (arg1
)->GetToolBitmapSize();
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20899 wxSize
* resultptr
;
20900 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20909 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
= NULL
;
20911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20913 PyObject
* obj0
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20920 if (SWIG_arg_fail(1)) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (arg1
)->GetToolSize();
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20929 wxSize
* resultptr
;
20930 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20939 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
= NULL
;
20941 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20944 wxToolBarToolBase
*result
;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 PyObject
* obj2
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "self",(char *) "x",(char *) "y", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20954 if (SWIG_arg_fail(1)) SWIG_fail
;
20956 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20957 if (SWIG_arg_fail(2)) SWIG_fail
;
20960 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20961 if (SWIG_arg_fail(3)) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= wxPyMake_wxObject(result
, 0);
20979 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
= NULL
;
20981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20983 wxToolBarToolBase
*result
;
20984 PyObject
* obj0
= 0 ;
20985 PyObject
* obj1
= 0 ;
20986 char *kwnames
[] = {
20987 (char *) "self",(char *) "toolid", NULL
20990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20992 if (SWIG_arg_fail(1)) SWIG_fail
;
20994 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20995 if (SWIG_arg_fail(2)) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= wxPyMake_wxObject(result
, 0);
21013 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
= NULL
;
21015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21017 PyObject
* obj0
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
21023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21024 if (SWIG_arg_fail(1)) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (bool)(arg1
)->IsVertical();
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21041 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21044 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21046 return Py_BuildValue((char *)"");
21048 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
= NULL
;
21050 wxWindow
*arg1
= (wxWindow
*) 0 ;
21051 int arg2
= (int) -1 ;
21052 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21053 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21054 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21055 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21056 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21057 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21058 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21062 bool temp6
= false ;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 PyObject
* obj2
= 0 ;
21066 PyObject
* obj3
= 0 ;
21067 PyObject
* obj4
= 0 ;
21068 PyObject
* obj5
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21075 if (SWIG_arg_fail(1)) SWIG_fail
;
21078 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21079 if (SWIG_arg_fail(2)) SWIG_fail
;
21085 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21091 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21096 arg5
= static_cast<long >(SWIG_As_long(obj4
));
21097 if (SWIG_arg_fail(5)) SWIG_fail
;
21102 arg6
= wxString_in_helper(obj5
);
21103 if (arg6
== NULL
) SWIG_fail
;
21108 if (!wxPyCheckForApp()) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21130 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
= NULL
;
21133 char *kwnames
[] = {
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21139 if (!wxPyCheckForApp()) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 result
= (wxToolBar
*)new wxToolBar();
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21153 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
= NULL
;
21155 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21156 wxWindow
*arg2
= (wxWindow
*) 0 ;
21157 int arg3
= (int) -1 ;
21158 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21159 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21160 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21161 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21162 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21163 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21164 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21168 bool temp7
= false ;
21169 PyObject
* obj0
= 0 ;
21170 PyObject
* obj1
= 0 ;
21171 PyObject
* obj2
= 0 ;
21172 PyObject
* obj3
= 0 ;
21173 PyObject
* obj4
= 0 ;
21174 PyObject
* obj5
= 0 ;
21175 PyObject
* obj6
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21182 if (SWIG_arg_fail(1)) SWIG_fail
;
21183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21184 if (SWIG_arg_fail(2)) SWIG_fail
;
21187 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21188 if (SWIG_arg_fail(3)) SWIG_fail
;
21194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21205 arg6
= static_cast<long >(SWIG_As_long(obj5
));
21206 if (SWIG_arg_fail(6)) SWIG_fail
;
21211 arg7
= wxString_in_helper(obj6
);
21212 if (arg7
== NULL
) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21240 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
= NULL
;
21242 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21245 wxToolBarToolBase
*result
;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 PyObject
* obj2
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self",(char *) "x",(char *) "y", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21255 if (SWIG_arg_fail(1)) SWIG_fail
;
21257 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21258 if (SWIG_arg_fail(2)) SWIG_fail
;
21261 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21262 if (SWIG_arg_fail(3)) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= wxPyMake_wxObject(result
, 0);
21280 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
= NULL
;
21282 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21283 wxVisualAttributes result
;
21284 PyObject
* obj0
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "variant", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21292 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
21293 if (SWIG_arg_fail(1)) SWIG_fail
;
21297 if (!wxPyCheckForApp()) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21305 wxVisualAttributes
* resultptr
;
21306 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
21307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21315 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21318 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21320 return Py_BuildValue((char *)"");
21322 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21323 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21328 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21329 PyObject
*pyobj
= NULL
;
21333 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21335 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21342 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
= NULL
;
21344 wxColour
const &arg1_defvalue
= wxNullColour
;
21345 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21346 wxColour
const &arg2_defvalue
= wxNullColour
;
21347 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21348 wxFont
const &arg3_defvalue
= wxNullFont
;
21349 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21350 wxListItemAttr
*result
;
21353 PyObject
* obj0
= 0 ;
21354 PyObject
* obj1
= 0 ;
21355 PyObject
* obj2
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21364 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21375 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21376 if (SWIG_arg_fail(3)) SWIG_fail
;
21377 if (arg3
== NULL
) {
21378 SWIG_null_ref("wxFont");
21380 if (SWIG_arg_fail(3)) SWIG_fail
;
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21397 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
= NULL
;
21399 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21400 wxColour
*arg2
= 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "colText", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21410 if (SWIG_arg_fail(1)) SWIG_fail
;
21413 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
= NULL
;
21431 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21432 wxColour
*arg2
= 0 ;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self",(char *) "colBack", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21442 if (SWIG_arg_fail(1)) SWIG_fail
;
21445 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 Py_INCREF(Py_None
); resultobj
= Py_None
;
21461 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
= NULL
;
21463 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21465 PyObject
* obj0
= 0 ;
21466 PyObject
* obj1
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "self",(char *) "font", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21473 if (SWIG_arg_fail(1)) SWIG_fail
;
21475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21476 if (SWIG_arg_fail(2)) SWIG_fail
;
21477 if (arg2
== NULL
) {
21478 SWIG_null_ref("wxFont");
21480 if (SWIG_arg_fail(2)) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 (arg1
)->SetFont((wxFont
const &)*arg2
);
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 Py_INCREF(Py_None
); resultobj
= Py_None
;
21496 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
= NULL
;
21498 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21500 PyObject
* obj0
= 0 ;
21501 char *kwnames
[] = {
21502 (char *) "self", NULL
21505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (bool)(arg1
)->HasTextColour();
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21524 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
= NULL
;
21526 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21528 PyObject
* obj0
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21535 if (SWIG_arg_fail(1)) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= (bool)(arg1
)->HasBackgroundColour();
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21552 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
= NULL
;
21554 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21556 PyObject
* obj0
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "self", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21563 if (SWIG_arg_fail(1)) SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (bool)(arg1
)->HasFont();
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21580 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
= NULL
;
21582 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21584 PyObject
* obj0
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (arg1
)->GetTextColour();
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21600 wxColour
* resultptr
;
21601 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21610 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
= NULL
;
21612 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (arg1
)->GetBackgroundColour();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 wxColour
* resultptr
;
21631 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21640 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
= NULL
;
21642 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (arg1
)->GetFont();
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 wxFont
* resultptr
;
21661 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
21662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21670 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
= NULL
;
21672 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21673 PyObject
* obj0
= 0 ;
21674 char *kwnames
[] = {
21675 (char *) "self", NULL
21678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21680 if (SWIG_arg_fail(1)) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 wxListItemAttr_Destroy(arg1
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 Py_INCREF(Py_None
); resultobj
= Py_None
;
21695 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21698 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21700 return Py_BuildValue((char *)"");
21702 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
= NULL
;
21704 wxListItem
*result
;
21705 char *kwnames
[] = {
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (wxListItem
*)new wxListItem();
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= wxPyMake_wxObject(result
, 1);
21726 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
= NULL
;
21728 wxListItem
*arg1
= (wxListItem
*) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self", NULL
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21736 if (SWIG_arg_fail(1)) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 Py_INCREF(Py_None
); resultobj
= Py_None
;
21751 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
= NULL
;
21753 wxListItem
*arg1
= (wxListItem
*) 0 ;
21754 PyObject
* obj0
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21761 if (SWIG_arg_fail(1)) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 Py_INCREF(Py_None
); resultobj
= Py_None
;
21776 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
= NULL
;
21778 wxListItem
*arg1
= (wxListItem
*) 0 ;
21779 PyObject
* obj0
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21786 if (SWIG_arg_fail(1)) SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 (arg1
)->ClearAttributes();
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 Py_INCREF(Py_None
); resultobj
= Py_None
;
21801 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
= NULL
;
21803 wxListItem
*arg1
= (wxListItem
*) 0 ;
21805 PyObject
* obj0
= 0 ;
21806 PyObject
* obj1
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self",(char *) "mask", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21813 if (SWIG_arg_fail(1)) SWIG_fail
;
21815 arg2
= static_cast<long >(SWIG_As_long(obj1
));
21816 if (SWIG_arg_fail(2)) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 (arg1
)->SetMask(arg2
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 Py_INCREF(Py_None
); resultobj
= Py_None
;
21832 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
= NULL
;
21834 wxListItem
*arg1
= (wxListItem
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 PyObject
* obj1
= 0 ;
21838 char *kwnames
[] = {
21839 (char *) "self",(char *) "id", NULL
21842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21844 if (SWIG_arg_fail(1)) SWIG_fail
;
21846 arg2
= static_cast<long >(SWIG_As_long(obj1
));
21847 if (SWIG_arg_fail(2)) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 (arg1
)->SetId(arg2
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 Py_INCREF(Py_None
); resultobj
= Py_None
;
21863 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
= NULL
;
21865 wxListItem
*arg1
= (wxListItem
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 char *kwnames
[] = {
21870 (char *) "self",(char *) "col", NULL
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21875 if (SWIG_arg_fail(1)) SWIG_fail
;
21877 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21878 if (SWIG_arg_fail(2)) SWIG_fail
;
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 (arg1
)->SetColumn(arg2
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 Py_INCREF(Py_None
); resultobj
= Py_None
;
21894 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
= NULL
;
21896 wxListItem
*arg1
= (wxListItem
*) 0 ;
21898 PyObject
* obj0
= 0 ;
21899 PyObject
* obj1
= 0 ;
21900 char *kwnames
[] = {
21901 (char *) "self",(char *) "state", NULL
21904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21906 if (SWIG_arg_fail(1)) SWIG_fail
;
21908 arg2
= static_cast<long >(SWIG_As_long(obj1
));
21909 if (SWIG_arg_fail(2)) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 (arg1
)->SetState(arg2
);
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 Py_INCREF(Py_None
); resultobj
= Py_None
;
21925 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
= NULL
;
21927 wxListItem
*arg1
= (wxListItem
*) 0 ;
21929 PyObject
* obj0
= 0 ;
21930 PyObject
* obj1
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self",(char *) "stateMask", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21937 if (SWIG_arg_fail(1)) SWIG_fail
;
21939 arg2
= static_cast<long >(SWIG_As_long(obj1
));
21940 if (SWIG_arg_fail(2)) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 (arg1
)->SetStateMask(arg2
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 Py_INCREF(Py_None
); resultobj
= Py_None
;
21956 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
= NULL
;
21958 wxListItem
*arg1
= (wxListItem
*) 0 ;
21959 wxString
*arg2
= 0 ;
21960 bool temp2
= false ;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self",(char *) "text", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21969 if (SWIG_arg_fail(1)) SWIG_fail
;
21971 arg2
= wxString_in_helper(obj1
);
21972 if (arg2
== NULL
) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 (arg1
)->SetText((wxString
const &)*arg2
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 Py_INCREF(Py_None
); resultobj
= Py_None
;
21997 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
= NULL
;
21999 wxListItem
*arg1
= (wxListItem
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self",(char *) "image", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22009 if (SWIG_arg_fail(1)) SWIG_fail
;
22011 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22012 if (SWIG_arg_fail(2)) SWIG_fail
;
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 (arg1
)->SetImage(arg2
);
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22021 Py_INCREF(Py_None
); resultobj
= Py_None
;
22028 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
= NULL
;
22030 wxListItem
*arg1
= (wxListItem
*) 0 ;
22032 PyObject
* obj0
= 0 ;
22033 PyObject
* obj1
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "self",(char *) "data", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail
;
22042 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22043 if (SWIG_arg_fail(2)) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 (arg1
)->SetData(arg2
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 Py_INCREF(Py_None
); resultobj
= Py_None
;
22059 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
= NULL
;
22061 wxListItem
*arg1
= (wxListItem
*) 0 ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "width", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail
;
22073 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22074 if (SWIG_arg_fail(2)) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 (arg1
)->SetWidth(arg2
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 Py_INCREF(Py_None
); resultobj
= Py_None
;
22090 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
= NULL
;
22092 wxListItem
*arg1
= (wxListItem
*) 0 ;
22093 wxListColumnFormat arg2
;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 char *kwnames
[] = {
22097 (char *) "self",(char *) "align", NULL
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<wxListColumnFormat
>(SWIG_As_int(obj1
));
22105 if (SWIG_arg_fail(2)) SWIG_fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 (arg1
)->SetAlign(arg2
);
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 Py_INCREF(Py_None
); resultobj
= Py_None
;
22121 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
= NULL
;
22123 wxListItem
*arg1
= (wxListItem
*) 0 ;
22124 wxColour
*arg2
= 0 ;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self",(char *) "colText", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22134 if (SWIG_arg_fail(1)) SWIG_fail
;
22137 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 Py_INCREF(Py_None
); resultobj
= Py_None
;
22153 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
= NULL
;
22155 wxListItem
*arg1
= (wxListItem
*) 0 ;
22156 wxColour
*arg2
= 0 ;
22158 PyObject
* obj0
= 0 ;
22159 PyObject
* obj1
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self",(char *) "colBack", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22166 if (SWIG_arg_fail(1)) SWIG_fail
;
22169 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22178 Py_INCREF(Py_None
); resultobj
= Py_None
;
22185 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
= NULL
;
22187 wxListItem
*arg1
= (wxListItem
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 PyObject
* obj1
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self",(char *) "font", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22197 if (SWIG_arg_fail(1)) SWIG_fail
;
22199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22200 if (SWIG_arg_fail(2)) SWIG_fail
;
22201 if (arg2
== NULL
) {
22202 SWIG_null_ref("wxFont");
22204 if (SWIG_arg_fail(2)) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 (arg1
)->SetFont((wxFont
const &)*arg2
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 Py_INCREF(Py_None
); resultobj
= Py_None
;
22220 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
= NULL
;
22222 wxListItem
*arg1
= (wxListItem
*) 0 ;
22224 PyObject
* obj0
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22231 if (SWIG_arg_fail(1)) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (long)(arg1
)->GetMask();
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= SWIG_From_long(static_cast<long >(result
));
22248 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
= NULL
;
22250 wxListItem
*arg1
= (wxListItem
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22259 if (SWIG_arg_fail(1)) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (long)(arg1
)->GetId();
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= SWIG_From_long(static_cast<long >(result
));
22276 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
= NULL
;
22278 wxListItem
*arg1
= (wxListItem
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22287 if (SWIG_arg_fail(1)) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (int)(arg1
)->GetColumn();
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_From_int(static_cast<int >(result
));
22304 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
= NULL
;
22306 wxListItem
*arg1
= (wxListItem
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22315 if (SWIG_arg_fail(1)) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 result
= (long)(arg1
)->GetState();
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= SWIG_From_long(static_cast<long >(result
));
22332 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
= NULL
;
22334 wxListItem
*arg1
= (wxListItem
*) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22343 if (SWIG_arg_fail(1)) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 wxString
const &_result_ref
= (arg1
)->GetText();
22348 result
= (wxString
*) &_result_ref
;
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22356 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22358 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22367 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
= NULL
;
22369 wxListItem
*arg1
= (wxListItem
*) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (int)(arg1
)->GetImage();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_From_int(static_cast<int >(result
));
22395 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
= NULL
;
22397 wxListItem
*arg1
= (wxListItem
*) 0 ;
22399 PyObject
* obj0
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22406 if (SWIG_arg_fail(1)) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (long)(arg1
)->GetData();
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= SWIG_From_long(static_cast<long >(result
));
22423 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
= NULL
;
22425 wxListItem
*arg1
= (wxListItem
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22434 if (SWIG_arg_fail(1)) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (int)(arg1
)->GetWidth();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= SWIG_From_int(static_cast<int >(result
));
22451 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
= NULL
;
22453 wxListItem
*arg1
= (wxListItem
*) 0 ;
22454 wxListColumnFormat result
;
22455 PyObject
* obj0
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22462 if (SWIG_arg_fail(1)) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= SWIG_From_int((result
));
22477 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
= NULL
;
22479 wxListItem
*arg1
= (wxListItem
*) 0 ;
22480 wxListItemAttr
*result
;
22481 PyObject
* obj0
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22503 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
= NULL
;
22505 wxListItem
*arg1
= (wxListItem
*) 0 ;
22507 PyObject
* obj0
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= (bool)(arg1
)->HasAttributes();
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22531 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
= NULL
;
22533 wxListItem
*arg1
= (wxListItem
*) 0 ;
22535 PyObject
* obj0
= 0 ;
22536 char *kwnames
[] = {
22537 (char *) "self", NULL
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22542 if (SWIG_arg_fail(1)) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22551 wxColour
* resultptr
;
22552 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22561 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
= NULL
;
22563 wxListItem
*arg1
= (wxListItem
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22572 if (SWIG_arg_fail(1)) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22581 wxColour
* resultptr
;
22582 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22591 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22592 PyObject
*resultobj
= NULL
;
22593 wxListItem
*arg1
= (wxListItem
*) 0 ;
22595 PyObject
* obj0
= 0 ;
22596 char *kwnames
[] = {
22597 (char *) "self", NULL
22600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 result
= ((wxListItem
const *)arg1
)->GetFont();
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22611 wxFont
* resultptr
;
22612 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
22613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22621 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
= NULL
;
22623 wxListItem
*arg1
= (wxListItem
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self",(char *) "m_mask", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22633 if (SWIG_arg_fail(1)) SWIG_fail
;
22635 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22636 if (SWIG_arg_fail(2)) SWIG_fail
;
22638 if (arg1
) (arg1
)->m_mask
= arg2
;
22640 Py_INCREF(Py_None
); resultobj
= Py_None
;
22647 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
= NULL
;
22649 wxListItem
*arg1
= (wxListItem
*) 0 ;
22651 PyObject
* obj0
= 0 ;
22652 char *kwnames
[] = {
22653 (char *) "self", NULL
22656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22658 if (SWIG_arg_fail(1)) SWIG_fail
;
22659 result
= (long) ((arg1
)->m_mask
);
22662 resultobj
= SWIG_From_long(static_cast<long >(result
));
22670 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
= NULL
;
22672 wxListItem
*arg1
= (wxListItem
*) 0 ;
22674 PyObject
* obj0
= 0 ;
22675 PyObject
* obj1
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self",(char *) "m_itemId", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22682 if (SWIG_arg_fail(1)) SWIG_fail
;
22684 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22685 if (SWIG_arg_fail(2)) SWIG_fail
;
22687 if (arg1
) (arg1
)->m_itemId
= arg2
;
22689 Py_INCREF(Py_None
); resultobj
= Py_None
;
22696 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
= NULL
;
22698 wxListItem
*arg1
= (wxListItem
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail
;
22708 result
= (long) ((arg1
)->m_itemId
);
22711 resultobj
= SWIG_From_long(static_cast<long >(result
));
22719 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
= NULL
;
22721 wxListItem
*arg1
= (wxListItem
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 PyObject
* obj1
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self",(char *) "m_col", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail
;
22733 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22734 if (SWIG_arg_fail(2)) SWIG_fail
;
22736 if (arg1
) (arg1
)->m_col
= arg2
;
22738 Py_INCREF(Py_None
); resultobj
= Py_None
;
22745 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
= NULL
;
22747 wxListItem
*arg1
= (wxListItem
*) 0 ;
22749 PyObject
* obj0
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22756 if (SWIG_arg_fail(1)) SWIG_fail
;
22757 result
= (int) ((arg1
)->m_col
);
22760 resultobj
= SWIG_From_int(static_cast<int >(result
));
22768 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
= NULL
;
22770 wxListItem
*arg1
= (wxListItem
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self",(char *) "m_state", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22780 if (SWIG_arg_fail(1)) SWIG_fail
;
22782 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22783 if (SWIG_arg_fail(2)) SWIG_fail
;
22785 if (arg1
) (arg1
)->m_state
= arg2
;
22787 Py_INCREF(Py_None
); resultobj
= Py_None
;
22794 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
= NULL
;
22796 wxListItem
*arg1
= (wxListItem
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22805 if (SWIG_arg_fail(1)) SWIG_fail
;
22806 result
= (long) ((arg1
)->m_state
);
22809 resultobj
= SWIG_From_long(static_cast<long >(result
));
22817 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
= NULL
;
22819 wxListItem
*arg1
= (wxListItem
*) 0 ;
22821 PyObject
* obj0
= 0 ;
22822 PyObject
* obj1
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self",(char *) "m_stateMask", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22829 if (SWIG_arg_fail(1)) SWIG_fail
;
22831 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22832 if (SWIG_arg_fail(2)) SWIG_fail
;
22834 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22836 Py_INCREF(Py_None
); resultobj
= Py_None
;
22843 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
= NULL
;
22845 wxListItem
*arg1
= (wxListItem
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22854 if (SWIG_arg_fail(1)) SWIG_fail
;
22855 result
= (long) ((arg1
)->m_stateMask
);
22858 resultobj
= SWIG_From_long(static_cast<long >(result
));
22866 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
= NULL
;
22868 wxListItem
*arg1
= (wxListItem
*) 0 ;
22869 wxString
*arg2
= (wxString
*) 0 ;
22870 bool temp2
= false ;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self",(char *) "m_text", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22879 if (SWIG_arg_fail(1)) SWIG_fail
;
22881 arg2
= wxString_in_helper(obj1
);
22882 if (arg2
== NULL
) SWIG_fail
;
22885 if (arg1
) (arg1
)->m_text
= *arg2
;
22887 Py_INCREF(Py_None
); resultobj
= Py_None
;
22902 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
= NULL
;
22904 wxListItem
*arg1
= (wxListItem
*) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 char *kwnames
[] = {
22908 (char *) "self", NULL
22911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22913 if (SWIG_arg_fail(1)) SWIG_fail
;
22914 result
= (wxString
*)& ((arg1
)->m_text
);
22918 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22920 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22929 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
= NULL
;
22931 wxListItem
*arg1
= (wxListItem
*) 0 ;
22933 PyObject
* obj0
= 0 ;
22934 PyObject
* obj1
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self",(char *) "m_image", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22941 if (SWIG_arg_fail(1)) SWIG_fail
;
22943 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22944 if (SWIG_arg_fail(2)) SWIG_fail
;
22946 if (arg1
) (arg1
)->m_image
= arg2
;
22948 Py_INCREF(Py_None
); resultobj
= Py_None
;
22955 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
= NULL
;
22957 wxListItem
*arg1
= (wxListItem
*) 0 ;
22959 PyObject
* obj0
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22966 if (SWIG_arg_fail(1)) SWIG_fail
;
22967 result
= (int) ((arg1
)->m_image
);
22970 resultobj
= SWIG_From_int(static_cast<int >(result
));
22978 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
= NULL
;
22980 wxListItem
*arg1
= (wxListItem
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self",(char *) "m_data", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22990 if (SWIG_arg_fail(1)) SWIG_fail
;
22992 arg2
= static_cast<long >(SWIG_As_long(obj1
));
22993 if (SWIG_arg_fail(2)) SWIG_fail
;
22995 if (arg1
) (arg1
)->m_data
= arg2
;
22997 Py_INCREF(Py_None
); resultobj
= Py_None
;
23004 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
= NULL
;
23006 wxListItem
*arg1
= (wxListItem
*) 0 ;
23008 PyObject
* obj0
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
23014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23015 if (SWIG_arg_fail(1)) SWIG_fail
;
23016 result
= (long) ((arg1
)->m_data
);
23019 resultobj
= SWIG_From_long(static_cast<long >(result
));
23027 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
= NULL
;
23029 wxListItem
*arg1
= (wxListItem
*) 0 ;
23031 PyObject
* obj0
= 0 ;
23032 PyObject
* obj1
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self",(char *) "m_format", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail
;
23041 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23042 if (SWIG_arg_fail(2)) SWIG_fail
;
23044 if (arg1
) (arg1
)->m_format
= arg2
;
23046 Py_INCREF(Py_None
); resultobj
= Py_None
;
23053 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
= NULL
;
23055 wxListItem
*arg1
= (wxListItem
*) 0 ;
23057 PyObject
* obj0
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23064 if (SWIG_arg_fail(1)) SWIG_fail
;
23065 result
= (int) ((arg1
)->m_format
);
23068 resultobj
= SWIG_From_int(static_cast<int >(result
));
23076 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23077 PyObject
*resultobj
= NULL
;
23078 wxListItem
*arg1
= (wxListItem
*) 0 ;
23080 PyObject
* obj0
= 0 ;
23081 PyObject
* obj1
= 0 ;
23082 char *kwnames
[] = {
23083 (char *) "self",(char *) "m_width", NULL
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23088 if (SWIG_arg_fail(1)) SWIG_fail
;
23090 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23091 if (SWIG_arg_fail(2)) SWIG_fail
;
23093 if (arg1
) (arg1
)->m_width
= arg2
;
23095 Py_INCREF(Py_None
); resultobj
= Py_None
;
23102 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
= NULL
;
23104 wxListItem
*arg1
= (wxListItem
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23113 if (SWIG_arg_fail(1)) SWIG_fail
;
23114 result
= (int) ((arg1
)->m_width
);
23117 resultobj
= SWIG_From_int(static_cast<int >(result
));
23125 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23128 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23130 return Py_BuildValue((char *)"");
23132 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
= NULL
;
23134 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23135 int arg2
= (int) 0 ;
23136 wxListEvent
*result
;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "commandType",(char *) "id", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23146 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
23147 if (SWIG_arg_fail(1)) SWIG_fail
;
23152 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23153 if (SWIG_arg_fail(2)) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23170 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
= NULL
;
23172 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self",(char *) "m_code", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23182 if (SWIG_arg_fail(1)) SWIG_fail
;
23184 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23185 if (SWIG_arg_fail(2)) SWIG_fail
;
23187 if (arg1
) (arg1
)->m_code
= arg2
;
23189 Py_INCREF(Py_None
); resultobj
= Py_None
;
23196 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
= NULL
;
23198 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23200 PyObject
* obj0
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23207 if (SWIG_arg_fail(1)) SWIG_fail
;
23208 result
= (int) ((arg1
)->m_code
);
23211 resultobj
= SWIG_From_int(static_cast<int >(result
));
23219 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
= NULL
;
23221 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self",(char *) "m_oldItemIndex", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23231 if (SWIG_arg_fail(1)) SWIG_fail
;
23233 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23234 if (SWIG_arg_fail(2)) SWIG_fail
;
23236 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23238 Py_INCREF(Py_None
); resultobj
= Py_None
;
23245 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
= NULL
;
23247 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23249 PyObject
* obj0
= 0 ;
23250 char *kwnames
[] = {
23251 (char *) "self", NULL
23254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23256 if (SWIG_arg_fail(1)) SWIG_fail
;
23257 result
= (long) ((arg1
)->m_oldItemIndex
);
23260 resultobj
= SWIG_From_long(static_cast<long >(result
));
23268 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
= NULL
;
23270 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "m_itemIndex", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23282 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23283 if (SWIG_arg_fail(2)) SWIG_fail
;
23285 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23287 Py_INCREF(Py_None
); resultobj
= Py_None
;
23294 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
= NULL
;
23296 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23298 PyObject
* obj0
= 0 ;
23299 char *kwnames
[] = {
23300 (char *) "self", NULL
23303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23305 if (SWIG_arg_fail(1)) SWIG_fail
;
23306 result
= (long) ((arg1
)->m_itemIndex
);
23309 resultobj
= SWIG_From_long(static_cast<long >(result
));
23317 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
= NULL
;
23319 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23321 PyObject
* obj0
= 0 ;
23322 PyObject
* obj1
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "self",(char *) "m_col", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail
;
23331 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23332 if (SWIG_arg_fail(2)) SWIG_fail
;
23334 if (arg1
) (arg1
)->m_col
= arg2
;
23336 Py_INCREF(Py_None
); resultobj
= Py_None
;
23343 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
= NULL
;
23345 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23354 if (SWIG_arg_fail(1)) SWIG_fail
;
23355 result
= (int) ((arg1
)->m_col
);
23358 resultobj
= SWIG_From_int(static_cast<int >(result
));
23366 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
= NULL
;
23368 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23369 wxPoint
*arg2
= (wxPoint
*) 0 ;
23370 PyObject
* obj0
= 0 ;
23371 PyObject
* obj1
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self",(char *) "m_pointDrag", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23378 if (SWIG_arg_fail(1)) SWIG_fail
;
23379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23380 if (SWIG_arg_fail(2)) SWIG_fail
;
23381 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23383 Py_INCREF(Py_None
); resultobj
= Py_None
;
23390 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
= NULL
;
23392 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23401 if (SWIG_arg_fail(1)) SWIG_fail
;
23402 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23411 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
= NULL
;
23413 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23414 wxListItem
*result
;
23415 PyObject
* obj0
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "self", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23422 if (SWIG_arg_fail(1)) SWIG_fail
;
23423 result
= (wxListItem
*)& ((arg1
)->m_item
);
23426 resultobj
= wxPyMake_wxObject(result
, 0);
23434 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
= NULL
;
23436 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23438 PyObject
* obj0
= 0 ;
23439 char *kwnames
[] = {
23440 (char *) "self", NULL
23443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23445 if (SWIG_arg_fail(1)) SWIG_fail
;
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (int)(arg1
)->GetKeyCode();
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= SWIG_From_int(static_cast<int >(result
));
23462 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
= NULL
;
23464 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23466 PyObject
* obj0
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23473 if (SWIG_arg_fail(1)) SWIG_fail
;
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 result
= (long)(arg1
)->GetIndex();
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= SWIG_From_long(static_cast<long >(result
));
23490 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
= NULL
;
23492 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23494 PyObject
* obj0
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23501 if (SWIG_arg_fail(1)) SWIG_fail
;
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 result
= (int)(arg1
)->GetColumn();
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= SWIG_From_int(static_cast<int >(result
));
23518 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
= NULL
;
23520 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23522 PyObject
* obj0
= 0 ;
23523 char *kwnames
[] = {
23524 (char *) "self", NULL
23527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23529 if (SWIG_arg_fail(1)) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= (arg1
)->GetPoint();
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23538 wxPoint
* resultptr
;
23539 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
23540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23548 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
= NULL
;
23550 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23552 PyObject
* obj0
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23559 if (SWIG_arg_fail(1)) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 wxString
const &_result_ref
= (arg1
)->GetLabel();
23564 result
= (wxString
*) &_result_ref
;
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23574 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23583 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
= NULL
;
23585 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23587 PyObject
* obj0
= 0 ;
23588 char *kwnames
[] = {
23589 (char *) "self", NULL
23592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23594 if (SWIG_arg_fail(1)) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 wxString
const &_result_ref
= (arg1
)->GetText();
23599 result
= (wxString
*) &_result_ref
;
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23609 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23618 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
= NULL
;
23620 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23622 PyObject
* obj0
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23629 if (SWIG_arg_fail(1)) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 result
= (int)(arg1
)->GetImage();
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= SWIG_From_int(static_cast<int >(result
));
23646 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
= NULL
;
23648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23650 PyObject
* obj0
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23657 if (SWIG_arg_fail(1)) SWIG_fail
;
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 result
= (long)(arg1
)->GetData();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_From_long(static_cast<long >(result
));
23674 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
= NULL
;
23676 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23678 PyObject
* obj0
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23685 if (SWIG_arg_fail(1)) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= (long)(arg1
)->GetMask();
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_From_long(static_cast<long >(result
));
23702 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
= NULL
;
23704 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23705 wxListItem
*result
;
23706 PyObject
* obj0
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "self", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23713 if (SWIG_arg_fail(1)) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23718 result
= (wxListItem
*) &_result_ref
;
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23731 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23732 PyObject
*resultobj
= NULL
;
23733 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23735 PyObject
* obj0
= 0 ;
23736 char *kwnames
[] = {
23737 (char *) "self", NULL
23740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23742 if (SWIG_arg_fail(1)) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 result
= (long)(arg1
)->GetCacheFrom();
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= SWIG_From_long(static_cast<long >(result
));
23759 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
= NULL
;
23761 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23763 PyObject
* obj0
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "self", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23770 if (SWIG_arg_fail(1)) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (long)(arg1
)->GetCacheTo();
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= SWIG_From_long(static_cast<long >(result
));
23787 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
= NULL
;
23789 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23791 PyObject
* obj0
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23798 if (SWIG_arg_fail(1)) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23815 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
= NULL
;
23817 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23821 char *kwnames
[] = {
23822 (char *) "self",(char *) "editCancelled", NULL
23825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23827 if (SWIG_arg_fail(1)) SWIG_fail
;
23829 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23830 if (SWIG_arg_fail(2)) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 (arg1
)->SetEditCanceled(arg2
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 Py_INCREF(Py_None
); resultobj
= Py_None
;
23846 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23849 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23851 return Py_BuildValue((char *)"");
23853 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
= NULL
;
23855 wxWindow
*arg1
= (wxWindow
*) 0 ;
23856 int arg2
= (int) -1 ;
23857 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23858 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23859 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23860 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23861 long arg5
= (long) wxLC_ICON
;
23862 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23863 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23864 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23865 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23866 wxPyListCtrl
*result
;
23869 bool temp7
= false ;
23870 PyObject
* obj0
= 0 ;
23871 PyObject
* obj1
= 0 ;
23872 PyObject
* obj2
= 0 ;
23873 PyObject
* obj3
= 0 ;
23874 PyObject
* obj4
= 0 ;
23875 PyObject
* obj5
= 0 ;
23876 PyObject
* obj6
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23883 if (SWIG_arg_fail(1)) SWIG_fail
;
23886 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23887 if (SWIG_arg_fail(2)) SWIG_fail
;
23893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23899 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23904 arg5
= static_cast<long >(SWIG_As_long(obj4
));
23905 if (SWIG_arg_fail(5)) SWIG_fail
;
23910 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23911 if (SWIG_arg_fail(6)) SWIG_fail
;
23912 if (arg6
== NULL
) {
23913 SWIG_null_ref("wxValidator");
23915 if (SWIG_arg_fail(6)) SWIG_fail
;
23920 arg7
= wxString_in_helper(obj6
);
23921 if (arg7
== NULL
) SWIG_fail
;
23926 if (!wxPyCheckForApp()) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23948 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
= NULL
;
23950 wxPyListCtrl
*result
;
23951 char *kwnames
[] = {
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23957 if (!wxPyCheckForApp()) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23971 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
= NULL
;
23973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23974 wxWindow
*arg2
= (wxWindow
*) 0 ;
23975 int arg3
= (int) -1 ;
23976 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23977 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23978 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23979 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23980 long arg6
= (long) wxLC_ICON
;
23981 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23982 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23983 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23984 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23988 bool temp8
= false ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 PyObject
* obj2
= 0 ;
23992 PyObject
* obj3
= 0 ;
23993 PyObject
* obj4
= 0 ;
23994 PyObject
* obj5
= 0 ;
23995 PyObject
* obj6
= 0 ;
23996 PyObject
* obj7
= 0 ;
23997 char *kwnames
[] = {
23998 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24003 if (SWIG_arg_fail(1)) SWIG_fail
;
24004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24005 if (SWIG_arg_fail(2)) SWIG_fail
;
24008 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24009 if (SWIG_arg_fail(3)) SWIG_fail
;
24015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24026 arg6
= static_cast<long >(SWIG_As_long(obj5
));
24027 if (SWIG_arg_fail(6)) SWIG_fail
;
24032 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24033 if (SWIG_arg_fail(7)) SWIG_fail
;
24034 if (arg7
== NULL
) {
24035 SWIG_null_ref("wxValidator");
24037 if (SWIG_arg_fail(7)) SWIG_fail
;
24042 arg8
= wxString_in_helper(obj7
);
24043 if (arg8
== NULL
) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24071 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
= NULL
;
24073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24074 PyObject
*arg2
= (PyObject
*) 0 ;
24075 PyObject
*arg3
= (PyObject
*) 0 ;
24076 PyObject
* obj0
= 0 ;
24077 PyObject
* obj1
= 0 ;
24078 PyObject
* obj2
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self",(char *) "self",(char *) "_class", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24085 if (SWIG_arg_fail(1)) SWIG_fail
;
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24092 wxPyEndAllowThreads(__tstate
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24095 Py_INCREF(Py_None
); resultobj
= Py_None
;
24102 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
= NULL
;
24104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24105 wxColour
*arg2
= 0 ;
24108 PyObject
* obj0
= 0 ;
24109 PyObject
* obj1
= 0 ;
24110 char *kwnames
[] = {
24111 (char *) "self",(char *) "col", NULL
24114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24116 if (SWIG_arg_fail(1)) SWIG_fail
;
24119 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24137 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
= NULL
;
24139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24140 wxColour
*arg2
= 0 ;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self",(char *) "col", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail
;
24154 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24172 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
= NULL
;
24174 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24176 wxListItem
*result
;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 char *kwnames
[] = {
24180 (char *) "self",(char *) "col", NULL
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24185 if (SWIG_arg_fail(1)) SWIG_fail
;
24187 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24188 if (SWIG_arg_fail(2)) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= wxPyMake_wxObject(result
, 0);
24206 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
= NULL
;
24208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24210 wxListItem
*arg3
= 0 ;
24212 PyObject
* obj0
= 0 ;
24213 PyObject
* obj1
= 0 ;
24214 PyObject
* obj2
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self",(char *) "col",(char *) "item", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24221 if (SWIG_arg_fail(1)) SWIG_fail
;
24223 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24224 if (SWIG_arg_fail(2)) SWIG_fail
;
24227 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24228 if (SWIG_arg_fail(3)) SWIG_fail
;
24229 if (arg3
== NULL
) {
24230 SWIG_null_ref("wxListItem");
24232 if (SWIG_arg_fail(3)) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24250 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
= NULL
;
24252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self",(char *) "col", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24263 if (SWIG_arg_fail(1)) SWIG_fail
;
24265 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24266 if (SWIG_arg_fail(2)) SWIG_fail
;
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= SWIG_From_int(static_cast<int >(result
));
24284 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
= NULL
;
24286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 PyObject
* obj2
= 0 ;
24293 char *kwnames
[] = {
24294 (char *) "self",(char *) "col",(char *) "width", NULL
24297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24299 if (SWIG_arg_fail(1)) SWIG_fail
;
24301 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24302 if (SWIG_arg_fail(2)) SWIG_fail
;
24305 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24306 if (SWIG_arg_fail(3)) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24324 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
= NULL
;
24326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24328 PyObject
* obj0
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24335 if (SWIG_arg_fail(1)) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= SWIG_From_int(static_cast<int >(result
));
24352 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
= NULL
;
24354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24363 if (SWIG_arg_fail(1)) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24372 wxRect
* resultptr
;
24373 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
24374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24382 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
= NULL
;
24384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24385 wxTextCtrl
*result
;
24386 PyObject
* obj0
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
24392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24393 if (SWIG_arg_fail(1)) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24402 resultobj
= wxPyMake_wxObject(result
, 0);
24410 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
= NULL
;
24412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24414 int arg3
= (int) 0 ;
24415 wxListItem
*result
;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 PyObject
* obj2
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self",(char *) "itemId",(char *) "col", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24425 if (SWIG_arg_fail(1)) SWIG_fail
;
24427 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24428 if (SWIG_arg_fail(2)) SWIG_fail
;
24432 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24433 if (SWIG_arg_fail(3)) SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= wxPyMake_wxObject(result
, 0);
24452 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
= NULL
;
24454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24455 wxListItem
*arg2
= 0 ;
24457 PyObject
* obj0
= 0 ;
24458 PyObject
* obj1
= 0 ;
24459 char *kwnames
[] = {
24460 (char *) "self",(char *) "info", NULL
24463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24465 if (SWIG_arg_fail(1)) SWIG_fail
;
24467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24468 if (SWIG_arg_fail(2)) SWIG_fail
;
24469 if (arg2
== NULL
) {
24470 SWIG_null_ref("wxListItem");
24472 if (SWIG_arg_fail(2)) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= (bool)(arg1
)->SetItem(*arg2
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24490 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
= NULL
;
24492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24495 wxString
*arg4
= 0 ;
24496 int arg5
= (int) -1 ;
24498 bool temp4
= false ;
24499 PyObject
* obj0
= 0 ;
24500 PyObject
* obj1
= 0 ;
24501 PyObject
* obj2
= 0 ;
24502 PyObject
* obj3
= 0 ;
24503 PyObject
* obj4
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24510 if (SWIG_arg_fail(1)) SWIG_fail
;
24512 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24513 if (SWIG_arg_fail(2)) SWIG_fail
;
24516 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24517 if (SWIG_arg_fail(3)) SWIG_fail
;
24520 arg4
= wxString_in_helper(obj3
);
24521 if (arg4
== NULL
) SWIG_fail
;
24526 arg5
= static_cast<int >(SWIG_As_int(obj4
));
24527 if (SWIG_arg_fail(5)) SWIG_fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= SWIG_From_long(static_cast<long >(result
));
24554 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
= NULL
;
24556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 PyObject
* obj2
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24569 if (SWIG_arg_fail(1)) SWIG_fail
;
24571 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24572 if (SWIG_arg_fail(2)) SWIG_fail
;
24575 arg3
= static_cast<long >(SWIG_As_long(obj2
));
24576 if (SWIG_arg_fail(3)) SWIG_fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_From_int(static_cast<int >(result
));
24594 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
= NULL
;
24596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24601 PyObject
* obj0
= 0 ;
24602 PyObject
* obj1
= 0 ;
24603 PyObject
* obj2
= 0 ;
24604 PyObject
* obj3
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail
;
24613 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24614 if (SWIG_arg_fail(2)) SWIG_fail
;
24617 arg3
= static_cast<long >(SWIG_As_long(obj2
));
24618 if (SWIG_arg_fail(3)) SWIG_fail
;
24621 arg4
= static_cast<long >(SWIG_As_long(obj3
));
24622 if (SWIG_arg_fail(4)) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24640 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
= NULL
;
24642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24645 int arg4
= (int) -1 ;
24647 PyObject
* obj0
= 0 ;
24648 PyObject
* obj1
= 0 ;
24649 PyObject
* obj2
= 0 ;
24650 PyObject
* obj3
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail
;
24659 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24660 if (SWIG_arg_fail(2)) SWIG_fail
;
24663 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24664 if (SWIG_arg_fail(3)) SWIG_fail
;
24668 arg4
= static_cast<int >(SWIG_As_int(obj3
));
24669 if (SWIG_arg_fail(4)) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24688 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
= NULL
;
24690 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self",(char *) "item", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24701 if (SWIG_arg_fail(1)) SWIG_fail
;
24703 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24704 if (SWIG_arg_fail(2)) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24726 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
= NULL
;
24728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24730 wxString
*arg3
= 0 ;
24731 bool temp3
= false ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 PyObject
* obj2
= 0 ;
24735 char *kwnames
[] = {
24736 (char *) "self",(char *) "item",(char *) "str", NULL
24739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",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
;
24747 arg3
= wxString_in_helper(obj2
);
24748 if (arg3
== NULL
) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 Py_INCREF(Py_None
); resultobj
= Py_None
;
24773 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= NULL
;
24775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self",(char *) "item", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) 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
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= SWIG_From_long(static_cast<long >(result
));
24807 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
= NULL
;
24809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 PyObject
* obj2
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self",(char *) "item",(char *) "data", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24825 if (SWIG_arg_fail(2)) SWIG_fail
;
24828 arg3
= static_cast<long >(SWIG_As_long(obj2
));
24829 if (SWIG_arg_fail(3)) SWIG_fail
;
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24847 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
= NULL
;
24849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24852 PyObject
* obj0
= 0 ;
24853 PyObject
* obj1
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self",(char *) "item", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24860 if (SWIG_arg_fail(1)) SWIG_fail
;
24862 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24863 if (SWIG_arg_fail(2)) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24873 wxPoint
* resultptr
;
24874 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
24875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24883 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
= NULL
;
24885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24887 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 PyObject
* obj2
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "self",(char *) "item",(char *) "code", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24898 if (SWIG_arg_fail(1)) SWIG_fail
;
24900 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24901 if (SWIG_arg_fail(2)) SWIG_fail
;
24905 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24906 if (SWIG_arg_fail(3)) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24917 wxRect
* resultptr
;
24918 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
24919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24927 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
= NULL
;
24929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24931 wxPoint
*arg3
= 0 ;
24934 PyObject
* obj0
= 0 ;
24935 PyObject
* obj1
= 0 ;
24936 PyObject
* obj2
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "self",(char *) "item",(char *) "pos", NULL
24941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24943 if (SWIG_arg_fail(1)) SWIG_fail
;
24945 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24946 if (SWIG_arg_fail(2)) SWIG_fail
;
24950 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24954 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24968 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
= NULL
;
24970 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24972 PyObject
* obj0
= 0 ;
24973 char *kwnames
[] = {
24974 (char *) "self", NULL
24977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24979 if (SWIG_arg_fail(1)) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= SWIG_From_int(static_cast<int >(result
));
24996 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
= NULL
;
24998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25000 PyObject
* obj0
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
25006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25007 if (SWIG_arg_fail(1)) SWIG_fail
;
25009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_From_int(static_cast<int >(result
));
25024 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
= NULL
;
25026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25028 PyObject
* obj0
= 0 ;
25029 char *kwnames
[] = {
25030 (char *) "self", NULL
25033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
25034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25035 if (SWIG_arg_fail(1)) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25044 wxSize
* resultptr
;
25045 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
25046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25054 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
= NULL
;
25056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25058 PyObject
* obj0
= 0 ;
25059 char *kwnames
[] = {
25060 (char *) "self", NULL
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25065 if (SWIG_arg_fail(1)) SWIG_fail
;
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= SWIG_From_int(static_cast<int >(result
));
25082 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
= NULL
;
25084 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25086 PyObject
* obj0
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25093 if (SWIG_arg_fail(1)) SWIG_fail
;
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25102 wxColour
* resultptr
;
25103 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
25104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25112 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
= NULL
;
25114 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25115 wxColour
*arg2
= 0 ;
25117 PyObject
* obj0
= 0 ;
25118 PyObject
* obj1
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self",(char *) "col", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25125 if (SWIG_arg_fail(1)) SWIG_fail
;
25128 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 Py_INCREF(Py_None
); resultobj
= Py_None
;
25144 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
= NULL
;
25146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25148 PyObject
* obj0
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "self", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25155 if (SWIG_arg_fail(1)) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_From_long(static_cast<long >(result
));
25172 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
= NULL
;
25174 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25176 bool arg3
= (bool) true ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 PyObject
* obj2
= 0 ;
25180 char *kwnames
[] = {
25181 (char *) "self",(char *) "style",(char *) "add", NULL
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25186 if (SWIG_arg_fail(1)) SWIG_fail
;
25188 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25189 if (SWIG_arg_fail(2)) SWIG_fail
;
25193 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
25194 if (SWIG_arg_fail(3)) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 (arg1
)->SetSingleStyle(arg2
,arg3
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 Py_INCREF(Py_None
); resultobj
= Py_None
;
25211 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
= NULL
;
25213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self",(char *) "style", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail
;
25225 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25226 if (SWIG_arg_fail(2)) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 (arg1
)->SetWindowStyleFlag(arg2
);
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 Py_INCREF(Py_None
); resultobj
= Py_None
;
25242 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
= NULL
;
25244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25246 int arg3
= (int) wxLIST_NEXT_ALL
;
25247 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 PyObject
* obj2
= 0 ;
25252 PyObject
* obj3
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25259 if (SWIG_arg_fail(1)) SWIG_fail
;
25261 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25262 if (SWIG_arg_fail(2)) SWIG_fail
;
25266 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25267 if (SWIG_arg_fail(3)) SWIG_fail
;
25272 arg4
= static_cast<int >(SWIG_As_int(obj3
));
25273 if (SWIG_arg_fail(4)) SWIG_fail
;
25277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25278 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25280 wxPyEndAllowThreads(__tstate
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_From_long(static_cast<long >(result
));
25292 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
= NULL
;
25294 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25296 wxImageList
*result
;
25297 PyObject
* obj0
= 0 ;
25298 PyObject
* obj1
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "self",(char *) "which", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25305 if (SWIG_arg_fail(1)) SWIG_fail
;
25307 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25308 if (SWIG_arg_fail(2)) SWIG_fail
;
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= wxPyMake_wxObject(result
, 0);
25326 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
= NULL
;
25328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25329 wxImageList
*arg2
= (wxImageList
*) 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 PyObject
* obj2
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self",(char *) "imageList",(char *) "which", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25340 if (SWIG_arg_fail(1)) SWIG_fail
;
25341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25342 if (SWIG_arg_fail(2)) SWIG_fail
;
25344 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25345 if (SWIG_arg_fail(3)) SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 (arg1
)->SetImageList(arg2
,arg3
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 Py_INCREF(Py_None
); resultobj
= Py_None
;
25361 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
= NULL
;
25363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25364 wxImageList
*arg2
= (wxImageList
*) 0 ;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 PyObject
* obj2
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self",(char *) "imageList",(char *) "which", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25375 if (SWIG_arg_fail(1)) SWIG_fail
;
25376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25377 if (SWIG_arg_fail(2)) SWIG_fail
;
25379 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25380 if (SWIG_arg_fail(3)) SWIG_fail
;
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 (arg1
)->AssignImageList(arg2
,arg3
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 Py_INCREF(Py_None
); resultobj
= Py_None
;
25396 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
= NULL
;
25398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25400 PyObject
* obj0
= 0 ;
25401 char *kwnames
[] = {
25402 (char *) "self", NULL
25405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25407 if (SWIG_arg_fail(1)) SWIG_fail
;
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25424 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
= NULL
;
25426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25435 if (SWIG_arg_fail(1)) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25452 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
= NULL
;
25454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25456 PyObject
* obj0
= 0 ;
25457 PyObject
* obj1
= 0 ;
25458 char *kwnames
[] = {
25459 (char *) "self",(char *) "item", NULL
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25464 if (SWIG_arg_fail(1)) SWIG_fail
;
25466 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25467 if (SWIG_arg_fail(2)) SWIG_fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 (arg1
)->RefreshItem(arg2
);
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 Py_INCREF(Py_None
); resultobj
= Py_None
;
25483 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
= NULL
;
25485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25488 PyObject
* obj0
= 0 ;
25489 PyObject
* obj1
= 0 ;
25490 PyObject
* obj2
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25497 if (SWIG_arg_fail(1)) SWIG_fail
;
25499 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25500 if (SWIG_arg_fail(2)) SWIG_fail
;
25503 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25504 if (SWIG_arg_fail(3)) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 (arg1
)->RefreshItems(arg2
,arg3
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 Py_INCREF(Py_None
); resultobj
= Py_None
;
25520 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
= NULL
;
25522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25523 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self",(char *) "flag", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25533 if (SWIG_arg_fail(1)) SWIG_fail
;
25536 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25537 if (SWIG_arg_fail(2)) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 result
= (bool)(arg1
)->Arrange(arg2
);
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25556 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
= NULL
;
25558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25561 PyObject
* obj0
= 0 ;
25562 PyObject
* obj1
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self",(char *) "item", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25569 if (SWIG_arg_fail(1)) SWIG_fail
;
25571 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25572 if (SWIG_arg_fail(2)) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (bool)(arg1
)->DeleteItem(arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25590 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
= NULL
;
25592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25594 PyObject
* obj0
= 0 ;
25595 char *kwnames
[] = {
25596 (char *) "self", NULL
25599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25601 if (SWIG_arg_fail(1)) SWIG_fail
;
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 result
= (bool)(arg1
)->DeleteAllItems();
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25618 static PyObject
*_wrap_ListCtrl_DeleteColumn(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 *) "col", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",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<int >(SWIG_As_int(obj1
));
25634 if (SWIG_arg_fail(2)) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 result
= (bool)(arg1
)->DeleteColumn(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_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
= NULL
;
25654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25656 PyObject
* obj0
= 0 ;
25657 char *kwnames
[] = {
25658 (char *) "self", NULL
25661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25663 if (SWIG_arg_fail(1)) SWIG_fail
;
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (bool)(arg1
)->DeleteAllColumns();
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25680 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
= NULL
;
25682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25683 PyObject
* obj0
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25690 if (SWIG_arg_fail(1)) SWIG_fail
;
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 (arg1
)->ClearAll();
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 Py_INCREF(Py_None
); resultobj
= Py_None
;
25705 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= NULL
;
25707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25709 wxTextCtrl
*result
;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self",(char *) "item", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25718 if (SWIG_arg_fail(1)) SWIG_fail
;
25720 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25721 if (SWIG_arg_fail(2)) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= wxPyMake_wxObject(result
, 0);
25739 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
= NULL
;
25741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 char *kwnames
[] = {
25747 (char *) "self",(char *) "cancel", NULL
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25752 if (SWIG_arg_fail(1)) SWIG_fail
;
25754 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
25755 if (SWIG_arg_fail(2)) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 result
= (bool)(arg1
)->EndEditLabel(arg2
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25773 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
= NULL
;
25775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 char *kwnames
[] = {
25781 (char *) "self",(char *) "item", NULL
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25786 if (SWIG_arg_fail(1)) SWIG_fail
;
25788 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25789 if (SWIG_arg_fail(2)) SWIG_fail
;
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25807 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25808 PyObject
*resultobj
= NULL
;
25809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25811 wxString
*arg3
= 0 ;
25812 bool arg4
= (bool) false ;
25814 bool temp3
= false ;
25815 PyObject
* obj0
= 0 ;
25816 PyObject
* obj1
= 0 ;
25817 PyObject
* obj2
= 0 ;
25818 PyObject
* obj3
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail
;
25827 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25828 if (SWIG_arg_fail(2)) SWIG_fail
;
25831 arg3
= wxString_in_helper(obj2
);
25832 if (arg3
== NULL
) SWIG_fail
;
25837 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
25838 if (SWIG_arg_fail(4)) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_From_long(static_cast<long >(result
));
25865 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
= NULL
;
25867 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 PyObject
* obj2
= 0 ;
25874 char *kwnames
[] = {
25875 (char *) "self",(char *) "start",(char *) "data", NULL
25878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25880 if (SWIG_arg_fail(1)) SWIG_fail
;
25882 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25883 if (SWIG_arg_fail(2)) SWIG_fail
;
25886 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25887 if (SWIG_arg_fail(3)) SWIG_fail
;
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_From_long(static_cast<long >(result
));
25905 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
= NULL
;
25907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25909 wxPoint
*arg3
= 0 ;
25913 PyObject
* obj0
= 0 ;
25914 PyObject
* obj1
= 0 ;
25915 PyObject
* obj2
= 0 ;
25916 PyObject
* obj3
= 0 ;
25917 char *kwnames
[] = {
25918 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25923 if (SWIG_arg_fail(1)) SWIG_fail
;
25925 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25926 if (SWIG_arg_fail(2)) SWIG_fail
;
25930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25933 arg4
= static_cast<int >(SWIG_As_int(obj3
));
25934 if (SWIG_arg_fail(4)) SWIG_fail
;
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= SWIG_From_long(static_cast<long >(result
));
25952 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
= NULL
;
25954 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25955 wxPoint
*arg2
= 0 ;
25961 PyObject
* obj0
= 0 ;
25962 PyObject
* obj1
= 0 ;
25963 char *kwnames
[] = {
25964 (char *) "self",(char *) "point", NULL
25967 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25970 if (SWIG_arg_fail(1)) SWIG_fail
;
25973 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_From_long(static_cast<long >(result
));
25985 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25986 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25993 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
= NULL
;
25995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25996 wxListItem
*arg2
= 0 ;
25998 PyObject
* obj0
= 0 ;
25999 PyObject
* obj1
= 0 ;
26000 char *kwnames
[] = {
26001 (char *) "self",(char *) "info", NULL
26004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26006 if (SWIG_arg_fail(1)) SWIG_fail
;
26008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26009 if (SWIG_arg_fail(2)) SWIG_fail
;
26010 if (arg2
== NULL
) {
26011 SWIG_null_ref("wxListItem");
26013 if (SWIG_arg_fail(2)) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= (long)(arg1
)->InsertItem(*arg2
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= SWIG_From_long(static_cast<long >(result
));
26031 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
= NULL
;
26033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26035 wxString
*arg3
= 0 ;
26036 int arg4
= (int) -1 ;
26038 bool temp3
= false ;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 PyObject
* obj2
= 0 ;
26042 PyObject
* obj3
= 0 ;
26043 char *kwnames
[] = {
26044 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26049 if (SWIG_arg_fail(1)) SWIG_fail
;
26051 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26052 if (SWIG_arg_fail(2)) SWIG_fail
;
26055 arg3
= wxString_in_helper(obj2
);
26056 if (arg3
== NULL
) SWIG_fail
;
26061 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26062 if (SWIG_arg_fail(4)) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= SWIG_From_long(static_cast<long >(result
));
26089 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
= NULL
;
26091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 PyObject
* obj2
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26104 if (SWIG_arg_fail(1)) SWIG_fail
;
26106 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26107 if (SWIG_arg_fail(2)) SWIG_fail
;
26110 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26111 if (SWIG_arg_fail(3)) SWIG_fail
;
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= SWIG_From_long(static_cast<long >(result
));
26129 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
= NULL
;
26131 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26133 wxString
*arg3
= 0 ;
26136 bool temp3
= false ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 PyObject
* obj2
= 0 ;
26140 PyObject
* obj3
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26147 if (SWIG_arg_fail(1)) SWIG_fail
;
26149 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26150 if (SWIG_arg_fail(2)) SWIG_fail
;
26153 arg3
= wxString_in_helper(obj2
);
26154 if (arg3
== NULL
) SWIG_fail
;
26158 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26159 if (SWIG_arg_fail(4)) SWIG_fail
;
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= SWIG_From_long(static_cast<long >(result
));
26185 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
= NULL
;
26187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26189 wxListItem
*arg3
= 0 ;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 PyObject
* obj2
= 0 ;
26194 char *kwnames
[] = {
26195 (char *) "self",(char *) "col",(char *) "info", NULL
26198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26200 if (SWIG_arg_fail(1)) SWIG_fail
;
26202 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26203 if (SWIG_arg_fail(2)) SWIG_fail
;
26206 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26207 if (SWIG_arg_fail(3)) SWIG_fail
;
26208 if (arg3
== NULL
) {
26209 SWIG_null_ref("wxListItem");
26211 if (SWIG_arg_fail(3)) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= SWIG_From_long(static_cast<long >(result
));
26229 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
= NULL
;
26231 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26233 wxString
*arg3
= 0 ;
26234 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26235 int arg5
= (int) -1 ;
26237 bool temp3
= false ;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 PyObject
* obj2
= 0 ;
26241 PyObject
* obj3
= 0 ;
26242 PyObject
* obj4
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26249 if (SWIG_arg_fail(1)) SWIG_fail
;
26251 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26252 if (SWIG_arg_fail(2)) SWIG_fail
;
26255 arg3
= wxString_in_helper(obj2
);
26256 if (arg3
== NULL
) SWIG_fail
;
26261 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26262 if (SWIG_arg_fail(4)) SWIG_fail
;
26267 arg5
= static_cast<int >(SWIG_As_int(obj4
));
26268 if (SWIG_arg_fail(5)) SWIG_fail
;
26272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26273 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= SWIG_From_long(static_cast<long >(result
));
26295 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
= NULL
;
26297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26299 PyObject
* obj0
= 0 ;
26300 PyObject
* obj1
= 0 ;
26301 char *kwnames
[] = {
26302 (char *) "self",(char *) "count", NULL
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26307 if (SWIG_arg_fail(1)) SWIG_fail
;
26309 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26310 if (SWIG_arg_fail(2)) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->SetItemCount(arg2
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 Py_INCREF(Py_None
); resultobj
= Py_None
;
26326 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
= NULL
;
26328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 PyObject
* obj2
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self",(char *) "dx",(char *) "dy", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26341 if (SWIG_arg_fail(1)) SWIG_fail
;
26343 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26344 if (SWIG_arg_fail(2)) SWIG_fail
;
26347 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26348 if (SWIG_arg_fail(3)) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26366 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
= NULL
;
26368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26370 wxColour
*arg3
= 0 ;
26372 PyObject
* obj0
= 0 ;
26373 PyObject
* obj1
= 0 ;
26374 PyObject
* obj2
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "item",(char *) "col", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail
;
26383 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26384 if (SWIG_arg_fail(2)) SWIG_fail
;
26388 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 Py_INCREF(Py_None
); resultobj
= Py_None
;
26404 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
= NULL
;
26406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self",(char *) "item", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26417 if (SWIG_arg_fail(1)) SWIG_fail
;
26419 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26420 if (SWIG_arg_fail(2)) SWIG_fail
;
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26430 wxColour
* resultptr
;
26431 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
26432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26440 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26441 PyObject
*resultobj
= NULL
;
26442 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26444 wxColour
*arg3
= 0 ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 PyObject
* obj2
= 0 ;
26449 char *kwnames
[] = {
26450 (char *) "self",(char *) "item",(char *) "col", NULL
26453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26455 if (SWIG_arg_fail(1)) SWIG_fail
;
26457 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26458 if (SWIG_arg_fail(2)) SWIG_fail
;
26462 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 Py_INCREF(Py_None
); resultobj
= Py_None
;
26478 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26479 PyObject
*resultobj
= NULL
;
26480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26483 PyObject
* obj0
= 0 ;
26484 PyObject
* obj1
= 0 ;
26485 char *kwnames
[] = {
26486 (char *) "self",(char *) "item", NULL
26489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26491 if (SWIG_arg_fail(1)) SWIG_fail
;
26493 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26494 if (SWIG_arg_fail(2)) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26504 wxColour
* resultptr
;
26505 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
26506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26514 static PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
= NULL
;
26516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26519 PyObject
* obj0
= 0 ;
26520 PyObject
* obj1
= 0 ;
26521 PyObject
* obj2
= 0 ;
26522 char *kwnames
[] = {
26523 (char *) "self",(char *) "item",(char *) "f", NULL
26526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26528 if (SWIG_arg_fail(1)) SWIG_fail
;
26530 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26531 if (SWIG_arg_fail(2)) SWIG_fail
;
26534 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
26535 if (SWIG_arg_fail(3)) SWIG_fail
;
26536 if (arg3
== NULL
) {
26537 SWIG_null_ref("wxFont");
26539 if (SWIG_arg_fail(3)) SWIG_fail
;
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26548 Py_INCREF(Py_None
); resultobj
= Py_None
;
26555 static PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
= NULL
;
26557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 PyObject
* obj1
= 0 ;
26562 char *kwnames
[] = {
26563 (char *) "self",(char *) "item", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26568 if (SWIG_arg_fail(1)) SWIG_fail
;
26570 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26571 if (SWIG_arg_fail(2)) SWIG_fail
;
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26581 wxFont
* resultptr
;
26582 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
26583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26591 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26592 PyObject
*resultobj
= NULL
;
26593 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26594 PyObject
*arg2
= (PyObject
*) 0 ;
26596 PyObject
* obj0
= 0 ;
26597 PyObject
* obj1
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self",(char *) "func", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26604 if (SWIG_arg_fail(1)) SWIG_fail
;
26607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26608 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26622 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26623 PyObject
*resultobj
= NULL
;
26624 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26626 PyObject
* obj0
= 0 ;
26627 char *kwnames
[] = {
26628 (char *) "self", NULL
26631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26633 if (SWIG_arg_fail(1)) SWIG_fail
;
26635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26636 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26638 wxPyEndAllowThreads(__tstate
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= wxPyMake_wxObject(result
, 0);
26650 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
= NULL
;
26652 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26653 wxVisualAttributes result
;
26654 PyObject
* obj0
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "variant", NULL
26659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26662 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
26663 if (SWIG_arg_fail(1)) SWIG_fail
;
26667 if (!wxPyCheckForApp()) SWIG_fail
;
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26675 wxVisualAttributes
* resultptr
;
26676 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
26677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26685 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26688 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26690 return Py_BuildValue((char *)"");
26692 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
= NULL
;
26694 wxWindow
*arg1
= (wxWindow
*) 0 ;
26695 int arg2
= (int) -1 ;
26696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26700 long arg5
= (long) wxLC_REPORT
;
26701 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26702 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26703 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26705 wxListView
*result
;
26708 bool temp7
= false ;
26709 PyObject
* obj0
= 0 ;
26710 PyObject
* obj1
= 0 ;
26711 PyObject
* obj2
= 0 ;
26712 PyObject
* obj3
= 0 ;
26713 PyObject
* obj4
= 0 ;
26714 PyObject
* obj5
= 0 ;
26715 PyObject
* obj6
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26722 if (SWIG_arg_fail(1)) SWIG_fail
;
26725 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26726 if (SWIG_arg_fail(2)) SWIG_fail
;
26732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26743 arg5
= static_cast<long >(SWIG_As_long(obj4
));
26744 if (SWIG_arg_fail(5)) SWIG_fail
;
26749 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26750 if (SWIG_arg_fail(6)) SWIG_fail
;
26751 if (arg6
== NULL
) {
26752 SWIG_null_ref("wxValidator");
26754 if (SWIG_arg_fail(6)) SWIG_fail
;
26759 arg7
= wxString_in_helper(obj6
);
26760 if (arg7
== NULL
) SWIG_fail
;
26765 if (!wxPyCheckForApp()) SWIG_fail
;
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26787 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
= NULL
;
26789 wxListView
*result
;
26790 char *kwnames
[] = {
26794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26796 if (!wxPyCheckForApp()) SWIG_fail
;
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= (wxListView
*)new wxListView();
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26810 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
= NULL
;
26812 wxListView
*arg1
= (wxListView
*) 0 ;
26813 wxWindow
*arg2
= (wxWindow
*) 0 ;
26814 int arg3
= (int) -1 ;
26815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26819 long arg6
= (long) wxLC_REPORT
;
26820 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26821 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26822 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26823 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26827 bool temp8
= false ;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 PyObject
* obj2
= 0 ;
26831 PyObject
* obj3
= 0 ;
26832 PyObject
* obj4
= 0 ;
26833 PyObject
* obj5
= 0 ;
26834 PyObject
* obj6
= 0 ;
26835 PyObject
* obj7
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26842 if (SWIG_arg_fail(1)) SWIG_fail
;
26843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26844 if (SWIG_arg_fail(2)) SWIG_fail
;
26847 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26848 if (SWIG_arg_fail(3)) SWIG_fail
;
26854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26860 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26865 arg6
= static_cast<long >(SWIG_As_long(obj5
));
26866 if (SWIG_arg_fail(6)) SWIG_fail
;
26871 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26872 if (SWIG_arg_fail(7)) SWIG_fail
;
26873 if (arg7
== NULL
) {
26874 SWIG_null_ref("wxValidator");
26876 if (SWIG_arg_fail(7)) SWIG_fail
;
26881 arg8
= wxString_in_helper(obj7
);
26882 if (arg8
== NULL
) SWIG_fail
;
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26910 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
= NULL
;
26912 wxListView
*arg1
= (wxListView
*) 0 ;
26914 bool arg3
= (bool) true ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 PyObject
* obj2
= 0 ;
26918 char *kwnames
[] = {
26919 (char *) "self",(char *) "n",(char *) "on", NULL
26922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26924 if (SWIG_arg_fail(1)) SWIG_fail
;
26926 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26927 if (SWIG_arg_fail(2)) SWIG_fail
;
26931 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
26932 if (SWIG_arg_fail(3)) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 (arg1
)->Select(arg2
,arg3
);
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 Py_INCREF(Py_None
); resultobj
= Py_None
;
26949 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
= NULL
;
26951 wxListView
*arg1
= (wxListView
*) 0 ;
26953 PyObject
* obj0
= 0 ;
26954 PyObject
* obj1
= 0 ;
26955 char *kwnames
[] = {
26956 (char *) "self",(char *) "index", NULL
26959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26961 if (SWIG_arg_fail(1)) SWIG_fail
;
26963 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26964 if (SWIG_arg_fail(2)) SWIG_fail
;
26967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 (arg1
)->Focus(arg2
);
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26973 Py_INCREF(Py_None
); resultobj
= Py_None
;
26980 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26981 PyObject
*resultobj
= NULL
;
26982 wxListView
*arg1
= (wxListView
*) 0 ;
26984 PyObject
* obj0
= 0 ;
26985 char *kwnames
[] = {
26986 (char *) "self", NULL
26989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26991 if (SWIG_arg_fail(1)) SWIG_fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= SWIG_From_long(static_cast<long >(result
));
27008 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
= NULL
;
27010 wxListView
*arg1
= (wxListView
*) 0 ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self",(char *) "item", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
27020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27021 if (SWIG_arg_fail(1)) SWIG_fail
;
27023 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27024 if (SWIG_arg_fail(2)) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27034 resultobj
= SWIG_From_long(static_cast<long >(result
));
27042 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27043 PyObject
*resultobj
= NULL
;
27044 wxListView
*arg1
= (wxListView
*) 0 ;
27046 PyObject
* obj0
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
27052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_From_long(static_cast<long >(result
));
27070 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
= NULL
;
27072 wxListView
*arg1
= (wxListView
*) 0 ;
27075 PyObject
* obj0
= 0 ;
27076 PyObject
* obj1
= 0 ;
27077 char *kwnames
[] = {
27078 (char *) "self",(char *) "index", NULL
27081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
27082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27083 if (SWIG_arg_fail(1)) SWIG_fail
;
27085 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27086 if (SWIG_arg_fail(2)) SWIG_fail
;
27089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 result
= (bool)(arg1
)->IsSelected(arg2
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27104 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27105 PyObject
*resultobj
= NULL
;
27106 wxListView
*arg1
= (wxListView
*) 0 ;
27109 PyObject
* obj0
= 0 ;
27110 PyObject
* obj1
= 0 ;
27111 PyObject
* obj2
= 0 ;
27112 char *kwnames
[] = {
27113 (char *) "self",(char *) "col",(char *) "image", NULL
27116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail
;
27120 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27121 if (SWIG_arg_fail(2)) SWIG_fail
;
27124 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27125 if (SWIG_arg_fail(3)) SWIG_fail
;
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 (arg1
)->SetColumnImage(arg2
,arg3
);
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27134 Py_INCREF(Py_None
); resultobj
= Py_None
;
27141 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
= NULL
;
27143 wxListView
*arg1
= (wxListView
*) 0 ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self",(char *) "col", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27153 if (SWIG_arg_fail(1)) SWIG_fail
;
27155 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27156 if (SWIG_arg_fail(2)) SWIG_fail
;
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 (arg1
)->ClearColumnImage(arg2
);
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27165 Py_INCREF(Py_None
); resultobj
= Py_None
;
27172 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27175 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27177 return Py_BuildValue((char *)"");
27179 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27180 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27185 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27186 PyObject
*pyobj
= NULL
;
27190 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27192 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27199 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
= NULL
;
27201 wxTreeItemId
*result
;
27202 char *kwnames
[] = {
27206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 result
= (wxTreeItemId
*)new wxTreeItemId();
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27221 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
= NULL
;
27223 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27224 PyObject
* obj0
= 0 ;
27225 char *kwnames
[] = {
27226 (char *) "self", NULL
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27231 if (SWIG_arg_fail(1)) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 Py_INCREF(Py_None
); resultobj
= Py_None
;
27246 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
= NULL
;
27248 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27250 PyObject
* obj0
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27257 if (SWIG_arg_fail(1)) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27274 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
= NULL
;
27276 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27277 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27279 PyObject
* obj0
= 0 ;
27280 PyObject
* obj1
= 0 ;
27281 char *kwnames
[] = {
27282 (char *) "self",(char *) "other", NULL
27285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27287 if (SWIG_arg_fail(1)) SWIG_fail
;
27288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27289 if (SWIG_arg_fail(2)) SWIG_fail
;
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27294 wxPyEndAllowThreads(__tstate
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27306 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27307 PyObject
*resultobj
= NULL
;
27308 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27309 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27311 PyObject
* obj0
= 0 ;
27312 PyObject
* obj1
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self",(char *) "other", NULL
27317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27319 if (SWIG_arg_fail(1)) SWIG_fail
;
27320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27321 if (SWIG_arg_fail(2)) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27338 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
= NULL
;
27340 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27341 void *arg2
= (void *) 0 ;
27342 PyObject
* obj0
= 0 ;
27343 PyObject
* obj1
= 0 ;
27344 char *kwnames
[] = {
27345 (char *) "self",(char *) "m_pItem", NULL
27348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27350 if (SWIG_arg_fail(1)) SWIG_fail
;
27352 if ((SWIG_ConvertPtr(obj1
,reinterpret_cast<void ** >(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27353 SWIG_arg_fail(2);SWIG_fail
;
27356 if (arg1
) (arg1
)->m_pItem
= arg2
;
27358 Py_INCREF(Py_None
); resultobj
= Py_None
;
27365 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
= NULL
;
27367 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27369 PyObject
* obj0
= 0 ;
27370 char *kwnames
[] = {
27371 (char *) "self", NULL
27374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27376 if (SWIG_arg_fail(1)) SWIG_fail
;
27377 result
= (void *) ((arg1
)->m_pItem
);
27379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27386 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27389 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27391 return Py_BuildValue((char *)"");
27393 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
= NULL
;
27395 PyObject
*arg1
= (PyObject
*) NULL
;
27396 wxPyTreeItemData
*result
;
27397 PyObject
* obj0
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "obj", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27420 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27421 PyObject
*resultobj
= NULL
;
27422 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27424 PyObject
* obj0
= 0 ;
27425 char *kwnames
[] = {
27426 (char *) "self", NULL
27429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27431 if (SWIG_arg_fail(1)) SWIG_fail
;
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (PyObject
*)(arg1
)->GetData();
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= result
;
27446 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27447 PyObject
*resultobj
= NULL
;
27448 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27449 PyObject
*arg2
= (PyObject
*) 0 ;
27450 PyObject
* obj0
= 0 ;
27451 PyObject
* obj1
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self",(char *) "obj", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27458 if (SWIG_arg_fail(1)) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 (arg1
)->SetData(arg2
);
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 Py_INCREF(Py_None
); resultobj
= Py_None
;
27474 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
= NULL
;
27476 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27477 wxTreeItemId
*result
;
27478 PyObject
* obj0
= 0 ;
27479 char *kwnames
[] = {
27480 (char *) "self", NULL
27483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27485 if (SWIG_arg_fail(1)) SWIG_fail
;
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27490 result
= (wxTreeItemId
*) &_result_ref
;
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27503 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
= NULL
;
27505 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27506 wxTreeItemId
*arg2
= 0 ;
27507 PyObject
* obj0
= 0 ;
27508 PyObject
* obj1
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self",(char *) "id", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27515 if (SWIG_arg_fail(1)) SWIG_fail
;
27517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27518 if (SWIG_arg_fail(2)) SWIG_fail
;
27519 if (arg2
== NULL
) {
27520 SWIG_null_ref("wxTreeItemId");
27522 if (SWIG_arg_fail(2)) SWIG_fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 Py_INCREF(Py_None
); resultobj
= Py_None
;
27538 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
= NULL
;
27540 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27541 PyObject
* obj0
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27548 if (SWIG_arg_fail(1)) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 wxPyTreeItemData_Destroy(arg1
);
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 Py_INCREF(Py_None
); resultobj
= Py_None
;
27563 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27566 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27568 return Py_BuildValue((char *)"");
27570 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
= NULL
;
27572 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27573 int arg2
= (int) 0 ;
27574 wxTreeEvent
*result
;
27575 PyObject
* obj0
= 0 ;
27576 PyObject
* obj1
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "commandType",(char *) "id", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27584 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
27585 if (SWIG_arg_fail(1)) SWIG_fail
;
27590 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27591 if (SWIG_arg_fail(2)) SWIG_fail
;
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27608 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27609 PyObject
*resultobj
= NULL
;
27610 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27611 wxTreeItemId result
;
27612 PyObject
* obj0
= 0 ;
27613 char *kwnames
[] = {
27614 (char *) "self", NULL
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27619 if (SWIG_arg_fail(1)) SWIG_fail
;
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27622 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27628 wxTreeItemId
* resultptr
;
27629 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
27630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27638 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
= NULL
;
27640 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27641 wxTreeItemId
*arg2
= 0 ;
27642 PyObject
* obj0
= 0 ;
27643 PyObject
* obj1
= 0 ;
27644 char *kwnames
[] = {
27645 (char *) "self",(char *) "item", NULL
27648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27650 if (SWIG_arg_fail(1)) SWIG_fail
;
27652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27653 if (SWIG_arg_fail(2)) SWIG_fail
;
27654 if (arg2
== NULL
) {
27655 SWIG_null_ref("wxTreeItemId");
27657 if (SWIG_arg_fail(2)) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 Py_INCREF(Py_None
); resultobj
= Py_None
;
27673 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27674 PyObject
*resultobj
= NULL
;
27675 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27676 wxTreeItemId result
;
27677 PyObject
* obj0
= 0 ;
27678 char *kwnames
[] = {
27679 (char *) "self", NULL
27682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27684 if (SWIG_arg_fail(1)) SWIG_fail
;
27686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27689 wxPyEndAllowThreads(__tstate
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27693 wxTreeItemId
* resultptr
;
27694 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
27695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27703 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
= NULL
;
27705 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27706 wxTreeItemId
*arg2
= 0 ;
27707 PyObject
* obj0
= 0 ;
27708 PyObject
* obj1
= 0 ;
27709 char *kwnames
[] = {
27710 (char *) "self",(char *) "item", NULL
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27715 if (SWIG_arg_fail(1)) SWIG_fail
;
27717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27718 if (SWIG_arg_fail(2)) SWIG_fail
;
27719 if (arg2
== NULL
) {
27720 SWIG_null_ref("wxTreeItemId");
27722 if (SWIG_arg_fail(2)) SWIG_fail
;
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 Py_INCREF(Py_None
); resultobj
= Py_None
;
27738 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
= NULL
;
27740 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27742 PyObject
* obj0
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "self", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27749 if (SWIG_arg_fail(1)) SWIG_fail
;
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27752 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27754 wxPyEndAllowThreads(__tstate
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27758 wxPoint
* resultptr
;
27759 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
27760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27768 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27769 PyObject
*resultobj
= NULL
;
27770 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27771 wxPoint
*arg2
= 0 ;
27773 PyObject
* obj0
= 0 ;
27774 PyObject
* obj1
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "self",(char *) "pt", NULL
27779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27781 if (SWIG_arg_fail(1)) SWIG_fail
;
27784 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 Py_INCREF(Py_None
); resultobj
= Py_None
;
27800 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
= NULL
;
27802 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27803 wxKeyEvent
*result
;
27804 PyObject
* obj0
= 0 ;
27805 char *kwnames
[] = {
27806 (char *) "self", NULL
27809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27811 if (SWIG_arg_fail(1)) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27816 result
= (wxKeyEvent
*) &_result_ref
;
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27829 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
= NULL
;
27831 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27833 PyObject
* obj0
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27840 if (SWIG_arg_fail(1)) SWIG_fail
;
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27843 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= SWIG_From_int(static_cast<int >(result
));
27857 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27858 PyObject
*resultobj
= NULL
;
27859 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27860 wxKeyEvent
*arg2
= 0 ;
27861 PyObject
* obj0
= 0 ;
27862 PyObject
* obj1
= 0 ;
27863 char *kwnames
[] = {
27864 (char *) "self",(char *) "evt", NULL
27867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27869 if (SWIG_arg_fail(1)) SWIG_fail
;
27871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27872 if (SWIG_arg_fail(2)) SWIG_fail
;
27873 if (arg2
== NULL
) {
27874 SWIG_null_ref("wxKeyEvent");
27876 if (SWIG_arg_fail(2)) SWIG_fail
;
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27885 Py_INCREF(Py_None
); resultobj
= Py_None
;
27892 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
= NULL
;
27894 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27896 PyObject
* obj0
= 0 ;
27897 char *kwnames
[] = {
27898 (char *) "self", NULL
27901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27903 if (SWIG_arg_fail(1)) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27908 result
= (wxString
*) &_result_ref
;
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27918 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27927 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
= NULL
;
27929 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27930 wxString
*arg2
= 0 ;
27931 bool temp2
= false ;
27932 PyObject
* obj0
= 0 ;
27933 PyObject
* obj1
= 0 ;
27934 char *kwnames
[] = {
27935 (char *) "self",(char *) "label", NULL
27938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27940 if (SWIG_arg_fail(1)) SWIG_fail
;
27942 arg2
= wxString_in_helper(obj1
);
27943 if (arg2
== NULL
) SWIG_fail
;
27947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27948 (arg1
)->SetLabel((wxString
const &)*arg2
);
27950 wxPyEndAllowThreads(__tstate
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27953 Py_INCREF(Py_None
); resultobj
= Py_None
;
27968 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
= NULL
;
27970 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27972 PyObject
* obj0
= 0 ;
27973 char *kwnames
[] = {
27974 (char *) "self", NULL
27977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27979 if (SWIG_arg_fail(1)) SWIG_fail
;
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27996 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
= NULL
;
27998 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 char *kwnames
[] = {
28003 (char *) "self",(char *) "editCancelled", NULL
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
28007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28008 if (SWIG_arg_fail(1)) SWIG_fail
;
28010 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
28011 if (SWIG_arg_fail(2)) SWIG_fail
;
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 (arg1
)->SetEditCanceled(arg2
);
28017 wxPyEndAllowThreads(__tstate
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28020 Py_INCREF(Py_None
); resultobj
= Py_None
;
28027 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28028 PyObject
*resultobj
= NULL
;
28029 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28030 wxString
*arg2
= 0 ;
28031 bool temp2
= false ;
28032 PyObject
* obj0
= 0 ;
28033 PyObject
* obj1
= 0 ;
28034 char *kwnames
[] = {
28035 (char *) "self",(char *) "toolTip", NULL
28038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28040 if (SWIG_arg_fail(1)) SWIG_fail
;
28042 arg2
= wxString_in_helper(obj1
);
28043 if (arg2
== NULL
) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28053 Py_INCREF(Py_None
); resultobj
= Py_None
;
28068 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28069 PyObject
*resultobj
= NULL
;
28070 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28072 PyObject
* obj0
= 0 ;
28073 char *kwnames
[] = {
28074 (char *) "self", NULL
28077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
28078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28079 if (SWIG_arg_fail(1)) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 result
= (arg1
)->GetToolTip();
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28100 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
28102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28103 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
28105 return Py_BuildValue((char *)"");
28107 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
= NULL
;
28109 wxWindow
*arg1
= (wxWindow
*) 0 ;
28110 int arg2
= (int) -1 ;
28111 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28112 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28113 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28114 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28115 long arg5
= (long) wxTR_DEFAULT_STYLE
;
28116 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28117 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28118 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
28119 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28120 wxPyTreeCtrl
*result
;
28123 bool temp7
= false ;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 PyObject
* obj2
= 0 ;
28127 PyObject
* obj3
= 0 ;
28128 PyObject
* obj4
= 0 ;
28129 PyObject
* obj5
= 0 ;
28130 PyObject
* obj6
= 0 ;
28131 char *kwnames
[] = {
28132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28137 if (SWIG_arg_fail(1)) SWIG_fail
;
28140 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28141 if (SWIG_arg_fail(2)) SWIG_fail
;
28147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28153 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28158 arg5
= static_cast<long >(SWIG_As_long(obj4
));
28159 if (SWIG_arg_fail(5)) SWIG_fail
;
28164 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28165 if (SWIG_arg_fail(6)) SWIG_fail
;
28166 if (arg6
== NULL
) {
28167 SWIG_null_ref("wxValidator");
28169 if (SWIG_arg_fail(6)) SWIG_fail
;
28174 arg7
= wxString_in_helper(obj6
);
28175 if (arg7
== NULL
) SWIG_fail
;
28180 if (!wxPyCheckForApp()) SWIG_fail
;
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28202 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
= NULL
;
28204 wxPyTreeCtrl
*result
;
28205 char *kwnames
[] = {
28209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28211 if (!wxPyCheckForApp()) SWIG_fail
;
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28215 wxPyEndAllowThreads(__tstate
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28225 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28226 PyObject
*resultobj
= NULL
;
28227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28228 wxWindow
*arg2
= (wxWindow
*) 0 ;
28229 int arg3
= (int) -1 ;
28230 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28231 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28232 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28233 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28234 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28235 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28236 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28237 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28238 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28242 bool temp8
= false ;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 PyObject
* obj2
= 0 ;
28246 PyObject
* obj3
= 0 ;
28247 PyObject
* obj4
= 0 ;
28248 PyObject
* obj5
= 0 ;
28249 PyObject
* obj6
= 0 ;
28250 PyObject
* obj7
= 0 ;
28251 char *kwnames
[] = {
28252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28257 if (SWIG_arg_fail(1)) SWIG_fail
;
28258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28259 if (SWIG_arg_fail(2)) SWIG_fail
;
28262 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28263 if (SWIG_arg_fail(3)) SWIG_fail
;
28269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28280 arg6
= static_cast<long >(SWIG_As_long(obj5
));
28281 if (SWIG_arg_fail(6)) SWIG_fail
;
28286 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28287 if (SWIG_arg_fail(7)) SWIG_fail
;
28288 if (arg7
== NULL
) {
28289 SWIG_null_ref("wxValidator");
28291 if (SWIG_arg_fail(7)) SWIG_fail
;
28296 arg8
= wxString_in_helper(obj7
);
28297 if (arg8
== NULL
) SWIG_fail
;
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28325 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28326 PyObject
*resultobj
= NULL
;
28327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28328 PyObject
*arg2
= (PyObject
*) 0 ;
28329 PyObject
*arg3
= (PyObject
*) 0 ;
28330 PyObject
* obj0
= 0 ;
28331 PyObject
* obj1
= 0 ;
28332 PyObject
* obj2
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self",(char *) "self",(char *) "_class", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28339 if (SWIG_arg_fail(1)) SWIG_fail
;
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28346 wxPyEndAllowThreads(__tstate
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28349 Py_INCREF(Py_None
); resultobj
= Py_None
;
28356 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
= NULL
;
28358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28360 PyObject
* obj0
= 0 ;
28361 char *kwnames
[] = {
28362 (char *) "self", NULL
28365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28367 if (SWIG_arg_fail(1)) SWIG_fail
;
28369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28370 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28384 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
= NULL
;
28386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28387 unsigned int result
;
28388 PyObject
* obj0
= 0 ;
28389 char *kwnames
[] = {
28390 (char *) "self", NULL
28393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28395 if (SWIG_arg_fail(1)) SWIG_fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
28412 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
= NULL
;
28414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28415 unsigned int arg2
;
28416 PyObject
* obj0
= 0 ;
28417 PyObject
* obj1
= 0 ;
28418 char *kwnames
[] = {
28419 (char *) "self",(char *) "indent", NULL
28422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28424 if (SWIG_arg_fail(1)) SWIG_fail
;
28426 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
28427 if (SWIG_arg_fail(2)) SWIG_fail
;
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 (arg1
)->SetIndent(arg2
);
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 Py_INCREF(Py_None
); resultobj
= Py_None
;
28443 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
= NULL
;
28445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28446 unsigned int result
;
28447 PyObject
* obj0
= 0 ;
28448 char *kwnames
[] = {
28449 (char *) "self", NULL
28452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28454 if (SWIG_arg_fail(1)) SWIG_fail
;
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28463 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
28471 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28472 PyObject
*resultobj
= NULL
;
28473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28474 unsigned int arg2
;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 char *kwnames
[] = {
28478 (char *) "self",(char *) "spacing", NULL
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28483 if (SWIG_arg_fail(1)) SWIG_fail
;
28485 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
28486 if (SWIG_arg_fail(2)) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 (arg1
)->SetSpacing(arg2
);
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 Py_INCREF(Py_None
); resultobj
= Py_None
;
28502 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
= NULL
;
28504 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28505 wxImageList
*result
;
28506 PyObject
* obj0
= 0 ;
28507 char *kwnames
[] = {
28508 (char *) "self", NULL
28511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28513 if (SWIG_arg_fail(1)) SWIG_fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= wxPyMake_wxObject(result
, 0);
28530 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
= NULL
;
28532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28533 wxImageList
*result
;
28534 PyObject
* obj0
= 0 ;
28535 char *kwnames
[] = {
28536 (char *) "self", NULL
28539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28541 if (SWIG_arg_fail(1)) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= wxPyMake_wxObject(result
, 0);
28558 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
= NULL
;
28560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28561 wxImageList
*arg2
= (wxImageList
*) 0 ;
28562 PyObject
* obj0
= 0 ;
28563 PyObject
* obj1
= 0 ;
28564 char *kwnames
[] = {
28565 (char *) "self",(char *) "imageList", NULL
28568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28570 if (SWIG_arg_fail(1)) SWIG_fail
;
28571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28572 if (SWIG_arg_fail(2)) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 (arg1
)->SetImageList(arg2
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 Py_INCREF(Py_None
); resultobj
= Py_None
;
28587 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
= NULL
;
28589 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28590 wxImageList
*arg2
= (wxImageList
*) 0 ;
28591 PyObject
* obj0
= 0 ;
28592 PyObject
* obj1
= 0 ;
28593 char *kwnames
[] = {
28594 (char *) "self",(char *) "imageList", NULL
28597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28599 if (SWIG_arg_fail(1)) SWIG_fail
;
28600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28601 if (SWIG_arg_fail(2)) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 (arg1
)->SetStateImageList(arg2
);
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 Py_INCREF(Py_None
); resultobj
= Py_None
;
28616 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28617 PyObject
*resultobj
= NULL
;
28618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28619 wxImageList
*arg2
= (wxImageList
*) 0 ;
28620 PyObject
* obj0
= 0 ;
28621 PyObject
* obj1
= 0 ;
28622 char *kwnames
[] = {
28623 (char *) "self",(char *) "imageList", NULL
28626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28628 if (SWIG_arg_fail(1)) SWIG_fail
;
28629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28630 if (SWIG_arg_fail(2)) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 (arg1
)->AssignImageList(arg2
);
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28638 Py_INCREF(Py_None
); resultobj
= Py_None
;
28645 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
= NULL
;
28647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28648 wxImageList
*arg2
= (wxImageList
*) 0 ;
28649 PyObject
* obj0
= 0 ;
28650 PyObject
* obj1
= 0 ;
28651 char *kwnames
[] = {
28652 (char *) "self",(char *) "imageList", NULL
28655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28657 if (SWIG_arg_fail(1)) SWIG_fail
;
28658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28659 if (SWIG_arg_fail(2)) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 (arg1
)->AssignStateImageList(arg2
);
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28667 Py_INCREF(Py_None
); resultobj
= Py_None
;
28674 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
= NULL
;
28676 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28677 wxTreeItemId
*arg2
= 0 ;
28679 PyObject
* obj0
= 0 ;
28680 PyObject
* obj1
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "self",(char *) "item", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28687 if (SWIG_arg_fail(1)) SWIG_fail
;
28689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28690 if (SWIG_arg_fail(2)) SWIG_fail
;
28691 if (arg2
== NULL
) {
28692 SWIG_null_ref("wxTreeItemId");
28694 if (SWIG_arg_fail(2)) SWIG_fail
;
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28716 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28717 PyObject
*resultobj
= NULL
;
28718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28719 wxTreeItemId
*arg2
= 0 ;
28720 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28722 PyObject
* obj0
= 0 ;
28723 PyObject
* obj1
= 0 ;
28724 PyObject
* obj2
= 0 ;
28725 char *kwnames
[] = {
28726 (char *) "self",(char *) "item",(char *) "which", NULL
28729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28731 if (SWIG_arg_fail(1)) SWIG_fail
;
28733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28734 if (SWIG_arg_fail(2)) SWIG_fail
;
28735 if (arg2
== NULL
) {
28736 SWIG_null_ref("wxTreeItemId");
28738 if (SWIG_arg_fail(2)) SWIG_fail
;
28742 arg3
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj2
));
28743 if (SWIG_arg_fail(3)) SWIG_fail
;
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28754 resultobj
= SWIG_From_int(static_cast<int >(result
));
28762 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
= NULL
;
28764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28765 wxTreeItemId
*arg2
= 0 ;
28766 wxPyTreeItemData
*result
;
28767 PyObject
* obj0
= 0 ;
28768 PyObject
* obj1
= 0 ;
28769 char *kwnames
[] = {
28770 (char *) "self",(char *) "item", NULL
28773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28775 if (SWIG_arg_fail(1)) SWIG_fail
;
28777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28778 if (SWIG_arg_fail(2)) SWIG_fail
;
28779 if (arg2
== NULL
) {
28780 SWIG_null_ref("wxTreeItemId");
28782 if (SWIG_arg_fail(2)) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28798 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
= NULL
;
28800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28801 wxTreeItemId
*arg2
= 0 ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self",(char *) "item", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28811 if (SWIG_arg_fail(1)) SWIG_fail
;
28813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28814 if (SWIG_arg_fail(2)) SWIG_fail
;
28815 if (arg2
== NULL
) {
28816 SWIG_null_ref("wxTreeItemId");
28818 if (SWIG_arg_fail(2)) SWIG_fail
;
28821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= result
;
28834 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
= NULL
;
28836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28837 wxTreeItemId
*arg2
= 0 ;
28839 PyObject
* obj0
= 0 ;
28840 PyObject
* obj1
= 0 ;
28841 char *kwnames
[] = {
28842 (char *) "self",(char *) "item", NULL
28845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28847 if (SWIG_arg_fail(1)) SWIG_fail
;
28849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28850 if (SWIG_arg_fail(2)) SWIG_fail
;
28851 if (arg2
== NULL
) {
28852 SWIG_null_ref("wxTreeItemId");
28854 if (SWIG_arg_fail(2)) SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28864 wxColour
* resultptr
;
28865 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
28866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28874 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
= NULL
;
28876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28877 wxTreeItemId
*arg2
= 0 ;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 char *kwnames
[] = {
28882 (char *) "self",(char *) "item", NULL
28885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28887 if (SWIG_arg_fail(1)) SWIG_fail
;
28889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28890 if (SWIG_arg_fail(2)) SWIG_fail
;
28891 if (arg2
== NULL
) {
28892 SWIG_null_ref("wxTreeItemId");
28894 if (SWIG_arg_fail(2)) SWIG_fail
;
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28904 wxColour
* resultptr
;
28905 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
28906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28914 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
= NULL
;
28916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28917 wxTreeItemId
*arg2
= 0 ;
28919 PyObject
* obj0
= 0 ;
28920 PyObject
* obj1
= 0 ;
28921 char *kwnames
[] = {
28922 (char *) "self",(char *) "item", NULL
28925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28927 if (SWIG_arg_fail(1)) SWIG_fail
;
28929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28930 if (SWIG_arg_fail(2)) SWIG_fail
;
28931 if (arg2
== NULL
) {
28932 SWIG_null_ref("wxTreeItemId");
28934 if (SWIG_arg_fail(2)) SWIG_fail
;
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28944 wxFont
* resultptr
;
28945 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
28946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28954 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
= NULL
;
28956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28957 wxTreeItemId
*arg2
= 0 ;
28958 wxString
*arg3
= 0 ;
28959 bool temp3
= false ;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 PyObject
* obj2
= 0 ;
28963 char *kwnames
[] = {
28964 (char *) "self",(char *) "item",(char *) "text", NULL
28967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28969 if (SWIG_arg_fail(1)) SWIG_fail
;
28971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28972 if (SWIG_arg_fail(2)) SWIG_fail
;
28973 if (arg2
== NULL
) {
28974 SWIG_null_ref("wxTreeItemId");
28976 if (SWIG_arg_fail(2)) SWIG_fail
;
28979 arg3
= wxString_in_helper(obj2
);
28980 if (arg3
== NULL
) SWIG_fail
;
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28990 Py_INCREF(Py_None
); resultobj
= Py_None
;
29005 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29006 PyObject
*resultobj
= NULL
;
29007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29008 wxTreeItemId
*arg2
= 0 ;
29010 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 PyObject
* obj2
= 0 ;
29014 PyObject
* obj3
= 0 ;
29015 char *kwnames
[] = {
29016 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
29019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29021 if (SWIG_arg_fail(1)) SWIG_fail
;
29023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29024 if (SWIG_arg_fail(2)) SWIG_fail
;
29025 if (arg2
== NULL
) {
29026 SWIG_null_ref("wxTreeItemId");
29028 if (SWIG_arg_fail(2)) SWIG_fail
;
29031 arg3
= static_cast<int >(SWIG_As_int(obj2
));
29032 if (SWIG_arg_fail(3)) SWIG_fail
;
29036 arg4
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj3
));
29037 if (SWIG_arg_fail(4)) SWIG_fail
;
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 Py_INCREF(Py_None
); resultobj
= Py_None
;
29054 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29055 PyObject
*resultobj
= NULL
;
29056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29057 wxTreeItemId
*arg2
= 0 ;
29058 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 PyObject
* obj2
= 0 ;
29062 char *kwnames
[] = {
29063 (char *) "self",(char *) "item",(char *) "data", NULL
29066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29068 if (SWIG_arg_fail(1)) SWIG_fail
;
29070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29071 if (SWIG_arg_fail(2)) SWIG_fail
;
29072 if (arg2
== NULL
) {
29073 SWIG_null_ref("wxTreeItemId");
29075 if (SWIG_arg_fail(2)) SWIG_fail
;
29077 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29078 if (SWIG_arg_fail(3)) SWIG_fail
;
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 Py_INCREF(Py_None
); resultobj
= Py_None
;
29093 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
= NULL
;
29095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29096 wxTreeItemId
*arg2
= 0 ;
29097 PyObject
*arg3
= (PyObject
*) 0 ;
29098 PyObject
* obj0
= 0 ;
29099 PyObject
* obj1
= 0 ;
29100 PyObject
* obj2
= 0 ;
29101 char *kwnames
[] = {
29102 (char *) "self",(char *) "item",(char *) "obj", NULL
29105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29107 if (SWIG_arg_fail(1)) SWIG_fail
;
29109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29110 if (SWIG_arg_fail(2)) SWIG_fail
;
29111 if (arg2
== NULL
) {
29112 SWIG_null_ref("wxTreeItemId");
29114 if (SWIG_arg_fail(2)) SWIG_fail
;
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29121 wxPyEndAllowThreads(__tstate
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29124 Py_INCREF(Py_None
); resultobj
= Py_None
;
29131 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29132 PyObject
*resultobj
= NULL
;
29133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29134 wxTreeItemId
*arg2
= 0 ;
29135 bool arg3
= (bool) true ;
29136 PyObject
* obj0
= 0 ;
29137 PyObject
* obj1
= 0 ;
29138 PyObject
* obj2
= 0 ;
29139 char *kwnames
[] = {
29140 (char *) "self",(char *) "item",(char *) "has", NULL
29143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29145 if (SWIG_arg_fail(1)) SWIG_fail
;
29147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29148 if (SWIG_arg_fail(2)) SWIG_fail
;
29149 if (arg2
== NULL
) {
29150 SWIG_null_ref("wxTreeItemId");
29152 if (SWIG_arg_fail(2)) SWIG_fail
;
29156 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
29157 if (SWIG_arg_fail(3)) SWIG_fail
;
29161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29162 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29164 wxPyEndAllowThreads(__tstate
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29167 Py_INCREF(Py_None
); resultobj
= Py_None
;
29174 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29175 PyObject
*resultobj
= NULL
;
29176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29177 wxTreeItemId
*arg2
= 0 ;
29178 bool arg3
= (bool) true ;
29179 PyObject
* obj0
= 0 ;
29180 PyObject
* obj1
= 0 ;
29181 PyObject
* obj2
= 0 ;
29182 char *kwnames
[] = {
29183 (char *) "self",(char *) "item",(char *) "bold", NULL
29186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29188 if (SWIG_arg_fail(1)) SWIG_fail
;
29190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29191 if (SWIG_arg_fail(2)) SWIG_fail
;
29192 if (arg2
== NULL
) {
29193 SWIG_null_ref("wxTreeItemId");
29195 if (SWIG_arg_fail(2)) SWIG_fail
;
29199 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
29200 if (SWIG_arg_fail(3)) SWIG_fail
;
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 Py_INCREF(Py_None
); resultobj
= Py_None
;
29217 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
= NULL
;
29219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29220 wxTreeItemId
*arg2
= 0 ;
29221 bool arg3
= (bool) true ;
29222 PyObject
* obj0
= 0 ;
29223 PyObject
* obj1
= 0 ;
29224 PyObject
* obj2
= 0 ;
29225 char *kwnames
[] = {
29226 (char *) "self",(char *) "item",(char *) "highlight", NULL
29229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29231 if (SWIG_arg_fail(1)) SWIG_fail
;
29233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29234 if (SWIG_arg_fail(2)) SWIG_fail
;
29235 if (arg2
== NULL
) {
29236 SWIG_null_ref("wxTreeItemId");
29238 if (SWIG_arg_fail(2)) SWIG_fail
;
29242 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
29243 if (SWIG_arg_fail(3)) SWIG_fail
;
29247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29248 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29253 Py_INCREF(Py_None
); resultobj
= Py_None
;
29260 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
= NULL
;
29262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29263 wxTreeItemId
*arg2
= 0 ;
29264 wxColour
*arg3
= 0 ;
29266 PyObject
* obj0
= 0 ;
29267 PyObject
* obj1
= 0 ;
29268 PyObject
* obj2
= 0 ;
29269 char *kwnames
[] = {
29270 (char *) "self",(char *) "item",(char *) "col", NULL
29273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29275 if (SWIG_arg_fail(1)) SWIG_fail
;
29277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29278 if (SWIG_arg_fail(2)) SWIG_fail
;
29279 if (arg2
== NULL
) {
29280 SWIG_null_ref("wxTreeItemId");
29282 if (SWIG_arg_fail(2)) SWIG_fail
;
29286 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 Py_INCREF(Py_None
); resultobj
= Py_None
;
29302 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
= NULL
;
29304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29305 wxTreeItemId
*arg2
= 0 ;
29306 wxColour
*arg3
= 0 ;
29308 PyObject
* obj0
= 0 ;
29309 PyObject
* obj1
= 0 ;
29310 PyObject
* obj2
= 0 ;
29311 char *kwnames
[] = {
29312 (char *) "self",(char *) "item",(char *) "col", NULL
29315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29317 if (SWIG_arg_fail(1)) SWIG_fail
;
29319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29320 if (SWIG_arg_fail(2)) SWIG_fail
;
29321 if (arg2
== NULL
) {
29322 SWIG_null_ref("wxTreeItemId");
29324 if (SWIG_arg_fail(2)) SWIG_fail
;
29328 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 Py_INCREF(Py_None
); resultobj
= Py_None
;
29344 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
= NULL
;
29346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29347 wxTreeItemId
*arg2
= 0 ;
29349 PyObject
* obj0
= 0 ;
29350 PyObject
* obj1
= 0 ;
29351 PyObject
* obj2
= 0 ;
29352 char *kwnames
[] = {
29353 (char *) "self",(char *) "item",(char *) "font", NULL
29356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29358 if (SWIG_arg_fail(1)) SWIG_fail
;
29360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(2)) SWIG_fail
;
29362 if (arg2
== NULL
) {
29363 SWIG_null_ref("wxTreeItemId");
29365 if (SWIG_arg_fail(2)) SWIG_fail
;
29368 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29369 if (SWIG_arg_fail(3)) SWIG_fail
;
29370 if (arg3
== NULL
) {
29371 SWIG_null_ref("wxFont");
29373 if (SWIG_arg_fail(3)) SWIG_fail
;
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 Py_INCREF(Py_None
); resultobj
= Py_None
;
29389 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
= NULL
;
29391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29392 wxTreeItemId
*arg2
= 0 ;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 char *kwnames
[] = {
29397 (char *) "self",(char *) "item", NULL
29400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29402 if (SWIG_arg_fail(1)) SWIG_fail
;
29404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29405 if (SWIG_arg_fail(2)) SWIG_fail
;
29406 if (arg2
== NULL
) {
29407 SWIG_null_ref("wxTreeItemId");
29409 if (SWIG_arg_fail(2)) SWIG_fail
;
29412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29413 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29427 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
= NULL
;
29429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29430 wxTreeItemId
*arg2
= 0 ;
29432 PyObject
* obj0
= 0 ;
29433 PyObject
* obj1
= 0 ;
29434 char *kwnames
[] = {
29435 (char *) "self",(char *) "item", NULL
29438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29440 if (SWIG_arg_fail(1)) SWIG_fail
;
29442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29443 if (SWIG_arg_fail(2)) SWIG_fail
;
29444 if (arg2
== NULL
) {
29445 SWIG_null_ref("wxTreeItemId");
29447 if (SWIG_arg_fail(2)) SWIG_fail
;
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29453 wxPyEndAllowThreads(__tstate
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29465 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
= NULL
;
29467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29468 wxTreeItemId
*arg2
= 0 ;
29470 PyObject
* obj0
= 0 ;
29471 PyObject
* obj1
= 0 ;
29472 char *kwnames
[] = {
29473 (char *) "self",(char *) "item", NULL
29476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29478 if (SWIG_arg_fail(1)) SWIG_fail
;
29480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29481 if (SWIG_arg_fail(2)) SWIG_fail
;
29482 if (arg2
== NULL
) {
29483 SWIG_null_ref("wxTreeItemId");
29485 if (SWIG_arg_fail(2)) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29503 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
= NULL
;
29505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29506 wxTreeItemId
*arg2
= 0 ;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 char *kwnames
[] = {
29511 (char *) "self",(char *) "item", NULL
29514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29516 if (SWIG_arg_fail(1)) SWIG_fail
;
29518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29519 if (SWIG_arg_fail(2)) SWIG_fail
;
29520 if (arg2
== NULL
) {
29521 SWIG_null_ref("wxTreeItemId");
29523 if (SWIG_arg_fail(2)) SWIG_fail
;
29526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29529 wxPyEndAllowThreads(__tstate
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29541 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
= NULL
;
29543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29544 wxTreeItemId
*arg2
= 0 ;
29546 PyObject
* obj0
= 0 ;
29547 PyObject
* obj1
= 0 ;
29548 char *kwnames
[] = {
29549 (char *) "self",(char *) "item", NULL
29552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29554 if (SWIG_arg_fail(1)) SWIG_fail
;
29556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29557 if (SWIG_arg_fail(2)) SWIG_fail
;
29558 if (arg2
== NULL
) {
29559 SWIG_null_ref("wxTreeItemId");
29561 if (SWIG_arg_fail(2)) SWIG_fail
;
29564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29565 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29579 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
= NULL
;
29581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29582 wxTreeItemId
*arg2
= 0 ;
29583 bool arg3
= (bool) true ;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 PyObject
* obj2
= 0 ;
29588 char *kwnames
[] = {
29589 (char *) "self",(char *) "item",(char *) "recursively", NULL
29592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29594 if (SWIG_arg_fail(1)) SWIG_fail
;
29596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29597 if (SWIG_arg_fail(2)) SWIG_fail
;
29598 if (arg2
== NULL
) {
29599 SWIG_null_ref("wxTreeItemId");
29601 if (SWIG_arg_fail(2)) SWIG_fail
;
29605 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
29606 if (SWIG_arg_fail(3)) SWIG_fail
;
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29617 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29625 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
= NULL
;
29627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29628 wxTreeItemId result
;
29629 PyObject
* obj0
= 0 ;
29630 char *kwnames
[] = {
29631 (char *) "self", NULL
29634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29636 if (SWIG_arg_fail(1)) SWIG_fail
;
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29641 wxPyEndAllowThreads(__tstate
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29645 wxTreeItemId
* resultptr
;
29646 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29655 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
= NULL
;
29657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29658 wxTreeItemId result
;
29659 PyObject
* obj0
= 0 ;
29660 char *kwnames
[] = {
29661 (char *) "self", NULL
29664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29666 if (SWIG_arg_fail(1)) SWIG_fail
;
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29675 wxTreeItemId
* resultptr
;
29676 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29685 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
= NULL
;
29687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29689 PyObject
* obj0
= 0 ;
29690 char *kwnames
[] = {
29691 (char *) "self", NULL
29694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29696 if (SWIG_arg_fail(1)) SWIG_fail
;
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= result
;
29711 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
= NULL
;
29713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29714 wxTreeItemId
*arg2
= 0 ;
29715 wxTreeItemId result
;
29716 PyObject
* obj0
= 0 ;
29717 PyObject
* obj1
= 0 ;
29718 char *kwnames
[] = {
29719 (char *) "self",(char *) "item", NULL
29722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29724 if (SWIG_arg_fail(1)) SWIG_fail
;
29726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29727 if (SWIG_arg_fail(2)) SWIG_fail
;
29728 if (arg2
== NULL
) {
29729 SWIG_null_ref("wxTreeItemId");
29731 if (SWIG_arg_fail(2)) SWIG_fail
;
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29741 wxTreeItemId
* resultptr
;
29742 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29751 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
= NULL
;
29753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29754 wxTreeItemId
*arg2
= 0 ;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "self",(char *) "item", NULL
29762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29764 if (SWIG_arg_fail(1)) SWIG_fail
;
29766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29767 if (SWIG_arg_fail(2)) SWIG_fail
;
29768 if (arg2
== NULL
) {
29769 SWIG_null_ref("wxTreeItemId");
29771 if (SWIG_arg_fail(2)) SWIG_fail
;
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= result
;
29787 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29788 PyObject
*resultobj
= NULL
;
29789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29790 wxTreeItemId
*arg2
= 0 ;
29791 void *arg3
= (void *) 0 ;
29793 PyObject
* obj0
= 0 ;
29794 PyObject
* obj1
= 0 ;
29795 PyObject
* obj2
= 0 ;
29796 char *kwnames
[] = {
29797 (char *) "self",(char *) "item",(char *) "cookie", NULL
29800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29802 if (SWIG_arg_fail(1)) SWIG_fail
;
29804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29805 if (SWIG_arg_fail(2)) SWIG_fail
;
29806 if (arg2
== NULL
) {
29807 SWIG_null_ref("wxTreeItemId");
29809 if (SWIG_arg_fail(2)) SWIG_fail
;
29812 if ((SWIG_ConvertPtr(obj2
,reinterpret_cast<void ** >(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29813 SWIG_arg_fail(3);SWIG_fail
;
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29823 resultobj
= result
;
29830 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29831 PyObject
*resultobj
= NULL
;
29832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29833 wxTreeItemId
*arg2
= 0 ;
29834 wxTreeItemId result
;
29835 PyObject
* obj0
= 0 ;
29836 PyObject
* obj1
= 0 ;
29837 char *kwnames
[] = {
29838 (char *) "self",(char *) "item", NULL
29841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29843 if (SWIG_arg_fail(1)) SWIG_fail
;
29845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29846 if (SWIG_arg_fail(2)) SWIG_fail
;
29847 if (arg2
== NULL
) {
29848 SWIG_null_ref("wxTreeItemId");
29850 if (SWIG_arg_fail(2)) SWIG_fail
;
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29860 wxTreeItemId
* resultptr
;
29861 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29870 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29871 PyObject
*resultobj
= NULL
;
29872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29873 wxTreeItemId
*arg2
= 0 ;
29874 wxTreeItemId result
;
29875 PyObject
* obj0
= 0 ;
29876 PyObject
* obj1
= 0 ;
29877 char *kwnames
[] = {
29878 (char *) "self",(char *) "item", NULL
29881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29883 if (SWIG_arg_fail(1)) SWIG_fail
;
29885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29886 if (SWIG_arg_fail(2)) SWIG_fail
;
29887 if (arg2
== NULL
) {
29888 SWIG_null_ref("wxTreeItemId");
29890 if (SWIG_arg_fail(2)) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 wxTreeItemId
* resultptr
;
29901 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29910 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29911 PyObject
*resultobj
= NULL
;
29912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29913 wxTreeItemId
*arg2
= 0 ;
29914 wxTreeItemId result
;
29915 PyObject
* obj0
= 0 ;
29916 PyObject
* obj1
= 0 ;
29917 char *kwnames
[] = {
29918 (char *) "self",(char *) "item", NULL
29921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29923 if (SWIG_arg_fail(1)) SWIG_fail
;
29925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29926 if (SWIG_arg_fail(2)) SWIG_fail
;
29927 if (arg2
== NULL
) {
29928 SWIG_null_ref("wxTreeItemId");
29930 if (SWIG_arg_fail(2)) SWIG_fail
;
29933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29934 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29936 wxPyEndAllowThreads(__tstate
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29940 wxTreeItemId
* resultptr
;
29941 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29950 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29951 PyObject
*resultobj
= NULL
;
29952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29953 wxTreeItemId result
;
29954 PyObject
* obj0
= 0 ;
29955 char *kwnames
[] = {
29956 (char *) "self", NULL
29959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29961 if (SWIG_arg_fail(1)) SWIG_fail
;
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29966 wxPyEndAllowThreads(__tstate
);
29967 if (PyErr_Occurred()) SWIG_fail
;
29970 wxTreeItemId
* resultptr
;
29971 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
29972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29980 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
= NULL
;
29982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29983 wxTreeItemId
*arg2
= 0 ;
29984 wxTreeItemId result
;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "self",(char *) "item", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29993 if (SWIG_arg_fail(1)) SWIG_fail
;
29995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29996 if (SWIG_arg_fail(2)) SWIG_fail
;
29997 if (arg2
== NULL
) {
29998 SWIG_null_ref("wxTreeItemId");
30000 if (SWIG_arg_fail(2)) SWIG_fail
;
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30010 wxTreeItemId
* resultptr
;
30011 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30020 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30021 PyObject
*resultobj
= NULL
;
30022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30023 wxTreeItemId
*arg2
= 0 ;
30024 wxTreeItemId result
;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 char *kwnames
[] = {
30028 (char *) "self",(char *) "item", NULL
30031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30033 if (SWIG_arg_fail(1)) SWIG_fail
;
30035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30036 if (SWIG_arg_fail(2)) SWIG_fail
;
30037 if (arg2
== NULL
) {
30038 SWIG_null_ref("wxTreeItemId");
30040 if (SWIG_arg_fail(2)) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30050 wxTreeItemId
* resultptr
;
30051 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30060 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
= NULL
;
30062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30063 wxString
*arg2
= 0 ;
30064 int arg3
= (int) -1 ;
30065 int arg4
= (int) -1 ;
30066 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
30067 wxTreeItemId result
;
30068 bool temp2
= false ;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 PyObject
* obj2
= 0 ;
30072 PyObject
* obj3
= 0 ;
30073 PyObject
* obj4
= 0 ;
30074 char *kwnames
[] = {
30075 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30080 if (SWIG_arg_fail(1)) SWIG_fail
;
30082 arg2
= wxString_in_helper(obj1
);
30083 if (arg2
== NULL
) SWIG_fail
;
30088 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30089 if (SWIG_arg_fail(3)) SWIG_fail
;
30094 arg4
= static_cast<int >(SWIG_As_int(obj3
));
30095 if (SWIG_arg_fail(4)) SWIG_fail
;
30099 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30100 if (SWIG_arg_fail(5)) SWIG_fail
;
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30106 wxPyEndAllowThreads(__tstate
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30110 wxTreeItemId
* resultptr
;
30111 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30128 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30129 PyObject
*resultobj
= NULL
;
30130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30131 wxTreeItemId
*arg2
= 0 ;
30132 wxString
*arg3
= 0 ;
30133 int arg4
= (int) -1 ;
30134 int arg5
= (int) -1 ;
30135 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30136 wxTreeItemId result
;
30137 bool temp3
= false ;
30138 PyObject
* obj0
= 0 ;
30139 PyObject
* obj1
= 0 ;
30140 PyObject
* obj2
= 0 ;
30141 PyObject
* obj3
= 0 ;
30142 PyObject
* obj4
= 0 ;
30143 PyObject
* obj5
= 0 ;
30144 char *kwnames
[] = {
30145 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(1)) SWIG_fail
;
30152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30153 if (SWIG_arg_fail(2)) SWIG_fail
;
30154 if (arg2
== NULL
) {
30155 SWIG_null_ref("wxTreeItemId");
30157 if (SWIG_arg_fail(2)) SWIG_fail
;
30160 arg3
= wxString_in_helper(obj2
);
30161 if (arg3
== NULL
) SWIG_fail
;
30166 arg4
= static_cast<int >(SWIG_As_int(obj3
));
30167 if (SWIG_arg_fail(4)) SWIG_fail
;
30172 arg5
= static_cast<int >(SWIG_As_int(obj4
));
30173 if (SWIG_arg_fail(5)) SWIG_fail
;
30177 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30178 if (SWIG_arg_fail(6)) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30188 wxTreeItemId
* resultptr
;
30189 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30206 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30207 PyObject
*resultobj
= NULL
;
30208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30209 wxTreeItemId
*arg2
= 0 ;
30210 wxTreeItemId
*arg3
= 0 ;
30211 wxString
*arg4
= 0 ;
30212 int arg5
= (int) -1 ;
30213 int arg6
= (int) -1 ;
30214 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30215 wxTreeItemId result
;
30216 bool temp4
= false ;
30217 PyObject
* obj0
= 0 ;
30218 PyObject
* obj1
= 0 ;
30219 PyObject
* obj2
= 0 ;
30220 PyObject
* obj3
= 0 ;
30221 PyObject
* obj4
= 0 ;
30222 PyObject
* obj5
= 0 ;
30223 PyObject
* obj6
= 0 ;
30224 char *kwnames
[] = {
30225 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30230 if (SWIG_arg_fail(1)) SWIG_fail
;
30232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30233 if (SWIG_arg_fail(2)) SWIG_fail
;
30234 if (arg2
== NULL
) {
30235 SWIG_null_ref("wxTreeItemId");
30237 if (SWIG_arg_fail(2)) SWIG_fail
;
30240 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30241 if (SWIG_arg_fail(3)) SWIG_fail
;
30242 if (arg3
== NULL
) {
30243 SWIG_null_ref("wxTreeItemId");
30245 if (SWIG_arg_fail(3)) SWIG_fail
;
30248 arg4
= wxString_in_helper(obj3
);
30249 if (arg4
== NULL
) SWIG_fail
;
30254 arg5
= static_cast<int >(SWIG_As_int(obj4
));
30255 if (SWIG_arg_fail(5)) SWIG_fail
;
30260 arg6
= static_cast<int >(SWIG_As_int(obj5
));
30261 if (SWIG_arg_fail(6)) SWIG_fail
;
30265 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30266 if (SWIG_arg_fail(7)) SWIG_fail
;
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30270 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30276 wxTreeItemId
* resultptr
;
30277 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30294 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30295 PyObject
*resultobj
= NULL
;
30296 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30297 wxTreeItemId
*arg2
= 0 ;
30299 wxString
*arg4
= 0 ;
30300 int arg5
= (int) -1 ;
30301 int arg6
= (int) -1 ;
30302 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30303 wxTreeItemId result
;
30304 bool temp4
= false ;
30305 PyObject
* obj0
= 0 ;
30306 PyObject
* obj1
= 0 ;
30307 PyObject
* obj2
= 0 ;
30308 PyObject
* obj3
= 0 ;
30309 PyObject
* obj4
= 0 ;
30310 PyObject
* obj5
= 0 ;
30311 PyObject
* obj6
= 0 ;
30312 char *kwnames
[] = {
30313 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30318 if (SWIG_arg_fail(1)) SWIG_fail
;
30320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30321 if (SWIG_arg_fail(2)) SWIG_fail
;
30322 if (arg2
== NULL
) {
30323 SWIG_null_ref("wxTreeItemId");
30325 if (SWIG_arg_fail(2)) SWIG_fail
;
30328 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
30329 if (SWIG_arg_fail(3)) SWIG_fail
;
30332 arg4
= wxString_in_helper(obj3
);
30333 if (arg4
== NULL
) SWIG_fail
;
30338 arg5
= static_cast<int >(SWIG_As_int(obj4
));
30339 if (SWIG_arg_fail(5)) SWIG_fail
;
30344 arg6
= static_cast<int >(SWIG_As_int(obj5
));
30345 if (SWIG_arg_fail(6)) SWIG_fail
;
30349 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30350 if (SWIG_arg_fail(7)) SWIG_fail
;
30353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30354 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30360 wxTreeItemId
* resultptr
;
30361 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30378 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
= NULL
;
30380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30381 wxTreeItemId
*arg2
= 0 ;
30382 wxString
*arg3
= 0 ;
30383 int arg4
= (int) -1 ;
30384 int arg5
= (int) -1 ;
30385 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30386 wxTreeItemId result
;
30387 bool temp3
= false ;
30388 PyObject
* obj0
= 0 ;
30389 PyObject
* obj1
= 0 ;
30390 PyObject
* obj2
= 0 ;
30391 PyObject
* obj3
= 0 ;
30392 PyObject
* obj4
= 0 ;
30393 PyObject
* obj5
= 0 ;
30394 char *kwnames
[] = {
30395 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30400 if (SWIG_arg_fail(1)) SWIG_fail
;
30402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30403 if (SWIG_arg_fail(2)) SWIG_fail
;
30404 if (arg2
== NULL
) {
30405 SWIG_null_ref("wxTreeItemId");
30407 if (SWIG_arg_fail(2)) SWIG_fail
;
30410 arg3
= wxString_in_helper(obj2
);
30411 if (arg3
== NULL
) SWIG_fail
;
30416 arg4
= static_cast<int >(SWIG_As_int(obj3
));
30417 if (SWIG_arg_fail(4)) SWIG_fail
;
30422 arg5
= static_cast<int >(SWIG_As_int(obj4
));
30423 if (SWIG_arg_fail(5)) SWIG_fail
;
30427 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30428 if (SWIG_arg_fail(6)) SWIG_fail
;
30431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30432 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30438 wxTreeItemId
* resultptr
;
30439 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30456 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30457 PyObject
*resultobj
= NULL
;
30458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30459 wxTreeItemId
*arg2
= 0 ;
30460 PyObject
* obj0
= 0 ;
30461 PyObject
* obj1
= 0 ;
30462 char *kwnames
[] = {
30463 (char *) "self",(char *) "item", NULL
30466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30468 if (SWIG_arg_fail(1)) SWIG_fail
;
30470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30471 if (SWIG_arg_fail(2)) SWIG_fail
;
30472 if (arg2
== NULL
) {
30473 SWIG_null_ref("wxTreeItemId");
30475 if (SWIG_arg_fail(2)) SWIG_fail
;
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 Py_INCREF(Py_None
); resultobj
= Py_None
;
30491 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30492 PyObject
*resultobj
= NULL
;
30493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30494 wxTreeItemId
*arg2
= 0 ;
30495 PyObject
* obj0
= 0 ;
30496 PyObject
* obj1
= 0 ;
30497 char *kwnames
[] = {
30498 (char *) "self",(char *) "item", NULL
30501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30503 if (SWIG_arg_fail(1)) SWIG_fail
;
30505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30506 if (SWIG_arg_fail(2)) SWIG_fail
;
30507 if (arg2
== NULL
) {
30508 SWIG_null_ref("wxTreeItemId");
30510 if (SWIG_arg_fail(2)) SWIG_fail
;
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 Py_INCREF(Py_None
); resultobj
= Py_None
;
30526 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= NULL
;
30528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30529 PyObject
* obj0
= 0 ;
30530 char *kwnames
[] = {
30531 (char *) "self", NULL
30534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30536 if (SWIG_arg_fail(1)) SWIG_fail
;
30538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30539 (arg1
)->DeleteAllItems();
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 Py_INCREF(Py_None
); resultobj
= Py_None
;
30551 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30552 PyObject
*resultobj
= NULL
;
30553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30554 wxTreeItemId
*arg2
= 0 ;
30555 PyObject
* obj0
= 0 ;
30556 PyObject
* obj1
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "self",(char *) "item", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30563 if (SWIG_arg_fail(1)) SWIG_fail
;
30565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30566 if (SWIG_arg_fail(2)) SWIG_fail
;
30567 if (arg2
== NULL
) {
30568 SWIG_null_ref("wxTreeItemId");
30570 if (SWIG_arg_fail(2)) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 Py_INCREF(Py_None
); resultobj
= Py_None
;
30586 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
= NULL
;
30588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30589 wxTreeItemId
*arg2
= 0 ;
30590 PyObject
* obj0
= 0 ;
30591 PyObject
* obj1
= 0 ;
30592 char *kwnames
[] = {
30593 (char *) "self",(char *) "item", NULL
30596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30598 if (SWIG_arg_fail(1)) SWIG_fail
;
30600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30601 if (SWIG_arg_fail(2)) SWIG_fail
;
30602 if (arg2
== NULL
) {
30603 SWIG_null_ref("wxTreeItemId");
30605 if (SWIG_arg_fail(2)) SWIG_fail
;
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30611 wxPyEndAllowThreads(__tstate
);
30612 if (PyErr_Occurred()) SWIG_fail
;
30614 Py_INCREF(Py_None
); resultobj
= Py_None
;
30621 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30622 PyObject
*resultobj
= NULL
;
30623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30624 wxTreeItemId
*arg2
= 0 ;
30625 PyObject
* obj0
= 0 ;
30626 PyObject
* obj1
= 0 ;
30627 char *kwnames
[] = {
30628 (char *) "self",(char *) "item", NULL
30631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30633 if (SWIG_arg_fail(1)) SWIG_fail
;
30635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30636 if (SWIG_arg_fail(2)) SWIG_fail
;
30637 if (arg2
== NULL
) {
30638 SWIG_null_ref("wxTreeItemId");
30640 if (SWIG_arg_fail(2)) SWIG_fail
;
30643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30644 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30646 wxPyEndAllowThreads(__tstate
);
30647 if (PyErr_Occurred()) SWIG_fail
;
30649 Py_INCREF(Py_None
); resultobj
= Py_None
;
30656 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
= NULL
;
30658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30659 wxTreeItemId
*arg2
= 0 ;
30660 PyObject
* obj0
= 0 ;
30661 PyObject
* obj1
= 0 ;
30662 char *kwnames
[] = {
30663 (char *) "self",(char *) "item", NULL
30666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30668 if (SWIG_arg_fail(1)) SWIG_fail
;
30670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30671 if (SWIG_arg_fail(2)) SWIG_fail
;
30672 if (arg2
== NULL
) {
30673 SWIG_null_ref("wxTreeItemId");
30675 if (SWIG_arg_fail(2)) SWIG_fail
;
30678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30679 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 Py_INCREF(Py_None
); resultobj
= Py_None
;
30691 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
= NULL
;
30693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 char *kwnames
[] = {
30696 (char *) "self", NULL
30699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30701 if (SWIG_arg_fail(1)) SWIG_fail
;
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 (arg1
)->Unselect();
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 Py_INCREF(Py_None
); resultobj
= Py_None
;
30716 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
= NULL
;
30718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30719 wxTreeItemId
*arg2
= 0 ;
30720 PyObject
* obj0
= 0 ;
30721 PyObject
* obj1
= 0 ;
30722 char *kwnames
[] = {
30723 (char *) "self",(char *) "item", NULL
30726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30728 if (SWIG_arg_fail(1)) SWIG_fail
;
30730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30731 if (SWIG_arg_fail(2)) SWIG_fail
;
30732 if (arg2
== NULL
) {
30733 SWIG_null_ref("wxTreeItemId");
30735 if (SWIG_arg_fail(2)) SWIG_fail
;
30738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30739 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30741 wxPyEndAllowThreads(__tstate
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30744 Py_INCREF(Py_None
); resultobj
= Py_None
;
30751 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
= NULL
;
30753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30754 PyObject
* obj0
= 0 ;
30755 char *kwnames
[] = {
30756 (char *) "self", NULL
30759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30761 if (SWIG_arg_fail(1)) SWIG_fail
;
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 (arg1
)->UnselectAll();
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 Py_INCREF(Py_None
); resultobj
= Py_None
;
30776 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30777 PyObject
*resultobj
= NULL
;
30778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30779 wxTreeItemId
*arg2
= 0 ;
30780 bool arg3
= (bool) true ;
30781 PyObject
* obj0
= 0 ;
30782 PyObject
* obj1
= 0 ;
30783 PyObject
* obj2
= 0 ;
30784 char *kwnames
[] = {
30785 (char *) "self",(char *) "item",(char *) "select", NULL
30788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30790 if (SWIG_arg_fail(1)) SWIG_fail
;
30792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30793 if (SWIG_arg_fail(2)) SWIG_fail
;
30794 if (arg2
== NULL
) {
30795 SWIG_null_ref("wxTreeItemId");
30797 if (SWIG_arg_fail(2)) SWIG_fail
;
30801 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30802 if (SWIG_arg_fail(3)) SWIG_fail
;
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30812 Py_INCREF(Py_None
); resultobj
= Py_None
;
30819 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
= NULL
;
30821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30822 wxTreeItemId
*arg2
= 0 ;
30823 PyObject
* obj0
= 0 ;
30824 PyObject
* obj1
= 0 ;
30825 char *kwnames
[] = {
30826 (char *) "self",(char *) "item", NULL
30829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30831 if (SWIG_arg_fail(1)) SWIG_fail
;
30833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30834 if (SWIG_arg_fail(2)) SWIG_fail
;
30835 if (arg2
== NULL
) {
30836 SWIG_null_ref("wxTreeItemId");
30838 if (SWIG_arg_fail(2)) SWIG_fail
;
30841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30842 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30844 wxPyEndAllowThreads(__tstate
);
30845 if (PyErr_Occurred()) SWIG_fail
;
30847 Py_INCREF(Py_None
); resultobj
= Py_None
;
30854 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30855 PyObject
*resultobj
= NULL
;
30856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30857 wxTreeItemId
*arg2
= 0 ;
30858 PyObject
* obj0
= 0 ;
30859 PyObject
* obj1
= 0 ;
30860 char *kwnames
[] = {
30861 (char *) "self",(char *) "item", NULL
30864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30866 if (SWIG_arg_fail(1)) SWIG_fail
;
30868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30869 if (SWIG_arg_fail(2)) SWIG_fail
;
30870 if (arg2
== NULL
) {
30871 SWIG_null_ref("wxTreeItemId");
30873 if (SWIG_arg_fail(2)) SWIG_fail
;
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30879 wxPyEndAllowThreads(__tstate
);
30880 if (PyErr_Occurred()) SWIG_fail
;
30882 Py_INCREF(Py_None
); resultobj
= Py_None
;
30889 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30890 PyObject
*resultobj
= NULL
;
30891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30892 wxTreeItemId
*arg2
= 0 ;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 char *kwnames
[] = {
30896 (char *) "self",(char *) "item", NULL
30899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30901 if (SWIG_arg_fail(1)) SWIG_fail
;
30903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30904 if (SWIG_arg_fail(2)) SWIG_fail
;
30905 if (arg2
== NULL
) {
30906 SWIG_null_ref("wxTreeItemId");
30908 if (SWIG_arg_fail(2)) SWIG_fail
;
30911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30912 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30914 wxPyEndAllowThreads(__tstate
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30917 Py_INCREF(Py_None
); resultobj
= Py_None
;
30924 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
= NULL
;
30926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30927 wxTreeItemId
*arg2
= 0 ;
30928 PyObject
* obj0
= 0 ;
30929 PyObject
* obj1
= 0 ;
30930 char *kwnames
[] = {
30931 (char *) "self",(char *) "item", NULL
30934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30936 if (SWIG_arg_fail(1)) SWIG_fail
;
30938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30939 if (SWIG_arg_fail(2)) SWIG_fail
;
30940 if (arg2
== NULL
) {
30941 SWIG_null_ref("wxTreeItemId");
30943 if (SWIG_arg_fail(2)) SWIG_fail
;
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30952 Py_INCREF(Py_None
); resultobj
= Py_None
;
30959 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30960 PyObject
*resultobj
= NULL
;
30961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30962 wxTextCtrl
*result
;
30963 PyObject
* obj0
= 0 ;
30964 char *kwnames
[] = {
30965 (char *) "self", NULL
30968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30970 if (SWIG_arg_fail(1)) SWIG_fail
;
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30979 resultobj
= wxPyMake_wxObject(result
, 0);
30987 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30988 PyObject
*resultobj
= NULL
;
30989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30990 wxTreeItemId
*arg2
= 0 ;
30991 bool arg3
= (bool) false ;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 PyObject
* obj2
= 0 ;
30995 char *kwnames
[] = {
30996 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31001 if (SWIG_arg_fail(1)) SWIG_fail
;
31003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31004 if (SWIG_arg_fail(2)) SWIG_fail
;
31005 if (arg2
== NULL
) {
31006 SWIG_null_ref("wxTreeItemId");
31008 if (SWIG_arg_fail(2)) SWIG_fail
;
31012 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
31013 if (SWIG_arg_fail(3)) SWIG_fail
;
31017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31018 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
31020 wxPyEndAllowThreads(__tstate
);
31021 if (PyErr_Occurred()) SWIG_fail
;
31023 Py_INCREF(Py_None
); resultobj
= Py_None
;
31030 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31031 PyObject
*resultobj
= NULL
;
31032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31033 wxTreeItemId
*arg2
= 0 ;
31034 PyObject
* obj0
= 0 ;
31035 PyObject
* obj1
= 0 ;
31036 char *kwnames
[] = {
31037 (char *) "self",(char *) "item", NULL
31040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
31041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31042 if (SWIG_arg_fail(1)) SWIG_fail
;
31044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31045 if (SWIG_arg_fail(2)) SWIG_fail
;
31046 if (arg2
== NULL
) {
31047 SWIG_null_ref("wxTreeItemId");
31049 if (SWIG_arg_fail(2)) SWIG_fail
;
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
31055 wxPyEndAllowThreads(__tstate
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 Py_INCREF(Py_None
); resultobj
= Py_None
;
31065 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31066 PyObject
*resultobj
= NULL
;
31067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31068 wxPoint
*arg2
= 0 ;
31070 wxTreeItemId result
;
31074 PyObject
* obj0
= 0 ;
31075 PyObject
* obj1
= 0 ;
31076 char *kwnames
[] = {
31077 (char *) "self",(char *) "point", NULL
31080 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
31081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
31082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31083 if (SWIG_arg_fail(1)) SWIG_fail
;
31086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31090 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31096 wxTreeItemId
* resultptr
;
31097 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31100 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31101 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31108 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
= NULL
;
31110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31111 wxTreeItemId
*arg2
= 0 ;
31112 bool arg3
= (bool) false ;
31114 PyObject
* obj0
= 0 ;
31115 PyObject
* obj1
= 0 ;
31116 PyObject
* obj2
= 0 ;
31117 char *kwnames
[] = {
31118 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31123 if (SWIG_arg_fail(1)) SWIG_fail
;
31125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31126 if (SWIG_arg_fail(2)) SWIG_fail
;
31127 if (arg2
== NULL
) {
31128 SWIG_null_ref("wxTreeItemId");
31130 if (SWIG_arg_fail(2)) SWIG_fail
;
31134 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
31135 if (SWIG_arg_fail(3)) SWIG_fail
;
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31145 resultobj
= result
;
31152 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31153 PyObject
*resultobj
= NULL
;
31154 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31155 wxTreeItemId
*arg2
= 0 ;
31157 PyObject
* obj0
= 0 ;
31158 PyObject
* obj1
= 0 ;
31159 PyObject
* obj2
= 0 ;
31160 char *kwnames
[] = {
31161 (char *) "self",(char *) "node",(char *) "state", NULL
31164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31166 if (SWIG_arg_fail(1)) SWIG_fail
;
31168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31169 if (SWIG_arg_fail(2)) SWIG_fail
;
31170 if (arg2
== NULL
) {
31171 SWIG_null_ref("wxTreeItemId");
31173 if (SWIG_arg_fail(2)) SWIG_fail
;
31176 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31177 if (SWIG_arg_fail(3)) SWIG_fail
;
31180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31181 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
31183 wxPyEndAllowThreads(__tstate
);
31184 if (PyErr_Occurred()) SWIG_fail
;
31186 Py_INCREF(Py_None
); resultobj
= Py_None
;
31193 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31194 PyObject
*resultobj
= NULL
;
31195 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31196 wxTreeItemId
*arg2
= 0 ;
31198 PyObject
* obj0
= 0 ;
31199 PyObject
* obj1
= 0 ;
31200 char *kwnames
[] = {
31201 (char *) "self",(char *) "node", NULL
31204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
31205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31206 if (SWIG_arg_fail(1)) SWIG_fail
;
31208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31209 if (SWIG_arg_fail(2)) SWIG_fail
;
31210 if (arg2
== NULL
) {
31211 SWIG_null_ref("wxTreeItemId");
31213 if (SWIG_arg_fail(2)) SWIG_fail
;
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= SWIG_From_int(static_cast<int >(result
));
31231 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
= NULL
;
31233 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31234 wxVisualAttributes result
;
31235 PyObject
* obj0
= 0 ;
31236 char *kwnames
[] = {
31237 (char *) "variant", NULL
31240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
31243 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
31244 if (SWIG_arg_fail(1)) SWIG_fail
;
31248 if (!wxPyCheckForApp()) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31256 wxVisualAttributes
* resultptr
;
31257 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
31258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
31266 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
31268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31269 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
31271 return Py_BuildValue((char *)"");
31273 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
31274 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31279 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31280 PyObject
*pyobj
= NULL
;
31284 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31286 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31293 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31294 PyObject
*resultobj
= NULL
;
31295 wxWindow
*arg1
= (wxWindow
*) 0 ;
31296 int arg2
= (int) (int)-1 ;
31297 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31298 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31299 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31300 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31301 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31302 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31303 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31304 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31305 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31306 int arg8
= (int) 0 ;
31307 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31308 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31309 wxGenericDirCtrl
*result
;
31310 bool temp3
= false ;
31313 bool temp7
= false ;
31314 bool temp9
= false ;
31315 PyObject
* obj0
= 0 ;
31316 PyObject
* obj1
= 0 ;
31317 PyObject
* obj2
= 0 ;
31318 PyObject
* obj3
= 0 ;
31319 PyObject
* obj4
= 0 ;
31320 PyObject
* obj5
= 0 ;
31321 PyObject
* obj6
= 0 ;
31322 PyObject
* obj7
= 0 ;
31323 PyObject
* obj8
= 0 ;
31324 char *kwnames
[] = {
31325 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31330 if (SWIG_arg_fail(1)) SWIG_fail
;
31333 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
31334 if (SWIG_arg_fail(2)) SWIG_fail
;
31339 arg3
= wxString_in_helper(obj2
);
31340 if (arg3
== NULL
) SWIG_fail
;
31347 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31353 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31358 arg6
= static_cast<long >(SWIG_As_long(obj5
));
31359 if (SWIG_arg_fail(6)) SWIG_fail
;
31364 arg7
= wxString_in_helper(obj6
);
31365 if (arg7
== NULL
) SWIG_fail
;
31371 arg8
= static_cast<int >(SWIG_As_int(obj7
));
31372 if (SWIG_arg_fail(8)) SWIG_fail
;
31377 arg9
= wxString_in_helper(obj8
);
31378 if (arg9
== NULL
) SWIG_fail
;
31383 if (!wxPyCheckForApp()) SWIG_fail
;
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31387 wxPyEndAllowThreads(__tstate
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31421 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
= NULL
;
31423 wxGenericDirCtrl
*result
;
31424 char *kwnames
[] = {
31428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31430 if (!wxPyCheckForApp()) SWIG_fail
;
31431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31432 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31444 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31445 PyObject
*resultobj
= NULL
;
31446 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31447 wxWindow
*arg2
= (wxWindow
*) 0 ;
31448 int arg3
= (int) (int)-1 ;
31449 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31450 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31451 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31452 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31453 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31454 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31455 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31456 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31457 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31458 int arg9
= (int) 0 ;
31459 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31460 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31462 bool temp4
= false ;
31465 bool temp8
= false ;
31466 bool temp10
= false ;
31467 PyObject
* obj0
= 0 ;
31468 PyObject
* obj1
= 0 ;
31469 PyObject
* obj2
= 0 ;
31470 PyObject
* obj3
= 0 ;
31471 PyObject
* obj4
= 0 ;
31472 PyObject
* obj5
= 0 ;
31473 PyObject
* obj6
= 0 ;
31474 PyObject
* obj7
= 0 ;
31475 PyObject
* obj8
= 0 ;
31476 PyObject
* obj9
= 0 ;
31477 char *kwnames
[] = {
31478 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31483 if (SWIG_arg_fail(1)) SWIG_fail
;
31484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31485 if (SWIG_arg_fail(2)) SWIG_fail
;
31488 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
31489 if (SWIG_arg_fail(3)) SWIG_fail
;
31494 arg4
= wxString_in_helper(obj3
);
31495 if (arg4
== NULL
) SWIG_fail
;
31502 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31508 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31513 arg7
= static_cast<long >(SWIG_As_long(obj6
));
31514 if (SWIG_arg_fail(7)) SWIG_fail
;
31519 arg8
= wxString_in_helper(obj7
);
31520 if (arg8
== NULL
) SWIG_fail
;
31526 arg9
= static_cast<int >(SWIG_As_int(obj8
));
31527 if (SWIG_arg_fail(9)) SWIG_fail
;
31532 arg10
= wxString_in_helper(obj9
);
31533 if (arg10
== NULL
) SWIG_fail
;
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31541 wxPyEndAllowThreads(__tstate
);
31542 if (PyErr_Occurred()) SWIG_fail
;
31545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31577 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
= NULL
;
31579 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31580 wxString
*arg2
= 0 ;
31582 bool temp2
= false ;
31583 PyObject
* obj0
= 0 ;
31584 PyObject
* obj1
= 0 ;
31585 char *kwnames
[] = {
31586 (char *) "self",(char *) "path", NULL
31589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31591 if (SWIG_arg_fail(1)) SWIG_fail
;
31593 arg2
= wxString_in_helper(obj1
);
31594 if (arg2
== NULL
) SWIG_fail
;
31598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31599 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31601 wxPyEndAllowThreads(__tstate
);
31602 if (PyErr_Occurred()) SWIG_fail
;
31605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31621 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31622 PyObject
*resultobj
= NULL
;
31623 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31625 PyObject
* obj0
= 0 ;
31626 char *kwnames
[] = {
31627 (char *) "self", NULL
31630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31632 if (SWIG_arg_fail(1)) SWIG_fail
;
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31635 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31653 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31654 PyObject
*resultobj
= NULL
;
31655 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31656 wxString
*arg2
= 0 ;
31657 bool temp2
= false ;
31658 PyObject
* obj0
= 0 ;
31659 PyObject
* obj1
= 0 ;
31660 char *kwnames
[] = {
31661 (char *) "self",(char *) "path", NULL
31664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31666 if (SWIG_arg_fail(1)) SWIG_fail
;
31668 arg2
= wxString_in_helper(obj1
);
31669 if (arg2
== NULL
) SWIG_fail
;
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31679 Py_INCREF(Py_None
); resultobj
= Py_None
;
31694 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31695 PyObject
*resultobj
= NULL
;
31696 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31698 PyObject
* obj0
= 0 ;
31699 char *kwnames
[] = {
31700 (char *) "self", NULL
31703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31705 if (SWIG_arg_fail(1)) SWIG_fail
;
31707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31708 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31726 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
= NULL
;
31728 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31730 PyObject
* obj0
= 0 ;
31731 char *kwnames
[] = {
31732 (char *) "self", NULL
31735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31737 if (SWIG_arg_fail(1)) SWIG_fail
;
31739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31740 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31742 wxPyEndAllowThreads(__tstate
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31758 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31759 PyObject
*resultobj
= NULL
;
31760 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31761 wxString
*arg2
= 0 ;
31762 bool temp2
= false ;
31763 PyObject
* obj0
= 0 ;
31764 PyObject
* obj1
= 0 ;
31765 char *kwnames
[] = {
31766 (char *) "self",(char *) "path", NULL
31769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31771 if (SWIG_arg_fail(1)) SWIG_fail
;
31773 arg2
= wxString_in_helper(obj1
);
31774 if (arg2
== NULL
) SWIG_fail
;
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 (arg1
)->SetPath((wxString
const &)*arg2
);
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31784 Py_INCREF(Py_None
); resultobj
= Py_None
;
31799 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
= NULL
;
31801 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31803 PyObject
* obj0
= 0 ;
31804 PyObject
* obj1
= 0 ;
31805 char *kwnames
[] = {
31806 (char *) "self",(char *) "show", NULL
31809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31811 if (SWIG_arg_fail(1)) SWIG_fail
;
31813 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31814 if (SWIG_arg_fail(2)) SWIG_fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 (arg1
)->ShowHidden(arg2
);
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 Py_INCREF(Py_None
); resultobj
= Py_None
;
31830 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
= NULL
;
31832 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31834 PyObject
* obj0
= 0 ;
31835 char *kwnames
[] = {
31836 (char *) "self", NULL
31839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31841 if (SWIG_arg_fail(1)) SWIG_fail
;
31843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31844 result
= (bool)(arg1
)->GetShowHidden();
31846 wxPyEndAllowThreads(__tstate
);
31847 if (PyErr_Occurred()) SWIG_fail
;
31850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31858 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31859 PyObject
*resultobj
= NULL
;
31860 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31862 PyObject
* obj0
= 0 ;
31863 char *kwnames
[] = {
31864 (char *) "self", NULL
31867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31869 if (SWIG_arg_fail(1)) SWIG_fail
;
31871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31872 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31874 wxPyEndAllowThreads(__tstate
);
31875 if (PyErr_Occurred()) SWIG_fail
;
31879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31890 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
= NULL
;
31892 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31893 wxString
*arg2
= 0 ;
31894 bool temp2
= false ;
31895 PyObject
* obj0
= 0 ;
31896 PyObject
* obj1
= 0 ;
31897 char *kwnames
[] = {
31898 (char *) "self",(char *) "filter", NULL
31901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31903 if (SWIG_arg_fail(1)) SWIG_fail
;
31905 arg2
= wxString_in_helper(obj1
);
31906 if (arg2
== NULL
) SWIG_fail
;
31910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31911 (arg1
)->SetFilter((wxString
const &)*arg2
);
31913 wxPyEndAllowThreads(__tstate
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31916 Py_INCREF(Py_None
); resultobj
= Py_None
;
31931 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31932 PyObject
*resultobj
= NULL
;
31933 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31935 PyObject
* obj0
= 0 ;
31936 char *kwnames
[] = {
31937 (char *) "self", NULL
31940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31942 if (SWIG_arg_fail(1)) SWIG_fail
;
31944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31945 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31951 resultobj
= SWIG_From_int(static_cast<int >(result
));
31959 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31960 PyObject
*resultobj
= NULL
;
31961 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31963 PyObject
* obj0
= 0 ;
31964 PyObject
* obj1
= 0 ;
31965 char *kwnames
[] = {
31966 (char *) "self",(char *) "n", NULL
31969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31971 if (SWIG_arg_fail(1)) SWIG_fail
;
31973 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31974 if (SWIG_arg_fail(2)) SWIG_fail
;
31977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31978 (arg1
)->SetFilterIndex(arg2
);
31980 wxPyEndAllowThreads(__tstate
);
31981 if (PyErr_Occurred()) SWIG_fail
;
31983 Py_INCREF(Py_None
); resultobj
= Py_None
;
31990 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31991 PyObject
*resultobj
= NULL
;
31992 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31993 wxTreeItemId result
;
31994 PyObject
* obj0
= 0 ;
31995 char *kwnames
[] = {
31996 (char *) "self", NULL
31999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
32000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32001 if (SWIG_arg_fail(1)) SWIG_fail
;
32003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32004 result
= (arg1
)->GetRootId();
32006 wxPyEndAllowThreads(__tstate
);
32007 if (PyErr_Occurred()) SWIG_fail
;
32010 wxTreeItemId
* resultptr
;
32011 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
32012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32020 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32021 PyObject
*resultobj
= NULL
;
32022 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32023 wxPyTreeCtrl
*result
;
32024 PyObject
* obj0
= 0 ;
32025 char *kwnames
[] = {
32026 (char *) "self", NULL
32029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
32030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32031 if (SWIG_arg_fail(1)) SWIG_fail
;
32033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32034 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
32036 wxPyEndAllowThreads(__tstate
);
32037 if (PyErr_Occurred()) SWIG_fail
;
32040 resultobj
= wxPyMake_wxObject(result
, 0);
32048 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
= NULL
;
32050 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32051 wxDirFilterListCtrl
*result
;
32052 PyObject
* obj0
= 0 ;
32053 char *kwnames
[] = {
32054 (char *) "self", NULL
32057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
32058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32059 if (SWIG_arg_fail(1)) SWIG_fail
;
32061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
32074 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32075 PyObject
*resultobj
= NULL
;
32076 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32077 wxTreeItemId arg2
;
32078 wxString
*arg3
= 0 ;
32080 wxTreeItemId result
;
32081 bool temp3
= false ;
32084 PyObject
* obj0
= 0 ;
32085 PyObject
* obj1
= 0 ;
32086 PyObject
* obj2
= 0 ;
32087 char *kwnames
[] = {
32088 (char *) "self",(char *) "parentId",(char *) "path", NULL
32091 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
32092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32094 if (SWIG_arg_fail(1)) SWIG_fail
;
32096 wxTreeItemId
* argp
;
32097 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
32098 if (SWIG_arg_fail(2)) SWIG_fail
;
32099 if (argp
== NULL
) {
32100 SWIG_null_ref("wxTreeItemId");
32102 if (SWIG_arg_fail(2)) SWIG_fail
;
32106 arg3
= wxString_in_helper(obj2
);
32107 if (arg3
== NULL
) SWIG_fail
;
32111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32112 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
32114 wxPyEndAllowThreads(__tstate
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32118 wxTreeItemId
* resultptr
;
32119 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
32120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32122 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
32123 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
32138 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32139 PyObject
*resultobj
= NULL
;
32140 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32141 PyObject
* obj0
= 0 ;
32142 char *kwnames
[] = {
32143 (char *) "self", NULL
32146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
32147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32148 if (SWIG_arg_fail(1)) SWIG_fail
;
32150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32151 (arg1
)->DoResize();
32153 wxPyEndAllowThreads(__tstate
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32156 Py_INCREF(Py_None
); resultobj
= Py_None
;
32163 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32164 PyObject
*resultobj
= NULL
;
32165 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32166 PyObject
* obj0
= 0 ;
32167 char *kwnames
[] = {
32168 (char *) "self", NULL
32171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
32172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32173 if (SWIG_arg_fail(1)) SWIG_fail
;
32175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32176 (arg1
)->ReCreateTree();
32178 wxPyEndAllowThreads(__tstate
);
32179 if (PyErr_Occurred()) SWIG_fail
;
32181 Py_INCREF(Py_None
); resultobj
= Py_None
;
32188 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
32190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32191 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
32193 return Py_BuildValue((char *)"");
32195 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32196 PyObject
*resultobj
= NULL
;
32197 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32198 int arg2
= (int) (int)-1 ;
32199 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32200 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32201 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32202 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32203 long arg5
= (long) 0 ;
32204 wxDirFilterListCtrl
*result
;
32207 PyObject
* obj0
= 0 ;
32208 PyObject
* obj1
= 0 ;
32209 PyObject
* obj2
= 0 ;
32210 PyObject
* obj3
= 0 ;
32211 PyObject
* obj4
= 0 ;
32212 char *kwnames
[] = {
32213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32218 if (SWIG_arg_fail(1)) SWIG_fail
;
32221 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
32222 if (SWIG_arg_fail(2)) SWIG_fail
;
32228 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32234 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32239 arg5
= static_cast<long >(SWIG_As_long(obj4
));
32240 if (SWIG_arg_fail(5)) SWIG_fail
;
32244 if (!wxPyCheckForApp()) SWIG_fail
;
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32258 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32259 PyObject
*resultobj
= NULL
;
32260 wxDirFilterListCtrl
*result
;
32261 char *kwnames
[] = {
32265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
32267 if (!wxPyCheckForApp()) SWIG_fail
;
32268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
32271 wxPyEndAllowThreads(__tstate
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32281 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
= NULL
;
32283 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32284 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32285 int arg3
= (int) (int)-1 ;
32286 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32287 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32288 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32289 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32290 long arg6
= (long) 0 ;
32294 PyObject
* obj0
= 0 ;
32295 PyObject
* obj1
= 0 ;
32296 PyObject
* obj2
= 0 ;
32297 PyObject
* obj3
= 0 ;
32298 PyObject
* obj4
= 0 ;
32299 PyObject
* obj5
= 0 ;
32300 char *kwnames
[] = {
32301 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32306 if (SWIG_arg_fail(1)) SWIG_fail
;
32307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32308 if (SWIG_arg_fail(2)) SWIG_fail
;
32311 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
32312 if (SWIG_arg_fail(3)) SWIG_fail
;
32318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32329 arg6
= static_cast<long >(SWIG_As_long(obj5
));
32330 if (SWIG_arg_fail(6)) SWIG_fail
;
32334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32335 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32349 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
= NULL
;
32351 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32352 wxString
*arg2
= 0 ;
32354 bool temp2
= false ;
32355 PyObject
* obj0
= 0 ;
32356 PyObject
* obj1
= 0 ;
32357 PyObject
* obj2
= 0 ;
32358 char *kwnames
[] = {
32359 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32364 if (SWIG_arg_fail(1)) SWIG_fail
;
32366 arg2
= wxString_in_helper(obj1
);
32367 if (arg2
== NULL
) SWIG_fail
;
32371 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32372 if (SWIG_arg_fail(3)) SWIG_fail
;
32375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32376 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32378 wxPyEndAllowThreads(__tstate
);
32379 if (PyErr_Occurred()) SWIG_fail
;
32381 Py_INCREF(Py_None
); resultobj
= Py_None
;
32396 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32399 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32401 return Py_BuildValue((char *)"");
32403 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32404 PyObject
*resultobj
= NULL
;
32405 wxWindow
*arg1
= (wxWindow
*) 0 ;
32406 int arg2
= (int) (int)-1 ;
32407 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32408 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32409 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32410 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32411 long arg5
= (long) 0 ;
32412 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32413 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32414 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32415 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32416 wxPyControl
*result
;
32419 bool temp7
= false ;
32420 PyObject
* obj0
= 0 ;
32421 PyObject
* obj1
= 0 ;
32422 PyObject
* obj2
= 0 ;
32423 PyObject
* obj3
= 0 ;
32424 PyObject
* obj4
= 0 ;
32425 PyObject
* obj5
= 0 ;
32426 PyObject
* obj6
= 0 ;
32427 char *kwnames
[] = {
32428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32433 if (SWIG_arg_fail(1)) SWIG_fail
;
32436 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
32437 if (SWIG_arg_fail(2)) SWIG_fail
;
32443 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32449 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32454 arg5
= static_cast<long >(SWIG_As_long(obj4
));
32455 if (SWIG_arg_fail(5)) SWIG_fail
;
32460 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32461 if (SWIG_arg_fail(6)) SWIG_fail
;
32462 if (arg6
== NULL
) {
32463 SWIG_null_ref("wxValidator");
32465 if (SWIG_arg_fail(6)) SWIG_fail
;
32470 arg7
= wxString_in_helper(obj6
);
32471 if (arg7
== NULL
) SWIG_fail
;
32476 if (!wxPyCheckForApp()) SWIG_fail
;
32477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32478 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32480 wxPyEndAllowThreads(__tstate
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32498 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32499 PyObject
*resultobj
= NULL
;
32500 wxPyControl
*result
;
32501 char *kwnames
[] = {
32505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32507 if (!wxPyCheckForApp()) SWIG_fail
;
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 result
= (wxPyControl
*)new wxPyControl();
32511 wxPyEndAllowThreads(__tstate
);
32512 if (PyErr_Occurred()) SWIG_fail
;
32514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32521 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
= NULL
;
32523 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32524 PyObject
*arg2
= (PyObject
*) 0 ;
32525 PyObject
*arg3
= (PyObject
*) 0 ;
32526 PyObject
* obj0
= 0 ;
32527 PyObject
* obj1
= 0 ;
32528 PyObject
* obj2
= 0 ;
32529 char *kwnames
[] = {
32530 (char *) "self",(char *) "self",(char *) "_class", NULL
32533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32535 if (SWIG_arg_fail(1)) SWIG_fail
;
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32540 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 Py_INCREF(Py_None
); resultobj
= Py_None
;
32552 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32553 PyObject
*resultobj
= NULL
;
32554 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32557 PyObject
* obj0
= 0 ;
32558 PyObject
* obj1
= 0 ;
32559 char *kwnames
[] = {
32560 (char *) "self",(char *) "size", NULL
32563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32565 if (SWIG_arg_fail(1)) SWIG_fail
;
32568 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32572 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32574 wxPyEndAllowThreads(__tstate
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32577 Py_INCREF(Py_None
); resultobj
= Py_None
;
32584 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32585 PyObject
*resultobj
= NULL
;
32586 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32587 wxDC
*arg2
= (wxDC
*) 0 ;
32589 PyObject
* obj0
= 0 ;
32590 PyObject
* obj1
= 0 ;
32591 char *kwnames
[] = {
32592 (char *) "self",(char *) "dc", NULL
32595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32597 if (SWIG_arg_fail(1)) SWIG_fail
;
32598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32599 if (SWIG_arg_fail(2)) SWIG_fail
;
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32616 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32617 PyObject
*resultobj
= NULL
;
32618 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32623 PyObject
* obj0
= 0 ;
32624 PyObject
* obj1
= 0 ;
32625 PyObject
* obj2
= 0 ;
32626 PyObject
* obj3
= 0 ;
32627 PyObject
* obj4
= 0 ;
32628 char *kwnames
[] = {
32629 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32634 if (SWIG_arg_fail(1)) SWIG_fail
;
32636 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32637 if (SWIG_arg_fail(2)) SWIG_fail
;
32640 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32641 if (SWIG_arg_fail(3)) SWIG_fail
;
32644 arg4
= static_cast<int >(SWIG_As_int(obj3
));
32645 if (SWIG_arg_fail(4)) SWIG_fail
;
32648 arg5
= static_cast<int >(SWIG_As_int(obj4
));
32649 if (SWIG_arg_fail(5)) SWIG_fail
;
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32658 Py_INCREF(Py_None
); resultobj
= Py_None
;
32665 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32666 PyObject
*resultobj
= NULL
;
32667 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32672 int arg6
= (int) wxSIZE_AUTO
;
32673 PyObject
* obj0
= 0 ;
32674 PyObject
* obj1
= 0 ;
32675 PyObject
* obj2
= 0 ;
32676 PyObject
* obj3
= 0 ;
32677 PyObject
* obj4
= 0 ;
32678 PyObject
* obj5
= 0 ;
32679 char *kwnames
[] = {
32680 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32685 if (SWIG_arg_fail(1)) SWIG_fail
;
32687 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32688 if (SWIG_arg_fail(2)) SWIG_fail
;
32691 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32692 if (SWIG_arg_fail(3)) SWIG_fail
;
32695 arg4
= static_cast<int >(SWIG_As_int(obj3
));
32696 if (SWIG_arg_fail(4)) SWIG_fail
;
32699 arg5
= static_cast<int >(SWIG_As_int(obj4
));
32700 if (SWIG_arg_fail(5)) SWIG_fail
;
32704 arg6
= static_cast<int >(SWIG_As_int(obj5
));
32705 if (SWIG_arg_fail(6)) SWIG_fail
;
32709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32710 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32712 wxPyEndAllowThreads(__tstate
);
32713 if (PyErr_Occurred()) SWIG_fail
;
32715 Py_INCREF(Py_None
); resultobj
= Py_None
;
32722 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32723 PyObject
*resultobj
= NULL
;
32724 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32727 PyObject
* obj0
= 0 ;
32728 PyObject
* obj1
= 0 ;
32729 PyObject
* obj2
= 0 ;
32730 char *kwnames
[] = {
32731 (char *) "self",(char *) "width",(char *) "height", NULL
32734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32736 if (SWIG_arg_fail(1)) SWIG_fail
;
32738 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32739 if (SWIG_arg_fail(2)) SWIG_fail
;
32742 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32743 if (SWIG_arg_fail(3)) SWIG_fail
;
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32747 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 Py_INCREF(Py_None
); resultobj
= Py_None
;
32759 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32760 PyObject
*resultobj
= NULL
;
32761 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32764 PyObject
* obj0
= 0 ;
32765 PyObject
* obj1
= 0 ;
32766 PyObject
* obj2
= 0 ;
32767 char *kwnames
[] = {
32768 (char *) "self",(char *) "x",(char *) "y", NULL
32771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32773 if (SWIG_arg_fail(1)) SWIG_fail
;
32775 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32776 if (SWIG_arg_fail(2)) SWIG_fail
;
32779 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32780 if (SWIG_arg_fail(3)) SWIG_fail
;
32783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32784 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32786 wxPyEndAllowThreads(__tstate
);
32787 if (PyErr_Occurred()) SWIG_fail
;
32789 Py_INCREF(Py_None
); resultobj
= Py_None
;
32796 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32797 PyObject
*resultobj
= NULL
;
32798 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32799 int *arg2
= (int *) 0 ;
32800 int *arg3
= (int *) 0 ;
32805 PyObject
* obj0
= 0 ;
32806 char *kwnames
[] = {
32807 (char *) "self", NULL
32810 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32811 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32814 if (SWIG_arg_fail(1)) SWIG_fail
;
32816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32822 Py_INCREF(Py_None
); resultobj
= Py_None
;
32823 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32824 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32825 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32826 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32833 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32834 PyObject
*resultobj
= NULL
;
32835 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32836 int *arg2
= (int *) 0 ;
32837 int *arg3
= (int *) 0 ;
32842 PyObject
* obj0
= 0 ;
32843 char *kwnames
[] = {
32844 (char *) "self", NULL
32847 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32848 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32851 if (SWIG_arg_fail(1)) SWIG_fail
;
32853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32854 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32856 wxPyEndAllowThreads(__tstate
);
32857 if (PyErr_Occurred()) SWIG_fail
;
32859 Py_INCREF(Py_None
); resultobj
= Py_None
;
32860 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32861 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32862 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32863 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32870 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32871 PyObject
*resultobj
= NULL
;
32872 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32873 int *arg2
= (int *) 0 ;
32874 int *arg3
= (int *) 0 ;
32879 PyObject
* obj0
= 0 ;
32880 char *kwnames
[] = {
32881 (char *) "self", NULL
32884 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32885 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32888 if (SWIG_arg_fail(1)) SWIG_fail
;
32890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32891 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32893 wxPyEndAllowThreads(__tstate
);
32894 if (PyErr_Occurred()) SWIG_fail
;
32896 Py_INCREF(Py_None
); resultobj
= Py_None
;
32897 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32898 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32899 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32900 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32907 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32908 PyObject
*resultobj
= NULL
;
32909 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32911 PyObject
* obj0
= 0 ;
32912 char *kwnames
[] = {
32913 (char *) "self", NULL
32916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32918 if (SWIG_arg_fail(1)) SWIG_fail
;
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32927 wxSize
* resultptr
;
32928 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
32929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32937 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
= NULL
;
32939 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32941 PyObject
* obj0
= 0 ;
32942 char *kwnames
[] = {
32943 (char *) "self", NULL
32946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32948 if (SWIG_arg_fail(1)) SWIG_fail
;
32950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32951 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32953 wxPyEndAllowThreads(__tstate
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32957 wxSize
* resultptr
;
32958 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
32959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32967 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32968 PyObject
*resultobj
= NULL
;
32969 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32970 PyObject
* obj0
= 0 ;
32971 char *kwnames
[] = {
32972 (char *) "self", NULL
32975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32977 if (SWIG_arg_fail(1)) SWIG_fail
;
32979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32980 (arg1
)->base_InitDialog();
32982 wxPyEndAllowThreads(__tstate
);
32983 if (PyErr_Occurred()) SWIG_fail
;
32985 Py_INCREF(Py_None
); resultobj
= Py_None
;
32992 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
= NULL
;
32994 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32996 PyObject
* obj0
= 0 ;
32997 char *kwnames
[] = {
32998 (char *) "self", NULL
33001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
33002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33003 if (SWIG_arg_fail(1)) SWIG_fail
;
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 result
= (bool)(arg1
)->base_TransferDataToWindow();
33008 wxPyEndAllowThreads(__tstate
);
33009 if (PyErr_Occurred()) SWIG_fail
;
33012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33020 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33021 PyObject
*resultobj
= NULL
;
33022 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33024 PyObject
* obj0
= 0 ;
33025 char *kwnames
[] = {
33026 (char *) "self", NULL
33029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
33030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33031 if (SWIG_arg_fail(1)) SWIG_fail
;
33033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33034 result
= (bool)(arg1
)->base_TransferDataFromWindow();
33036 wxPyEndAllowThreads(__tstate
);
33037 if (PyErr_Occurred()) SWIG_fail
;
33040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33048 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33049 PyObject
*resultobj
= NULL
;
33050 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33052 PyObject
* obj0
= 0 ;
33053 char *kwnames
[] = {
33054 (char *) "self", NULL
33057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
33058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33059 if (SWIG_arg_fail(1)) SWIG_fail
;
33061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33062 result
= (bool)(arg1
)->base_Validate();
33064 wxPyEndAllowThreads(__tstate
);
33065 if (PyErr_Occurred()) SWIG_fail
;
33068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33076 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33077 PyObject
*resultobj
= NULL
;
33078 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33080 PyObject
* obj0
= 0 ;
33081 char *kwnames
[] = {
33082 (char *) "self", NULL
33085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
33086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33087 if (SWIG_arg_fail(1)) SWIG_fail
;
33089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33090 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
33092 wxPyEndAllowThreads(__tstate
);
33093 if (PyErr_Occurred()) SWIG_fail
;
33096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33104 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33105 PyObject
*resultobj
= NULL
;
33106 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33108 PyObject
* obj0
= 0 ;
33109 char *kwnames
[] = {
33110 (char *) "self", NULL
33113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
33114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33115 if (SWIG_arg_fail(1)) SWIG_fail
;
33117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33118 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
33120 wxPyEndAllowThreads(__tstate
);
33121 if (PyErr_Occurred()) SWIG_fail
;
33124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33132 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33133 PyObject
*resultobj
= NULL
;
33134 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33136 PyObject
* obj0
= 0 ;
33137 char *kwnames
[] = {
33138 (char *) "self", NULL
33141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
33142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33143 if (SWIG_arg_fail(1)) SWIG_fail
;
33145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33146 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
33148 wxPyEndAllowThreads(__tstate
);
33149 if (PyErr_Occurred()) SWIG_fail
;
33152 wxSize
* resultptr
;
33153 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
33154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33162 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33163 PyObject
*resultobj
= NULL
;
33164 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33165 wxWindow
*arg2
= (wxWindow
*) 0 ;
33166 PyObject
* obj0
= 0 ;
33167 PyObject
* obj1
= 0 ;
33168 char *kwnames
[] = {
33169 (char *) "self",(char *) "child", NULL
33172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33174 if (SWIG_arg_fail(1)) SWIG_fail
;
33175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33176 if (SWIG_arg_fail(2)) SWIG_fail
;
33178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33179 (arg1
)->base_AddChild(arg2
);
33181 wxPyEndAllowThreads(__tstate
);
33182 if (PyErr_Occurred()) SWIG_fail
;
33184 Py_INCREF(Py_None
); resultobj
= Py_None
;
33191 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33192 PyObject
*resultobj
= NULL
;
33193 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33194 wxWindow
*arg2
= (wxWindow
*) 0 ;
33195 PyObject
* obj0
= 0 ;
33196 PyObject
* obj1
= 0 ;
33197 char *kwnames
[] = {
33198 (char *) "self",(char *) "child", NULL
33201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33203 if (SWIG_arg_fail(1)) SWIG_fail
;
33204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33205 if (SWIG_arg_fail(2)) SWIG_fail
;
33207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33208 (arg1
)->base_RemoveChild(arg2
);
33210 wxPyEndAllowThreads(__tstate
);
33211 if (PyErr_Occurred()) SWIG_fail
;
33213 Py_INCREF(Py_None
); resultobj
= Py_None
;
33220 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33221 PyObject
*resultobj
= NULL
;
33222 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33224 PyObject
* obj0
= 0 ;
33225 char *kwnames
[] = {
33226 (char *) "self", NULL
33229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
33230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33231 if (SWIG_arg_fail(1)) SWIG_fail
;
33233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33248 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33249 PyObject
*resultobj
= NULL
;
33250 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33251 wxVisualAttributes result
;
33252 PyObject
* obj0
= 0 ;
33253 char *kwnames
[] = {
33254 (char *) "self", NULL
33257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33259 if (SWIG_arg_fail(1)) SWIG_fail
;
33261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33262 result
= (arg1
)->base_GetDefaultAttributes();
33264 wxPyEndAllowThreads(__tstate
);
33265 if (PyErr_Occurred()) SWIG_fail
;
33268 wxVisualAttributes
* resultptr
;
33269 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
33270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33278 static PyObject
*_wrap_PyControl_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33279 PyObject
*resultobj
= NULL
;
33280 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33281 PyObject
* obj0
= 0 ;
33282 char *kwnames
[] = {
33283 (char *) "self", NULL
33286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
33287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33288 if (SWIG_arg_fail(1)) SWIG_fail
;
33290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33291 (arg1
)->base_OnInternalIdle();
33293 wxPyEndAllowThreads(__tstate
);
33294 if (PyErr_Occurred()) SWIG_fail
;
33296 Py_INCREF(Py_None
); resultobj
= Py_None
;
33303 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33306 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33308 return Py_BuildValue((char *)"");
33310 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33311 PyObject
*resultobj
= NULL
;
33312 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33313 int arg2
= (int) 0 ;
33314 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33315 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33316 wxHelpEvent
*result
;
33318 PyObject
* obj0
= 0 ;
33319 PyObject
* obj1
= 0 ;
33320 PyObject
* obj2
= 0 ;
33321 char *kwnames
[] = {
33322 (char *) "type",(char *) "winid",(char *) "pt", NULL
33325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33328 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
33329 if (SWIG_arg_fail(1)) SWIG_fail
;
33334 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33335 if (SWIG_arg_fail(2)) SWIG_fail
;
33341 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33346 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33348 wxPyEndAllowThreads(__tstate
);
33349 if (PyErr_Occurred()) SWIG_fail
;
33351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33358 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33359 PyObject
*resultobj
= NULL
;
33360 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33362 PyObject
* obj0
= 0 ;
33363 char *kwnames
[] = {
33364 (char *) "self", NULL
33367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33369 if (SWIG_arg_fail(1)) SWIG_fail
;
33371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33372 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33378 wxPoint
* resultptr
;
33379 resultptr
= new wxPoint(static_cast<wxPoint
const & >(result
));
33380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33388 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33389 PyObject
*resultobj
= NULL
;
33390 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33391 wxPoint
*arg2
= 0 ;
33393 PyObject
* obj0
= 0 ;
33394 PyObject
* obj1
= 0 ;
33395 char *kwnames
[] = {
33396 (char *) "self",(char *) "pos", NULL
33399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33401 if (SWIG_arg_fail(1)) SWIG_fail
;
33404 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33408 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33413 Py_INCREF(Py_None
); resultobj
= Py_None
;
33420 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33421 PyObject
*resultobj
= NULL
;
33422 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33424 PyObject
* obj0
= 0 ;
33425 char *kwnames
[] = {
33426 (char *) "self", NULL
33429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33431 if (SWIG_arg_fail(1)) SWIG_fail
;
33433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33435 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33436 result
= (wxString
*) &_result_ref
;
33439 wxPyEndAllowThreads(__tstate
);
33440 if (PyErr_Occurred()) SWIG_fail
;
33444 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33446 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33455 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33456 PyObject
*resultobj
= NULL
;
33457 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33458 wxString
*arg2
= 0 ;
33459 bool temp2
= false ;
33460 PyObject
* obj0
= 0 ;
33461 PyObject
* obj1
= 0 ;
33462 char *kwnames
[] = {
33463 (char *) "self",(char *) "link", NULL
33466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33468 if (SWIG_arg_fail(1)) SWIG_fail
;
33470 arg2
= wxString_in_helper(obj1
);
33471 if (arg2
== NULL
) SWIG_fail
;
33475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33476 (arg1
)->SetLink((wxString
const &)*arg2
);
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33481 Py_INCREF(Py_None
); resultobj
= Py_None
;
33496 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33497 PyObject
*resultobj
= NULL
;
33498 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33500 PyObject
* obj0
= 0 ;
33501 char *kwnames
[] = {
33502 (char *) "self", NULL
33505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33507 if (SWIG_arg_fail(1)) SWIG_fail
;
33509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33511 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33512 result
= (wxString
*) &_result_ref
;
33515 wxPyEndAllowThreads(__tstate
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33522 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33531 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33532 PyObject
*resultobj
= NULL
;
33533 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33534 wxString
*arg2
= 0 ;
33535 bool temp2
= false ;
33536 PyObject
* obj0
= 0 ;
33537 PyObject
* obj1
= 0 ;
33538 char *kwnames
[] = {
33539 (char *) "self",(char *) "target", NULL
33542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33544 if (SWIG_arg_fail(1)) SWIG_fail
;
33546 arg2
= wxString_in_helper(obj1
);
33547 if (arg2
== NULL
) SWIG_fail
;
33551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33552 (arg1
)->SetTarget((wxString
const &)*arg2
);
33554 wxPyEndAllowThreads(__tstate
);
33555 if (PyErr_Occurred()) SWIG_fail
;
33557 Py_INCREF(Py_None
); resultobj
= Py_None
;
33572 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33575 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33577 return Py_BuildValue((char *)"");
33579 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33580 PyObject
*resultobj
= NULL
;
33581 wxWindow
*arg1
= (wxWindow
*) NULL
;
33582 bool arg2
= (bool) true ;
33583 wxContextHelp
*result
;
33584 PyObject
* obj0
= 0 ;
33585 PyObject
* obj1
= 0 ;
33586 char *kwnames
[] = {
33587 (char *) "window",(char *) "doNow", NULL
33590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33593 if (SWIG_arg_fail(1)) SWIG_fail
;
33597 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
33598 if (SWIG_arg_fail(2)) SWIG_fail
;
33602 if (!wxPyCheckForApp()) SWIG_fail
;
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33606 wxPyEndAllowThreads(__tstate
);
33607 if (PyErr_Occurred()) SWIG_fail
;
33609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33616 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33617 PyObject
*resultobj
= NULL
;
33618 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33619 PyObject
* obj0
= 0 ;
33620 char *kwnames
[] = {
33621 (char *) "self", NULL
33624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33626 if (SWIG_arg_fail(1)) SWIG_fail
;
33628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33631 wxPyEndAllowThreads(__tstate
);
33632 if (PyErr_Occurred()) SWIG_fail
;
33634 Py_INCREF(Py_None
); resultobj
= Py_None
;
33641 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33642 PyObject
*resultobj
= NULL
;
33643 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33644 wxWindow
*arg2
= (wxWindow
*) NULL
;
33646 PyObject
* obj0
= 0 ;
33647 PyObject
* obj1
= 0 ;
33648 char *kwnames
[] = {
33649 (char *) "self",(char *) "window", NULL
33652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33654 if (SWIG_arg_fail(1)) SWIG_fail
;
33656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33657 if (SWIG_arg_fail(2)) SWIG_fail
;
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33663 wxPyEndAllowThreads(__tstate
);
33664 if (PyErr_Occurred()) SWIG_fail
;
33667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33675 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33676 PyObject
*resultobj
= NULL
;
33677 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33679 PyObject
* obj0
= 0 ;
33680 char *kwnames
[] = {
33681 (char *) "self", NULL
33684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33686 if (SWIG_arg_fail(1)) SWIG_fail
;
33688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33689 result
= (bool)(arg1
)->EndContextHelp();
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33703 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33706 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33708 return Py_BuildValue((char *)"");
33710 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33711 PyObject
*resultobj
= NULL
;
33712 wxWindow
*arg1
= (wxWindow
*) 0 ;
33713 int arg2
= (int) wxID_CONTEXT_HELP
;
33714 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33715 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33716 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33717 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33718 long arg5
= (long) wxBU_AUTODRAW
;
33719 wxContextHelpButton
*result
;
33722 PyObject
* obj0
= 0 ;
33723 PyObject
* obj1
= 0 ;
33724 PyObject
* obj2
= 0 ;
33725 PyObject
* obj3
= 0 ;
33726 PyObject
* obj4
= 0 ;
33727 char *kwnames
[] = {
33728 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33733 if (SWIG_arg_fail(1)) SWIG_fail
;
33736 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33737 if (SWIG_arg_fail(2)) SWIG_fail
;
33743 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33749 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33754 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33755 if (SWIG_arg_fail(5)) SWIG_fail
;
33759 if (!wxPyCheckForApp()) SWIG_fail
;
33760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33761 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33763 wxPyEndAllowThreads(__tstate
);
33764 if (PyErr_Occurred()) SWIG_fail
;
33766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33773 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33776 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33778 return Py_BuildValue((char *)"");
33780 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33781 PyObject
*resultobj
= NULL
;
33782 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33783 wxHelpProvider
*result
;
33784 PyObject
* obj0
= 0 ;
33785 char *kwnames
[] = {
33786 (char *) "helpProvider", NULL
33789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33791 if (SWIG_arg_fail(1)) SWIG_fail
;
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33796 wxPyEndAllowThreads(__tstate
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33806 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33807 PyObject
*resultobj
= NULL
;
33808 wxHelpProvider
*result
;
33809 char *kwnames
[] = {
33813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33828 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33829 PyObject
*resultobj
= NULL
;
33830 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33831 wxWindow
*arg2
= (wxWindow
*) 0 ;
33833 PyObject
* obj0
= 0 ;
33834 PyObject
* obj1
= 0 ;
33835 char *kwnames
[] = {
33836 (char *) "self",(char *) "window", NULL
33839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33841 if (SWIG_arg_fail(1)) SWIG_fail
;
33842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33843 if (SWIG_arg_fail(2)) SWIG_fail
;
33845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33846 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33848 wxPyEndAllowThreads(__tstate
);
33849 if (PyErr_Occurred()) SWIG_fail
;
33853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33864 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33865 PyObject
*resultobj
= NULL
;
33866 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33867 wxWindow
*arg2
= (wxWindow
*) 0 ;
33869 PyObject
* obj0
= 0 ;
33870 PyObject
* obj1
= 0 ;
33871 char *kwnames
[] = {
33872 (char *) "self",(char *) "window", NULL
33875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33877 if (SWIG_arg_fail(1)) SWIG_fail
;
33878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33879 if (SWIG_arg_fail(2)) SWIG_fail
;
33881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33882 result
= (bool)(arg1
)->ShowHelp(arg2
);
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33896 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33897 PyObject
*resultobj
= NULL
;
33898 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33899 wxWindow
*arg2
= (wxWindow
*) 0 ;
33900 wxString
*arg3
= 0 ;
33901 bool temp3
= false ;
33902 PyObject
* obj0
= 0 ;
33903 PyObject
* obj1
= 0 ;
33904 PyObject
* obj2
= 0 ;
33905 char *kwnames
[] = {
33906 (char *) "self",(char *) "window",(char *) "text", NULL
33909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33911 if (SWIG_arg_fail(1)) SWIG_fail
;
33912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33913 if (SWIG_arg_fail(2)) SWIG_fail
;
33915 arg3
= wxString_in_helper(obj2
);
33916 if (arg3
== NULL
) SWIG_fail
;
33920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33921 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33923 wxPyEndAllowThreads(__tstate
);
33924 if (PyErr_Occurred()) SWIG_fail
;
33926 Py_INCREF(Py_None
); resultobj
= Py_None
;
33941 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33942 PyObject
*resultobj
= NULL
;
33943 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33945 wxString
*arg3
= 0 ;
33946 bool temp3
= false ;
33947 PyObject
* obj0
= 0 ;
33948 PyObject
* obj1
= 0 ;
33949 PyObject
* obj2
= 0 ;
33950 char *kwnames
[] = {
33951 (char *) "self",(char *) "id",(char *) "text", NULL
33954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33956 if (SWIG_arg_fail(1)) SWIG_fail
;
33958 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33959 if (SWIG_arg_fail(2)) SWIG_fail
;
33962 arg3
= wxString_in_helper(obj2
);
33963 if (arg3
== NULL
) SWIG_fail
;
33967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33968 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33970 wxPyEndAllowThreads(__tstate
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 Py_INCREF(Py_None
); resultobj
= Py_None
;
33988 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33989 PyObject
*resultobj
= NULL
;
33990 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33991 wxWindow
*arg2
= (wxWindow
*) 0 ;
33992 PyObject
* obj0
= 0 ;
33993 PyObject
* obj1
= 0 ;
33994 char *kwnames
[] = {
33995 (char *) "self",(char *) "window", NULL
33998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34000 if (SWIG_arg_fail(1)) SWIG_fail
;
34001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34002 if (SWIG_arg_fail(2)) SWIG_fail
;
34004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34005 (arg1
)->RemoveHelp(arg2
);
34007 wxPyEndAllowThreads(__tstate
);
34008 if (PyErr_Occurred()) SWIG_fail
;
34010 Py_INCREF(Py_None
); resultobj
= Py_None
;
34017 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34018 PyObject
*resultobj
= NULL
;
34019 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34020 PyObject
* obj0
= 0 ;
34021 char *kwnames
[] = {
34022 (char *) "self", NULL
34025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
34026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34027 if (SWIG_arg_fail(1)) SWIG_fail
;
34029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34030 wxHelpProvider_Destroy(arg1
);
34032 wxPyEndAllowThreads(__tstate
);
34033 if (PyErr_Occurred()) SWIG_fail
;
34035 Py_INCREF(Py_None
); resultobj
= Py_None
;
34042 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
34044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34045 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
34047 return Py_BuildValue((char *)"");
34049 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34050 PyObject
*resultobj
= NULL
;
34051 wxSimpleHelpProvider
*result
;
34052 char *kwnames
[] = {
34056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
34071 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
34073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34074 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
34076 return Py_BuildValue((char *)"");
34078 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34079 PyObject
*resultobj
= NULL
;
34080 wxBitmap
*arg1
= 0 ;
34081 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34082 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34083 wxGenericDragImage
*result
;
34084 PyObject
* obj0
= 0 ;
34085 PyObject
* obj1
= 0 ;
34086 char *kwnames
[] = {
34087 (char *) "image",(char *) "cursor", NULL
34090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
34092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34093 if (SWIG_arg_fail(1)) SWIG_fail
;
34094 if (arg1
== NULL
) {
34095 SWIG_null_ref("wxBitmap");
34097 if (SWIG_arg_fail(1)) SWIG_fail
;
34101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34102 if (SWIG_arg_fail(2)) SWIG_fail
;
34103 if (arg2
== NULL
) {
34104 SWIG_null_ref("wxCursor");
34106 if (SWIG_arg_fail(2)) SWIG_fail
;
34110 if (!wxPyCheckForApp()) SWIG_fail
;
34111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34112 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34124 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34125 PyObject
*resultobj
= NULL
;
34127 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34128 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34129 wxGenericDragImage
*result
;
34130 PyObject
* obj0
= 0 ;
34131 PyObject
* obj1
= 0 ;
34132 char *kwnames
[] = {
34133 (char *) "image",(char *) "cursor", NULL
34136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
34138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
34139 if (SWIG_arg_fail(1)) SWIG_fail
;
34140 if (arg1
== NULL
) {
34141 SWIG_null_ref("wxIcon");
34143 if (SWIG_arg_fail(1)) SWIG_fail
;
34147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34148 if (SWIG_arg_fail(2)) SWIG_fail
;
34149 if (arg2
== NULL
) {
34150 SWIG_null_ref("wxCursor");
34152 if (SWIG_arg_fail(2)) SWIG_fail
;
34156 if (!wxPyCheckForApp()) SWIG_fail
;
34157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34158 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34170 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34171 PyObject
*resultobj
= NULL
;
34172 wxString
*arg1
= 0 ;
34173 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34174 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34175 wxGenericDragImage
*result
;
34176 bool temp1
= false ;
34177 PyObject
* obj0
= 0 ;
34178 PyObject
* obj1
= 0 ;
34179 char *kwnames
[] = {
34180 (char *) "str",(char *) "cursor", NULL
34183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
34185 arg1
= wxString_in_helper(obj0
);
34186 if (arg1
== NULL
) SWIG_fail
;
34191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34192 if (SWIG_arg_fail(2)) SWIG_fail
;
34193 if (arg2
== NULL
) {
34194 SWIG_null_ref("wxCursor");
34196 if (SWIG_arg_fail(2)) SWIG_fail
;
34200 if (!wxPyCheckForApp()) SWIG_fail
;
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
34204 wxPyEndAllowThreads(__tstate
);
34205 if (PyErr_Occurred()) SWIG_fail
;
34207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34222 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34223 PyObject
*resultobj
= NULL
;
34224 wxPyTreeCtrl
*arg1
= 0 ;
34225 wxTreeItemId
*arg2
= 0 ;
34226 wxGenericDragImage
*result
;
34227 PyObject
* obj0
= 0 ;
34228 PyObject
* obj1
= 0 ;
34229 char *kwnames
[] = {
34230 (char *) "treeCtrl",(char *) "id", NULL
34233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34236 if (SWIG_arg_fail(1)) SWIG_fail
;
34237 if (arg1
== NULL
) {
34238 SWIG_null_ref("wxPyTreeCtrl");
34240 if (SWIG_arg_fail(1)) SWIG_fail
;
34243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
34244 if (SWIG_arg_fail(2)) SWIG_fail
;
34245 if (arg2
== NULL
) {
34246 SWIG_null_ref("wxTreeItemId");
34248 if (SWIG_arg_fail(2)) SWIG_fail
;
34251 if (!wxPyCheckForApp()) SWIG_fail
;
34252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34253 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
34255 wxPyEndAllowThreads(__tstate
);
34256 if (PyErr_Occurred()) SWIG_fail
;
34258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34265 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34266 PyObject
*resultobj
= NULL
;
34267 wxPyListCtrl
*arg1
= 0 ;
34269 wxGenericDragImage
*result
;
34270 PyObject
* obj0
= 0 ;
34271 PyObject
* obj1
= 0 ;
34272 char *kwnames
[] = {
34273 (char *) "listCtrl",(char *) "id", NULL
34276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34279 if (SWIG_arg_fail(1)) SWIG_fail
;
34280 if (arg1
== NULL
) {
34281 SWIG_null_ref("wxPyListCtrl");
34283 if (SWIG_arg_fail(1)) SWIG_fail
;
34286 arg2
= static_cast<long >(SWIG_As_long(obj1
));
34287 if (SWIG_arg_fail(2)) SWIG_fail
;
34290 if (!wxPyCheckForApp()) SWIG_fail
;
34291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34292 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34294 wxPyEndAllowThreads(__tstate
);
34295 if (PyErr_Occurred()) SWIG_fail
;
34297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34304 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34305 PyObject
*resultobj
= NULL
;
34306 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34307 PyObject
* obj0
= 0 ;
34308 char *kwnames
[] = {
34309 (char *) "self", NULL
34312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34314 if (SWIG_arg_fail(1)) SWIG_fail
;
34316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34322 Py_INCREF(Py_None
); resultobj
= Py_None
;
34329 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34330 PyObject
*resultobj
= NULL
;
34331 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34332 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34333 PyObject
* obj0
= 0 ;
34334 PyObject
* obj1
= 0 ;
34335 char *kwnames
[] = {
34336 (char *) "self",(char *) "bitmap", NULL
34339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34341 if (SWIG_arg_fail(1)) SWIG_fail
;
34342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34343 if (SWIG_arg_fail(2)) SWIG_fail
;
34345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34346 (arg1
)->SetBackingBitmap(arg2
);
34348 wxPyEndAllowThreads(__tstate
);
34349 if (PyErr_Occurred()) SWIG_fail
;
34351 Py_INCREF(Py_None
); resultobj
= Py_None
;
34358 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34359 PyObject
*resultobj
= NULL
;
34360 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34361 wxPoint
*arg2
= 0 ;
34362 wxWindow
*arg3
= (wxWindow
*) 0 ;
34363 bool arg4
= (bool) false ;
34364 wxRect
*arg5
= (wxRect
*) NULL
;
34367 PyObject
* obj0
= 0 ;
34368 PyObject
* obj1
= 0 ;
34369 PyObject
* obj2
= 0 ;
34370 PyObject
* obj3
= 0 ;
34371 PyObject
* obj4
= 0 ;
34372 char *kwnames
[] = {
34373 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34378 if (SWIG_arg_fail(1)) SWIG_fail
;
34381 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34383 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34384 if (SWIG_arg_fail(3)) SWIG_fail
;
34387 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
34388 if (SWIG_arg_fail(4)) SWIG_fail
;
34392 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34393 if (SWIG_arg_fail(5)) SWIG_fail
;
34396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34397 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34399 wxPyEndAllowThreads(__tstate
);
34400 if (PyErr_Occurred()) SWIG_fail
;
34403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34411 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34412 PyObject
*resultobj
= NULL
;
34413 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34414 wxPoint
*arg2
= 0 ;
34415 wxWindow
*arg3
= (wxWindow
*) 0 ;
34416 wxWindow
*arg4
= (wxWindow
*) 0 ;
34419 PyObject
* obj0
= 0 ;
34420 PyObject
* obj1
= 0 ;
34421 PyObject
* obj2
= 0 ;
34422 PyObject
* obj3
= 0 ;
34423 char *kwnames
[] = {
34424 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34429 if (SWIG_arg_fail(1)) SWIG_fail
;
34432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34434 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34435 if (SWIG_arg_fail(3)) SWIG_fail
;
34436 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34437 if (SWIG_arg_fail(4)) SWIG_fail
;
34439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34440 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34442 wxPyEndAllowThreads(__tstate
);
34443 if (PyErr_Occurred()) SWIG_fail
;
34446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34454 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34455 PyObject
*resultobj
= NULL
;
34456 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34458 PyObject
* obj0
= 0 ;
34459 char *kwnames
[] = {
34460 (char *) "self", NULL
34463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34465 if (SWIG_arg_fail(1)) SWIG_fail
;
34467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34468 result
= (bool)(arg1
)->EndDrag();
34470 wxPyEndAllowThreads(__tstate
);
34471 if (PyErr_Occurred()) SWIG_fail
;
34474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34482 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34483 PyObject
*resultobj
= NULL
;
34484 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34485 wxPoint
*arg2
= 0 ;
34488 PyObject
* obj0
= 0 ;
34489 PyObject
* obj1
= 0 ;
34490 char *kwnames
[] = {
34491 (char *) "self",(char *) "pt", NULL
34494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34496 if (SWIG_arg_fail(1)) SWIG_fail
;
34499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34503 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34505 wxPyEndAllowThreads(__tstate
);
34506 if (PyErr_Occurred()) SWIG_fail
;
34509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34517 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34518 PyObject
*resultobj
= NULL
;
34519 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34521 PyObject
* obj0
= 0 ;
34522 char *kwnames
[] = {
34523 (char *) "self", NULL
34526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34528 if (SWIG_arg_fail(1)) SWIG_fail
;
34530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34531 result
= (bool)(arg1
)->Show();
34533 wxPyEndAllowThreads(__tstate
);
34534 if (PyErr_Occurred()) SWIG_fail
;
34537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34545 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34546 PyObject
*resultobj
= NULL
;
34547 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34549 PyObject
* obj0
= 0 ;
34550 char *kwnames
[] = {
34551 (char *) "self", NULL
34554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34556 if (SWIG_arg_fail(1)) SWIG_fail
;
34558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34559 result
= (bool)(arg1
)->Hide();
34561 wxPyEndAllowThreads(__tstate
);
34562 if (PyErr_Occurred()) SWIG_fail
;
34565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34573 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34574 PyObject
*resultobj
= NULL
;
34575 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34576 wxPoint
*arg2
= 0 ;
34579 PyObject
* obj0
= 0 ;
34580 PyObject
* obj1
= 0 ;
34581 char *kwnames
[] = {
34582 (char *) "self",(char *) "pos", NULL
34585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34587 if (SWIG_arg_fail(1)) SWIG_fail
;
34590 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34594 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34600 wxRect
* resultptr
;
34601 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
34602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34610 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34611 PyObject
*resultobj
= NULL
;
34612 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34614 wxPoint
*arg3
= 0 ;
34617 PyObject
* obj0
= 0 ;
34618 PyObject
* obj1
= 0 ;
34619 PyObject
* obj2
= 0 ;
34620 char *kwnames
[] = {
34621 (char *) "self",(char *) "dc",(char *) "pos", NULL
34624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34626 if (SWIG_arg_fail(1)) SWIG_fail
;
34628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34629 if (SWIG_arg_fail(2)) SWIG_fail
;
34630 if (arg2
== NULL
) {
34631 SWIG_null_ref("wxDC");
34633 if (SWIG_arg_fail(2)) SWIG_fail
;
34637 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34641 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34655 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34656 PyObject
*resultobj
= NULL
;
34657 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34659 wxMemoryDC
*arg3
= 0 ;
34665 PyObject
* obj0
= 0 ;
34666 PyObject
* obj1
= 0 ;
34667 PyObject
* obj2
= 0 ;
34668 PyObject
* obj3
= 0 ;
34669 PyObject
* obj4
= 0 ;
34670 char *kwnames
[] = {
34671 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34676 if (SWIG_arg_fail(1)) SWIG_fail
;
34678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34679 if (SWIG_arg_fail(2)) SWIG_fail
;
34680 if (arg2
== NULL
) {
34681 SWIG_null_ref("wxDC");
34683 if (SWIG_arg_fail(2)) SWIG_fail
;
34686 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34687 if (SWIG_arg_fail(3)) SWIG_fail
;
34688 if (arg3
== NULL
) {
34689 SWIG_null_ref("wxMemoryDC");
34691 if (SWIG_arg_fail(3)) SWIG_fail
;
34695 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34699 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34703 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34705 wxPyEndAllowThreads(__tstate
);
34706 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34717 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34718 PyObject
*resultobj
= NULL
;
34719 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34720 wxPoint
*arg2
= 0 ;
34721 wxPoint
*arg3
= 0 ;
34727 PyObject
* obj0
= 0 ;
34728 PyObject
* obj1
= 0 ;
34729 PyObject
* obj2
= 0 ;
34730 PyObject
* obj3
= 0 ;
34731 PyObject
* obj4
= 0 ;
34732 char *kwnames
[] = {
34733 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34738 if (SWIG_arg_fail(1)) SWIG_fail
;
34741 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34745 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34748 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
34749 if (SWIG_arg_fail(4)) SWIG_fail
;
34752 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
34753 if (SWIG_arg_fail(5)) SWIG_fail
;
34756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34757 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34771 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34774 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34776 return Py_BuildValue((char *)"");
34778 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34779 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34784 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34785 PyObject
*pyobj
= NULL
;
34789 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34791 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34798 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34799 PyObject
*resultobj
= NULL
;
34800 wxWindow
*arg1
= (wxWindow
*) 0 ;
34801 int arg2
= (int) -1 ;
34802 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34803 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34808 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34809 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34810 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34811 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34812 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34813 wxDatePickerCtrl
*result
;
34816 bool temp8
= false ;
34817 PyObject
* obj0
= 0 ;
34818 PyObject
* obj1
= 0 ;
34819 PyObject
* obj2
= 0 ;
34820 PyObject
* obj3
= 0 ;
34821 PyObject
* obj4
= 0 ;
34822 PyObject
* obj5
= 0 ;
34823 PyObject
* obj6
= 0 ;
34824 PyObject
* obj7
= 0 ;
34825 char *kwnames
[] = {
34826 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34831 if (SWIG_arg_fail(1)) SWIG_fail
;
34834 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34835 if (SWIG_arg_fail(2)) SWIG_fail
;
34840 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34841 if (SWIG_arg_fail(3)) SWIG_fail
;
34842 if (arg3
== NULL
) {
34843 SWIG_null_ref("wxDateTime");
34845 if (SWIG_arg_fail(3)) SWIG_fail
;
34851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34862 arg6
= static_cast<long >(SWIG_As_long(obj5
));
34863 if (SWIG_arg_fail(6)) SWIG_fail
;
34868 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34869 if (SWIG_arg_fail(7)) SWIG_fail
;
34870 if (arg7
== NULL
) {
34871 SWIG_null_ref("wxValidator");
34873 if (SWIG_arg_fail(7)) SWIG_fail
;
34878 arg8
= wxString_in_helper(obj7
);
34879 if (arg8
== NULL
) SWIG_fail
;
34884 if (!wxPyCheckForApp()) SWIG_fail
;
34885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34886 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34906 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34907 PyObject
*resultobj
= NULL
;
34908 wxDatePickerCtrl
*result
;
34909 char *kwnames
[] = {
34913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34915 if (!wxPyCheckForApp()) SWIG_fail
;
34916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34917 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34919 wxPyEndAllowThreads(__tstate
);
34920 if (PyErr_Occurred()) SWIG_fail
;
34922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34929 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34930 PyObject
*resultobj
= NULL
;
34931 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34932 wxWindow
*arg2
= (wxWindow
*) 0 ;
34933 int arg3
= (int) -1 ;
34934 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34935 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34940 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34941 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34942 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34943 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34944 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34948 bool temp9
= false ;
34949 PyObject
* obj0
= 0 ;
34950 PyObject
* obj1
= 0 ;
34951 PyObject
* obj2
= 0 ;
34952 PyObject
* obj3
= 0 ;
34953 PyObject
* obj4
= 0 ;
34954 PyObject
* obj5
= 0 ;
34955 PyObject
* obj6
= 0 ;
34956 PyObject
* obj7
= 0 ;
34957 PyObject
* obj8
= 0 ;
34958 char *kwnames
[] = {
34959 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34964 if (SWIG_arg_fail(1)) SWIG_fail
;
34965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34966 if (SWIG_arg_fail(2)) SWIG_fail
;
34969 arg3
= static_cast<int >(SWIG_As_int(obj2
));
34970 if (SWIG_arg_fail(3)) SWIG_fail
;
34975 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34976 if (SWIG_arg_fail(4)) SWIG_fail
;
34977 if (arg4
== NULL
) {
34978 SWIG_null_ref("wxDateTime");
34980 if (SWIG_arg_fail(4)) SWIG_fail
;
34986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34992 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34997 arg7
= static_cast<long >(SWIG_As_long(obj6
));
34998 if (SWIG_arg_fail(7)) SWIG_fail
;
35003 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
35004 if (SWIG_arg_fail(8)) SWIG_fail
;
35005 if (arg8
== NULL
) {
35006 SWIG_null_ref("wxValidator");
35008 if (SWIG_arg_fail(8)) SWIG_fail
;
35013 arg9
= wxString_in_helper(obj8
);
35014 if (arg9
== NULL
) SWIG_fail
;
35019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
35022 wxPyEndAllowThreads(__tstate
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35042 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35043 PyObject
*resultobj
= NULL
;
35044 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35045 wxDateTime
*arg2
= 0 ;
35046 PyObject
* obj0
= 0 ;
35047 PyObject
* obj1
= 0 ;
35048 char *kwnames
[] = {
35049 (char *) "self",(char *) "dt", NULL
35052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
35053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35054 if (SWIG_arg_fail(1)) SWIG_fail
;
35056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35057 if (SWIG_arg_fail(2)) SWIG_fail
;
35058 if (arg2
== NULL
) {
35059 SWIG_null_ref("wxDateTime");
35061 if (SWIG_arg_fail(2)) SWIG_fail
;
35064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35065 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
35067 wxPyEndAllowThreads(__tstate
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35070 Py_INCREF(Py_None
); resultobj
= Py_None
;
35077 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35078 PyObject
*resultobj
= NULL
;
35079 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35081 PyObject
* obj0
= 0 ;
35082 char *kwnames
[] = {
35083 (char *) "self", NULL
35086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
35087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35088 if (SWIG_arg_fail(1)) SWIG_fail
;
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35091 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
35093 wxPyEndAllowThreads(__tstate
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35097 wxDateTime
* resultptr
;
35098 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
35099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35107 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35108 PyObject
*resultobj
= NULL
;
35109 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35110 wxDateTime
*arg2
= 0 ;
35111 wxDateTime
*arg3
= 0 ;
35112 PyObject
* obj0
= 0 ;
35113 PyObject
* obj1
= 0 ;
35114 PyObject
* obj2
= 0 ;
35115 char *kwnames
[] = {
35116 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
35119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35121 if (SWIG_arg_fail(1)) SWIG_fail
;
35123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35124 if (SWIG_arg_fail(2)) SWIG_fail
;
35125 if (arg2
== NULL
) {
35126 SWIG_null_ref("wxDateTime");
35128 if (SWIG_arg_fail(2)) SWIG_fail
;
35131 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35132 if (SWIG_arg_fail(3)) SWIG_fail
;
35133 if (arg3
== NULL
) {
35134 SWIG_null_ref("wxDateTime");
35136 if (SWIG_arg_fail(3)) SWIG_fail
;
35139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35140 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
35142 wxPyEndAllowThreads(__tstate
);
35143 if (PyErr_Occurred()) SWIG_fail
;
35145 Py_INCREF(Py_None
); resultobj
= Py_None
;
35152 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35153 PyObject
*resultobj
= NULL
;
35154 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35156 PyObject
* obj0
= 0 ;
35157 char *kwnames
[] = {
35158 (char *) "self", NULL
35161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
35162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35163 if (SWIG_arg_fail(1)) SWIG_fail
;
35165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35166 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
35168 wxPyEndAllowThreads(__tstate
);
35169 if (PyErr_Occurred()) SWIG_fail
;
35172 wxDateTime
* resultptr
;
35173 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
35174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35182 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35183 PyObject
*resultobj
= NULL
;
35184 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35186 PyObject
* obj0
= 0 ;
35187 char *kwnames
[] = {
35188 (char *) "self", NULL
35191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
35192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35193 if (SWIG_arg_fail(1)) SWIG_fail
;
35195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35196 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
35198 wxPyEndAllowThreads(__tstate
);
35199 if (PyErr_Occurred()) SWIG_fail
;
35202 wxDateTime
* resultptr
;
35203 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
35204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35212 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
35214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35215 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
35217 return Py_BuildValue((char *)"");
35219 static PyMethodDef SwigMethods
[] = {
35220 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
35227 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
35242 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
35254 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"Choice_GetCurrentSelection", (PyCFunction
) _wrap_Choice_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
35260 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
) _wrap_ComboBox_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
35292 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
35306 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
35311 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
35318 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
35324 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
35332 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35355 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35364 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35395 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35453 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35458 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35470 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35483 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35495 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35499 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35517 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35524 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35550 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35558 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35580 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35586 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35597 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35599 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35605 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35607 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35614 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35616 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35646 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35691 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35697 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35709 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35758 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35761 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35786 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35788 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35789 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35794 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35798 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35800 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35811 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35813 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35816 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35826 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35827 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35828 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35838 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35839 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35840 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35841 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35842 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35843 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35844 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35845 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35846 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35848 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35850 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35851 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35853 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35854 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35855 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35856 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35857 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35859 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35861 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35862 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35867 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35870 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35871 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35873 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35874 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35875 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35876 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35877 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35878 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35879 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35880 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35881 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35882 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35883 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35884 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35885 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35888 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35889 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35890 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35893 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35894 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35895 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35896 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35898 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35899 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35900 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35906 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35908 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35913 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35914 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35917 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35918 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35920 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35921 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35922 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35924 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35925 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35926 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35927 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35928 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35929 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35933 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35934 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35935 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35936 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35937 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35939 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35942 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35944 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35945 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35946 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35948 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35950 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35952 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35953 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35955 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35957 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35958 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35959 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35960 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35962 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35963 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35964 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35965 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35967 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35968 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35969 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35970 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35971 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35972 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35973 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35974 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35975 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35976 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35977 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35978 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35979 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35980 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35981 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35982 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35983 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35984 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35985 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35986 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35987 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35988 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35989 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35990 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35991 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35992 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35993 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35994 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35995 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35996 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35997 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35998 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35999 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36000 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36001 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36002 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36003 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36004 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36005 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36006 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
36007 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36008 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36009 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36010 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36011 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
36012 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36013 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36014 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36015 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36016 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36017 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36018 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36019 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36020 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36021 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36022 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36023 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36024 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36025 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36026 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36027 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36028 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36029 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36030 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36031 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36032 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36033 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36034 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36035 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36036 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36037 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction
) _wrap_PyControl_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36038 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
36039 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36040 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36041 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36042 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36043 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36044 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36045 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36046 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
36047 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36048 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36049 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36050 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36051 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
36052 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36053 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
36054 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36055 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36056 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36057 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36058 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36059 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36060 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36061 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36062 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
36063 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36064 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
36065 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36066 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36067 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36068 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36069 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36070 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36071 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36072 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36073 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36074 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36075 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36076 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36077 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36078 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36079 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36080 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36081 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36082 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
36083 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36084 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36085 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36086 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36087 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36088 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36089 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36090 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36091 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
36092 { NULL
, NULL
, 0, NULL
}
36096 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36098 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36099 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36101 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36102 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36104 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36105 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36107 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36108 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36110 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36111 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36113 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
36114 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36116 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
36117 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36119 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36120 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36122 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36123 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36125 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36126 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36128 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
36129 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36131 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36132 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36134 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36135 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36137 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
36138 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36140 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
36141 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36143 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
36144 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36146 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
36147 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36149 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
36150 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
36152 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36153 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36155 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36156 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36158 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36159 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36161 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36162 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36164 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36165 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36167 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36168 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36170 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36171 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36173 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36174 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36176 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36177 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36179 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36180 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36182 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36183 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36185 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36186 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36188 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36189 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36191 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36192 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36194 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36195 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36197 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36198 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36200 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36201 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36203 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36204 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36206 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36207 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36209 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36210 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36212 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36213 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36215 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36216 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36218 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36219 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36221 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36222 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36224 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36225 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36227 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36228 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36230 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
36231 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36233 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
36234 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36236 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
36237 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36239 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
36240 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36242 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36243 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36245 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
36246 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36248 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
36249 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36251 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
36252 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
36254 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
36255 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
36257 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
36258 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
36260 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
36261 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
36263 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
36264 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
36266 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
36267 return (void *)((wxControl
*) ((wxPyControl
*) x
));
36269 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
36270 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
36272 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
36273 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36275 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
36276 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
36278 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
36279 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36281 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
36282 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
36284 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
36285 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
36287 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36288 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36290 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
36291 return (void *)((wxControl
*) ((wxGauge
*) x
));
36293 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
36294 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
36296 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
36297 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36299 static void *_p_wxListbookTo_p_wxControl(void *x
) {
36300 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
36302 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
36303 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
36305 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
36306 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
36308 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36309 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36311 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36312 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36314 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36315 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36317 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36318 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36320 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36321 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36323 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36324 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36326 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36327 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36329 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36330 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36332 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36333 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36335 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36336 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36338 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36339 return (void *)((wxControl
*) ((wxSlider
*) x
));
36341 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36342 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36344 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36345 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36347 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36348 return (void *)((wxControl
*) ((wxButton
*) x
));
36350 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36351 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36353 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36354 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36356 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36357 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36359 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36360 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36362 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
36363 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
36365 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36366 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36368 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36369 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36371 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36372 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36374 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36375 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36377 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36378 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36380 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36381 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36383 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36384 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36386 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36387 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36389 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36390 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36392 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36393 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36395 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36396 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36398 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36399 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36401 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36404 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36405 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36407 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36408 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36410 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36413 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36414 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36416 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36419 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36422 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36423 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36425 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36426 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36428 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36431 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36434 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36437 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36440 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36443 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36444 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36446 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36449 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36452 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36455 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36458 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36461 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36464 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36467 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36470 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36473 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36476 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36479 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36482 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36485 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36488 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36491 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36494 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36497 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36500 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36503 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36506 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36509 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36512 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36515 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36518 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36521 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36524 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36525 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36527 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36528 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36530 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36531 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36533 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36534 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36536 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36537 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36539 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36540 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36542 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36543 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36545 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36546 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36548 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36551 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36552 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36554 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36555 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36557 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36558 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36560 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36561 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36563 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36564 return (void *)((wxObject
*) ((wxSizer
*) x
));
36566 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36567 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36569 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36572 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36575 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36578 static void *_p_wxEventTo_p_wxObject(void *x
) {
36579 return (void *)((wxObject
*) ((wxEvent
*) x
));
36581 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36582 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36584 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36585 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36587 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36588 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36590 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36593 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36596 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36599 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36600 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36602 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36603 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36605 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36606 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36608 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36609 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36611 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36612 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36614 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36615 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36617 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36620 static void *_p_wxControlTo_p_wxObject(void *x
) {
36621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36623 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36626 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36629 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36632 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36635 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36638 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36639 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36641 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36644 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36645 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36647 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36648 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36650 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36653 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36656 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36659 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36660 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36662 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36663 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36665 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36668 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36671 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36672 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36674 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36677 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36680 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36681 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36683 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36684 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36686 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36687 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36689 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36690 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36692 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36693 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36695 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36696 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36698 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36699 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36701 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36702 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36704 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36705 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36707 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36708 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36710 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36713 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36714 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36716 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36719 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36720 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36722 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36723 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36725 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36726 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36728 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36729 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36731 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36734 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36735 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36737 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36738 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36740 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36741 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36743 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36744 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36746 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36747 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36749 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36750 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36752 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36753 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36755 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36756 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36758 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36759 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36761 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36762 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36764 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36767 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36770 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36773 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36776 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36779 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36782 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36783 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36785 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36786 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36788 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36791 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36794 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36797 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36800 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36801 return (void *)((wxObject
*) ((wxListItem
*) x
));
36803 static void *_p_wxImageTo_p_wxObject(void *x
) {
36804 return (void *)((wxObject
*) ((wxImage
*) x
));
36806 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36807 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36809 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36810 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36812 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36813 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36815 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36818 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36819 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36821 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36824 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36827 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36830 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36831 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36833 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36834 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36836 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36837 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36839 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36840 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36842 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36845 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36846 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36848 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36849 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36851 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36852 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36854 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36855 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36857 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36858 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36860 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36861 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36863 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36864 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36866 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36869 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36870 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36872 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36875 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36876 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36878 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36881 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36882 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36884 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36885 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36887 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36890 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36893 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36896 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36897 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36899 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36902 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36905 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36906 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36908 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36909 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36911 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36912 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36914 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36915 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36917 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36918 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36920 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36921 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36923 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36924 return (void *)((wxWindow
*) ((wxControl
*) x
));
36926 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36927 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36929 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36930 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36932 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36933 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36935 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36936 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36938 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36939 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36941 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36942 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36944 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36945 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36947 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36948 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36950 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36951 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36953 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36954 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36956 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36957 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36959 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36960 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36962 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36963 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36965 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36966 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36968 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36969 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36971 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36972 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36974 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36975 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36977 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36978 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36980 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36981 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36983 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36984 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36986 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36987 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36989 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36990 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36992 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36993 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36995 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36996 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36998 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36999 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
37001 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
37002 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
37004 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
37005 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
37007 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
37008 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
37010 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
37011 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37013 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
37014 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
37016 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
37017 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
37019 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
37020 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37022 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
37023 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37025 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
37026 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37028 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
37029 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37031 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
37032 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37034 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
37035 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
37037 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
37038 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37040 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
37041 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37043 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
37044 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37046 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
37047 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37049 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
37050 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37052 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
37053 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37055 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
37056 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
37058 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
37059 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37061 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
37062 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
37064 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
37065 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37067 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
37068 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37070 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
37071 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37073 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
37074 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
37076 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
37077 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37079 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
37080 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37082 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
37083 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
37085 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
37086 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37088 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
37089 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
37091 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
37092 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
37094 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
37095 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
37097 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37098 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37100 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, 0};
37101 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
37102 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
37103 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
37104 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, 0};
37105 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
37106 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
37107 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
37108 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
37109 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
37110 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
37111 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
37112 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
37113 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
37114 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
37115 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, 0};
37116 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
37117 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
37118 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, 0};
37119 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
37120 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
37121 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
37122 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
37123 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
37124 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
37125 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
37126 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
37127 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
37128 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
37129 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
37130 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
37131 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
37132 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
37133 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
37134 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
37135 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
37136 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
37137 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
37138 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
37139 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
37140 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
37141 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
37142 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
37143 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
37144 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
37145 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
37146 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
37147 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
37148 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
37149 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
37150 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
37151 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
37152 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
37153 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
37154 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
37155 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
37156 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
37157 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
37158 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
37159 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
37160 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
37161 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
37162 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
37163 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
37164 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
37165 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
37166 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
37167 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
37168 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
37169 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
37170 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
37171 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
37172 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
37173 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, 0};
37174 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
37175 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
37176 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
37177 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
37178 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
37179 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
37180 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
37181 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
37182 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, 0};
37183 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
37184 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, 0};
37185 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
37186 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, 0};
37187 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, 0};
37188 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
37189 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
37190 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
37191 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
37192 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
37193 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
37194 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
37195 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
37196 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
37197 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
37198 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
37199 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
37200 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
37201 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
37202 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
37203 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
37204 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
37205 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
37206 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
37207 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
37208 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
37209 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
37210 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
37211 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
37212 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
37213 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
37214 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
37215 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
37216 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
37217 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
37218 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
37219 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
37220 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
37221 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
37222 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
37223 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
37224 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
37225 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
37226 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
37227 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
37228 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
37229 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
37230 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
37231 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
37232 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
37233 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
37234 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
37235 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
37236 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
37237 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, 0};
37238 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
37239 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
37240 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
37241 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
37242 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
37243 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
37244 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
37245 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
37246 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
37247 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
37248 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
37249 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
37250 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
37251 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
37252 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
37253 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
37254 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
37255 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, 0};
37256 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
37257 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
37258 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
37259 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
37260 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
37262 static swig_type_info
*swig_type_initial
[] = {
37265 &_swigt__p_form_ops_t
,
37268 &_swigt__p_unsigned_char
,
37269 &_swigt__p_unsigned_int
,
37270 &_swigt__p_unsigned_long
,
37272 &_swigt__p_wxANIHandler
,
37273 &_swigt__p_wxAcceleratorTable
,
37274 &_swigt__p_wxActivateEvent
,
37275 &_swigt__p_wxArrayInt
,
37276 &_swigt__p_wxArrayString
,
37277 &_swigt__p_wxBMPHandler
,
37278 &_swigt__p_wxBitmap
,
37279 &_swigt__p_wxBitmapButton
,
37280 &_swigt__p_wxBookCtrlBase
,
37281 &_swigt__p_wxBookCtrlBaseEvent
,
37282 &_swigt__p_wxBoxSizer
,
37283 &_swigt__p_wxButton
,
37284 &_swigt__p_wxCURHandler
,
37285 &_swigt__p_wxCheckBox
,
37286 &_swigt__p_wxCheckListBox
,
37287 &_swigt__p_wxChildFocusEvent
,
37288 &_swigt__p_wxChoice
,
37289 &_swigt__p_wxChoicebook
,
37290 &_swigt__p_wxChoicebookEvent
,
37291 &_swigt__p_wxCloseEvent
,
37292 &_swigt__p_wxColour
,
37293 &_swigt__p_wxComboBox
,
37294 &_swigt__p_wxCommandEvent
,
37295 &_swigt__p_wxContextHelp
,
37296 &_swigt__p_wxContextHelpButton
,
37297 &_swigt__p_wxContextMenuEvent
,
37298 &_swigt__p_wxControl
,
37299 &_swigt__p_wxControlWithItems
,
37300 &_swigt__p_wxCursor
,
37302 &_swigt__p_wxDateEvent
,
37303 &_swigt__p_wxDatePickerCtrl
,
37304 &_swigt__p_wxDateTime
,
37305 &_swigt__p_wxDirFilterListCtrl
,
37306 &_swigt__p_wxDisplayChangedEvent
,
37307 &_swigt__p_wxDropFilesEvent
,
37308 &_swigt__p_wxDuplexMode
,
37309 &_swigt__p_wxEraseEvent
,
37310 &_swigt__p_wxEvent
,
37311 &_swigt__p_wxEvtHandler
,
37312 &_swigt__p_wxFSFile
,
37313 &_swigt__p_wxFileSystem
,
37314 &_swigt__p_wxFlexGridSizer
,
37315 &_swigt__p_wxFocusEvent
,
37317 &_swigt__p_wxGBSizerItem
,
37318 &_swigt__p_wxGIFHandler
,
37319 &_swigt__p_wxGauge
,
37320 &_swigt__p_wxGenericDirCtrl
,
37321 &_swigt__p_wxGenericDragImage
,
37322 &_swigt__p_wxGridBagSizer
,
37323 &_swigt__p_wxGridSizer
,
37324 &_swigt__p_wxHelpEvent
,
37325 &_swigt__p_wxHelpProvider
,
37326 &_swigt__p_wxICOHandler
,
37328 &_swigt__p_wxIconizeEvent
,
37329 &_swigt__p_wxIdleEvent
,
37330 &_swigt__p_wxImage
,
37331 &_swigt__p_wxImageHandler
,
37332 &_swigt__p_wxImageList
,
37333 &_swigt__p_wxIndividualLayoutConstraint
,
37334 &_swigt__p_wxInitDialogEvent
,
37335 &_swigt__p_wxItemContainer
,
37336 &_swigt__p_wxJPEGHandler
,
37337 &_swigt__p_wxKeyEvent
,
37338 &_swigt__p_wxLayoutConstraints
,
37339 &_swigt__p_wxListBox
,
37340 &_swigt__p_wxListEvent
,
37341 &_swigt__p_wxListItem
,
37342 &_swigt__p_wxListItemAttr
,
37343 &_swigt__p_wxListView
,
37344 &_swigt__p_wxListbook
,
37345 &_swigt__p_wxListbookEvent
,
37346 &_swigt__p_wxMaximizeEvent
,
37347 &_swigt__p_wxMemoryDC
,
37349 &_swigt__p_wxMenuBar
,
37350 &_swigt__p_wxMenuEvent
,
37351 &_swigt__p_wxMenuItem
,
37352 &_swigt__p_wxMouseCaptureChangedEvent
,
37353 &_swigt__p_wxMouseEvent
,
37354 &_swigt__p_wxMoveEvent
,
37355 &_swigt__p_wxNavigationKeyEvent
,
37356 &_swigt__p_wxNcPaintEvent
,
37357 &_swigt__p_wxNotebook
,
37358 &_swigt__p_wxNotebookEvent
,
37359 &_swigt__p_wxNotifyEvent
,
37360 &_swigt__p_wxObject
,
37361 &_swigt__p_wxPCXHandler
,
37362 &_swigt__p_wxPNGHandler
,
37363 &_swigt__p_wxPNMHandler
,
37364 &_swigt__p_wxPaintEvent
,
37365 &_swigt__p_wxPaletteChangedEvent
,
37366 &_swigt__p_wxPaperSize
,
37367 &_swigt__p_wxPoint
,
37368 &_swigt__p_wxPyApp
,
37369 &_swigt__p_wxPyCommandEvent
,
37370 &_swigt__p_wxPyControl
,
37371 &_swigt__p_wxPyEvent
,
37372 &_swigt__p_wxPyImageHandler
,
37373 &_swigt__p_wxPyListCtrl
,
37374 &_swigt__p_wxPySizer
,
37375 &_swigt__p_wxPyTreeCtrl
,
37376 &_swigt__p_wxPyTreeItemData
,
37377 &_swigt__p_wxPyValidator
,
37378 &_swigt__p_wxQueryNewPaletteEvent
,
37379 &_swigt__p_wxRadioBox
,
37380 &_swigt__p_wxRadioButton
,
37382 &_swigt__p_wxScrollBar
,
37383 &_swigt__p_wxScrollEvent
,
37384 &_swigt__p_wxScrollWinEvent
,
37385 &_swigt__p_wxSetCursorEvent
,
37386 &_swigt__p_wxShowEvent
,
37387 &_swigt__p_wxSimpleHelpProvider
,
37389 &_swigt__p_wxSizeEvent
,
37390 &_swigt__p_wxSizer
,
37391 &_swigt__p_wxSizerItem
,
37392 &_swigt__p_wxSlider
,
37393 &_swigt__p_wxSpinButton
,
37394 &_swigt__p_wxSpinCtrl
,
37395 &_swigt__p_wxSpinEvent
,
37396 &_swigt__p_wxStaticBitmap
,
37397 &_swigt__p_wxStaticBox
,
37398 &_swigt__p_wxStaticBoxSizer
,
37399 &_swigt__p_wxStaticLine
,
37400 &_swigt__p_wxStaticText
,
37401 &_swigt__p_wxStdDialogButtonSizer
,
37402 &_swigt__p_wxString
,
37403 &_swigt__p_wxSysColourChangedEvent
,
37404 &_swigt__p_wxTIFFHandler
,
37405 &_swigt__p_wxTextAttr
,
37406 &_swigt__p_wxTextCtrl
,
37407 &_swigt__p_wxTextUrlEvent
,
37408 &_swigt__p_wxToggleButton
,
37409 &_swigt__p_wxToolBar
,
37410 &_swigt__p_wxToolBarBase
,
37411 &_swigt__p_wxToolBarToolBase
,
37412 &_swigt__p_wxTreeEvent
,
37413 &_swigt__p_wxTreeItemId
,
37414 &_swigt__p_wxUpdateUIEvent
,
37415 &_swigt__p_wxValidator
,
37416 &_swigt__p_wxVisualAttributes
,
37417 &_swigt__p_wxWindow
,
37418 &_swigt__p_wxWindowCreateEvent
,
37419 &_swigt__p_wxWindowDestroyEvent
,
37420 &_swigt__p_wxXPMHandler
,
37421 &_swigt__ptrdiff_t
,
37422 &_swigt__std__ptrdiff_t
,
37423 &_swigt__unsigned_int
,
37426 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
37427 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37428 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37429 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37430 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
37431 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37432 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37433 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37434 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37435 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
37436 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37437 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37438 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}};
37439 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}};
37440 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}};
37441 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}};
37442 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
37443 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
37444 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
37445 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
37446 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
37447 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37448 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
37449 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37450 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37451 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37452 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37453 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37454 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37455 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37456 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37457 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}};
37458 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
37459 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
37460 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}};
37461 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
37462 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37463 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37464 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37465 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37466 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37467 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37468 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37469 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37470 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37471 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37472 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37473 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37474 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37475 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37476 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37477 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37478 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37479 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37480 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37481 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37482 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37483 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37484 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37485 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37486 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37487 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37488 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37489 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37490 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37491 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37492 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}};
37493 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37494 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37495 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37496 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37497 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}};
37498 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37499 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
37500 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37501 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
37502 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
37503 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}};
37504 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37505 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
37506 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}};
37507 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37508 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}};
37509 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
37510 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
37511 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
37512 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
37513 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
37514 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
37515 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
37516 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37517 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
37518 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
37519 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}};
37520 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37521 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37522 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37523 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37524 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37525 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37526 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37527 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37528 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37529 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37530 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37531 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37532 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37533 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37534 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37535 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37536 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37537 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37538 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37539 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37540 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37541 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37542 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37543 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37544 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37545 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37546 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37547 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37548 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37549 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37550 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}};
37551 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37552 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37553 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
37554 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}};
37555 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37556 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
37557 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
37558 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
37559 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37560 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
37561 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
37562 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37563 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
37564 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
37565 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37566 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37567 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37568 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
37569 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
37570 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
37571 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37572 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
37573 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37574 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
37575 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
37576 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
37577 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}};
37578 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
37579 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37580 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
37581 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}};
37582 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
37583 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}};
37584 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
37585 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
37586 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37588 static swig_cast_info
*swig_cast_initial
[] = {
37591 _swigc__p_form_ops_t
,
37594 _swigc__p_unsigned_char
,
37595 _swigc__p_unsigned_int
,
37596 _swigc__p_unsigned_long
,
37598 _swigc__p_wxANIHandler
,
37599 _swigc__p_wxAcceleratorTable
,
37600 _swigc__p_wxActivateEvent
,
37601 _swigc__p_wxArrayInt
,
37602 _swigc__p_wxArrayString
,
37603 _swigc__p_wxBMPHandler
,
37604 _swigc__p_wxBitmap
,
37605 _swigc__p_wxBitmapButton
,
37606 _swigc__p_wxBookCtrlBase
,
37607 _swigc__p_wxBookCtrlBaseEvent
,
37608 _swigc__p_wxBoxSizer
,
37609 _swigc__p_wxButton
,
37610 _swigc__p_wxCURHandler
,
37611 _swigc__p_wxCheckBox
,
37612 _swigc__p_wxCheckListBox
,
37613 _swigc__p_wxChildFocusEvent
,
37614 _swigc__p_wxChoice
,
37615 _swigc__p_wxChoicebook
,
37616 _swigc__p_wxChoicebookEvent
,
37617 _swigc__p_wxCloseEvent
,
37618 _swigc__p_wxColour
,
37619 _swigc__p_wxComboBox
,
37620 _swigc__p_wxCommandEvent
,
37621 _swigc__p_wxContextHelp
,
37622 _swigc__p_wxContextHelpButton
,
37623 _swigc__p_wxContextMenuEvent
,
37624 _swigc__p_wxControl
,
37625 _swigc__p_wxControlWithItems
,
37626 _swigc__p_wxCursor
,
37628 _swigc__p_wxDateEvent
,
37629 _swigc__p_wxDatePickerCtrl
,
37630 _swigc__p_wxDateTime
,
37631 _swigc__p_wxDirFilterListCtrl
,
37632 _swigc__p_wxDisplayChangedEvent
,
37633 _swigc__p_wxDropFilesEvent
,
37634 _swigc__p_wxDuplexMode
,
37635 _swigc__p_wxEraseEvent
,
37637 _swigc__p_wxEvtHandler
,
37638 _swigc__p_wxFSFile
,
37639 _swigc__p_wxFileSystem
,
37640 _swigc__p_wxFlexGridSizer
,
37641 _swigc__p_wxFocusEvent
,
37643 _swigc__p_wxGBSizerItem
,
37644 _swigc__p_wxGIFHandler
,
37646 _swigc__p_wxGenericDirCtrl
,
37647 _swigc__p_wxGenericDragImage
,
37648 _swigc__p_wxGridBagSizer
,
37649 _swigc__p_wxGridSizer
,
37650 _swigc__p_wxHelpEvent
,
37651 _swigc__p_wxHelpProvider
,
37652 _swigc__p_wxICOHandler
,
37654 _swigc__p_wxIconizeEvent
,
37655 _swigc__p_wxIdleEvent
,
37657 _swigc__p_wxImageHandler
,
37658 _swigc__p_wxImageList
,
37659 _swigc__p_wxIndividualLayoutConstraint
,
37660 _swigc__p_wxInitDialogEvent
,
37661 _swigc__p_wxItemContainer
,
37662 _swigc__p_wxJPEGHandler
,
37663 _swigc__p_wxKeyEvent
,
37664 _swigc__p_wxLayoutConstraints
,
37665 _swigc__p_wxListBox
,
37666 _swigc__p_wxListEvent
,
37667 _swigc__p_wxListItem
,
37668 _swigc__p_wxListItemAttr
,
37669 _swigc__p_wxListView
,
37670 _swigc__p_wxListbook
,
37671 _swigc__p_wxListbookEvent
,
37672 _swigc__p_wxMaximizeEvent
,
37673 _swigc__p_wxMemoryDC
,
37675 _swigc__p_wxMenuBar
,
37676 _swigc__p_wxMenuEvent
,
37677 _swigc__p_wxMenuItem
,
37678 _swigc__p_wxMouseCaptureChangedEvent
,
37679 _swigc__p_wxMouseEvent
,
37680 _swigc__p_wxMoveEvent
,
37681 _swigc__p_wxNavigationKeyEvent
,
37682 _swigc__p_wxNcPaintEvent
,
37683 _swigc__p_wxNotebook
,
37684 _swigc__p_wxNotebookEvent
,
37685 _swigc__p_wxNotifyEvent
,
37686 _swigc__p_wxObject
,
37687 _swigc__p_wxPCXHandler
,
37688 _swigc__p_wxPNGHandler
,
37689 _swigc__p_wxPNMHandler
,
37690 _swigc__p_wxPaintEvent
,
37691 _swigc__p_wxPaletteChangedEvent
,
37692 _swigc__p_wxPaperSize
,
37695 _swigc__p_wxPyCommandEvent
,
37696 _swigc__p_wxPyControl
,
37697 _swigc__p_wxPyEvent
,
37698 _swigc__p_wxPyImageHandler
,
37699 _swigc__p_wxPyListCtrl
,
37700 _swigc__p_wxPySizer
,
37701 _swigc__p_wxPyTreeCtrl
,
37702 _swigc__p_wxPyTreeItemData
,
37703 _swigc__p_wxPyValidator
,
37704 _swigc__p_wxQueryNewPaletteEvent
,
37705 _swigc__p_wxRadioBox
,
37706 _swigc__p_wxRadioButton
,
37708 _swigc__p_wxScrollBar
,
37709 _swigc__p_wxScrollEvent
,
37710 _swigc__p_wxScrollWinEvent
,
37711 _swigc__p_wxSetCursorEvent
,
37712 _swigc__p_wxShowEvent
,
37713 _swigc__p_wxSimpleHelpProvider
,
37715 _swigc__p_wxSizeEvent
,
37717 _swigc__p_wxSizerItem
,
37718 _swigc__p_wxSlider
,
37719 _swigc__p_wxSpinButton
,
37720 _swigc__p_wxSpinCtrl
,
37721 _swigc__p_wxSpinEvent
,
37722 _swigc__p_wxStaticBitmap
,
37723 _swigc__p_wxStaticBox
,
37724 _swigc__p_wxStaticBoxSizer
,
37725 _swigc__p_wxStaticLine
,
37726 _swigc__p_wxStaticText
,
37727 _swigc__p_wxStdDialogButtonSizer
,
37728 _swigc__p_wxString
,
37729 _swigc__p_wxSysColourChangedEvent
,
37730 _swigc__p_wxTIFFHandler
,
37731 _swigc__p_wxTextAttr
,
37732 _swigc__p_wxTextCtrl
,
37733 _swigc__p_wxTextUrlEvent
,
37734 _swigc__p_wxToggleButton
,
37735 _swigc__p_wxToolBar
,
37736 _swigc__p_wxToolBarBase
,
37737 _swigc__p_wxToolBarToolBase
,
37738 _swigc__p_wxTreeEvent
,
37739 _swigc__p_wxTreeItemId
,
37740 _swigc__p_wxUpdateUIEvent
,
37741 _swigc__p_wxValidator
,
37742 _swigc__p_wxVisualAttributes
,
37743 _swigc__p_wxWindow
,
37744 _swigc__p_wxWindowCreateEvent
,
37745 _swigc__p_wxWindowDestroyEvent
,
37746 _swigc__p_wxXPMHandler
,
37748 _swigc__std__ptrdiff_t
,
37749 _swigc__unsigned_int
,
37753 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37755 static swig_const_info swig_const_table
[] = {
37756 {0, 0, 0, 0.0, 0, 0}};
37761 /*************************************************************************
37762 * Type initialization:
37763 * This problem is tough by the requirement that no dynamic
37764 * memory is used. Also, since swig_type_info structures store pointers to
37765 * swig_cast_info structures and swig_cast_info structures store pointers back
37766 * to swig_type_info structures, we need some lookup code at initialization.
37767 * The idea is that swig generates all the structures that are needed.
37768 * The runtime then collects these partially filled structures.
37769 * The SWIG_InitializeModule function takes these initial arrays out of
37770 * swig_module, and does all the lookup, filling in the swig_module.types
37771 * array with the correct data and linking the correct swig_cast_info
37772 * structures together.
37774 * The generated swig_type_info structures are assigned staticly to an initial
37775 * array. We just loop though that array, and handle each type individually.
37776 * First we lookup if this type has been already loaded, and if so, use the
37777 * loaded structure instead of the generated one. Then we have to fill in the
37778 * cast linked list. The cast data is initially stored in something like a
37779 * two-dimensional array. Each row corresponds to a type (there are the same
37780 * number of rows as there are in the swig_type_initial array). Each entry in
37781 * a column is one of the swig_cast_info structures for that type.
37782 * The cast_initial array is actually an array of arrays, because each row has
37783 * a variable number of columns. So to actually build the cast linked list,
37784 * we find the array of casts associated with the type, and loop through it
37785 * adding the casts to the list. The one last trick we need to do is making
37786 * sure the type pointer in the swig_cast_info struct is correct.
37788 * First off, we lookup the cast->type name to see if it is already loaded.
37789 * There are three cases to handle:
37790 * 1) If the cast->type has already been loaded AND the type we are adding
37791 * casting info to has not been loaded (it is in this module), THEN we
37792 * replace the cast->type pointer with the type pointer that has already
37794 * 2) If BOTH types (the one we are adding casting info to, and the
37795 * cast->type) are loaded, THEN the cast info has already been loaded by
37796 * the previous module so we just ignore it.
37797 * 3) Finally, if cast->type has not already been loaded, then we add that
37798 * swig_cast_info to the linked list (because the cast->type) pointer will
37810 #define SWIGRUNTIME_DEBUG
37814 SWIG_InitializeModule(void *clientdata
) {
37816 swig_module_info
*module_head
;
37817 static int init_run
= 0;
37819 clientdata
= clientdata
;
37821 if (init_run
) return;
37824 /* Initialize the swig_module */
37825 swig_module
.type_initial
= swig_type_initial
;
37826 swig_module
.cast_initial
= swig_cast_initial
;
37828 /* Try and load any already created modules */
37829 module_head
= SWIG_GetModule(clientdata
);
37831 swig_module
.next
= module_head
->next
;
37832 module_head
->next
= &swig_module
;
37834 /* This is the first module loaded */
37835 swig_module
.next
= &swig_module
;
37836 SWIG_SetModule(clientdata
, &swig_module
);
37839 /* Now work on filling in swig_module.types */
37840 #ifdef SWIGRUNTIME_DEBUG
37841 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37843 for (i
= 0; i
< swig_module
.size
; ++i
) {
37844 swig_type_info
*type
= 0;
37845 swig_type_info
*ret
;
37846 swig_cast_info
*cast
;
37848 #ifdef SWIGRUNTIME_DEBUG
37849 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37852 /* if there is another module already loaded */
37853 if (swig_module
.next
!= &swig_module
) {
37854 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
37857 /* Overwrite clientdata field */
37858 #ifdef SWIGRUNTIME_DEBUG
37859 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
37861 if (swig_module
.type_initial
[i
]->clientdata
) {
37862 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
37863 #ifdef SWIGRUNTIME_DEBUG
37864 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
37868 type
= swig_module
.type_initial
[i
];
37871 /* Insert casting types */
37872 cast
= swig_module
.cast_initial
[i
];
37873 while (cast
->type
) {
37874 /* Don't need to add information already in the list */
37876 #ifdef SWIGRUNTIME_DEBUG
37877 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
37879 if (swig_module
.next
!= &swig_module
) {
37880 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
37881 #ifdef SWIGRUNTIME_DEBUG
37882 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
37886 if (type
== swig_module
.type_initial
[i
]) {
37887 #ifdef SWIGRUNTIME_DEBUG
37888 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
37893 /* Check for casting already in the list */
37894 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
37895 #ifdef SWIGRUNTIME_DEBUG
37896 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
37898 if (!ocast
) ret
= 0;
37903 #ifdef SWIGRUNTIME_DEBUG
37904 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
37907 type
->cast
->prev
= cast
;
37908 cast
->next
= type
->cast
;
37914 /* Set entry in modules->types array equal to the type */
37915 swig_module
.types
[i
] = type
;
37917 swig_module
.types
[i
] = 0;
37919 #ifdef SWIGRUNTIME_DEBUG
37920 printf("**** SWIG_InitializeModule: Cast List ******\n");
37921 for (i
= 0; i
< swig_module
.size
; ++i
) {
37923 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
37924 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37925 while (cast
->type
) {
37926 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
37930 printf("---- Total casts: %d\n",j
);
37932 printf("**** SWIG_InitializeModule: Cast List ******\n");
37936 /* This function will propagate the clientdata field of type to
37937 * any new swig_type_info structures that have been added into the list
37938 * of equivalent types. It is like calling
37939 * SWIG_TypeClientData(type, clientdata) a second time.
37942 SWIG_PropagateClientData(void) {
37944 swig_cast_info
*equiv
;
37945 static int init_run
= 0;
37947 if (init_run
) return;
37950 for (i
= 0; i
< swig_module
.size
; i
++) {
37951 if (swig_module
.types
[i
]->clientdata
) {
37952 equiv
= swig_module
.types
[i
]->cast
;
37954 if (!equiv
->converter
) {
37955 if (equiv
->type
&& !equiv
->type
->clientdata
)
37956 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
37958 equiv
= equiv
->next
;
37978 /* Python-specific SWIG API */
37979 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37980 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37981 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37983 /* -----------------------------------------------------------------------------
37984 * global variable support code.
37985 * ----------------------------------------------------------------------------- */
37987 typedef struct swig_globalvar
{
37988 char *name
; /* Name of global variable */
37989 PyObject
*(*get_attr
)(void); /* Return the current value */
37990 int (*set_attr
)(PyObject
*); /* Set the value */
37991 struct swig_globalvar
*next
;
37994 typedef struct swig_varlinkobject
{
37996 swig_globalvar
*vars
;
37997 } swig_varlinkobject
;
37999 SWIGINTERN PyObject
*
38000 swig_varlink_repr(swig_varlinkobject
*v
) {
38002 return PyString_FromString("<Swig global variables>");
38006 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
38007 swig_globalvar
*var
;
38009 fprintf(fp
,"Swig global variables { ");
38010 for (var
= v
->vars
; var
; var
=var
->next
) {
38011 fprintf(fp
,"%s", var
->name
);
38012 if (var
->next
) fprintf(fp
,", ");
38014 fprintf(fp
," }\n");
38018 SWIGINTERN PyObject
*
38019 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38020 swig_globalvar
*var
= v
->vars
;
38022 if (strcmp(var
->name
,n
) == 0) {
38023 return (*var
->get_attr
)();
38027 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38032 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38033 swig_globalvar
*var
= v
->vars
;
38035 if (strcmp(var
->name
,n
) == 0) {
38036 return (*var
->set_attr
)(p
);
38040 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38044 SWIGINTERN PyTypeObject
*
38045 swig_varlink_type(void) {
38046 static char varlink__doc__
[] = "Swig var link object";
38047 static PyTypeObject varlink_type
38048 #if !defined(__cplusplus)
38050 static int type_init
= 0;
38055 PyObject_HEAD_INIT(&PyType_Type
)
38056 0, /* Number of items in variable part (ob_size) */
38057 (char *)"swigvarlink", /* Type name (tp_name) */
38058 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38059 0, /* Itemsize (tp_itemsize) */
38060 0, /* Deallocator (tp_dealloc) */
38061 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38062 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38063 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38064 0, /* tp_compare */
38065 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38066 0, /* tp_as_number */
38067 0, /* tp_as_sequence */
38068 0, /* tp_as_mapping */
38072 0, /* tp_getattro */
38073 0, /* tp_setattro */
38074 0, /* tp_as_buffer */
38076 varlink__doc__
, /* tp_doc */
38077 #if PY_VERSION_HEX >= 0x02000000
38078 0, /* tp_traverse */
38081 #if PY_VERSION_HEX >= 0x02010000
38082 0, /* tp_richcompare */
38083 0, /* tp_weaklistoffset */
38085 #if PY_VERSION_HEX >= 0x02020000
38086 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38088 #if PY_VERSION_HEX >= 0x02030000
38091 #ifdef COUNT_ALLOCS
38092 0,0,0,0 /* tp_alloc -> tp_next */
38095 #if !defined(__cplusplus)
38096 varlink_type
= tmp
;
38100 return &varlink_type
;
38103 /* Create a variable linking object for use later */
38104 SWIGINTERN PyObject
*
38105 SWIG_Python_newvarlink(void) {
38106 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38110 return ((PyObject
*) result
);
38114 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38115 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38116 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38118 size_t size
= strlen(name
)+1;
38119 gv
->name
= (char *)malloc(size
);
38121 strncpy(gv
->name
,name
,size
);
38122 gv
->get_attr
= get_attr
;
38123 gv
->set_attr
= set_attr
;
38124 gv
->next
= v
->vars
;
38130 /* -----------------------------------------------------------------------------
38131 * constants/methods manipulation
38132 * ----------------------------------------------------------------------------- */
38134 /* Install Constants */
38136 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38139 for (i
= 0; constants
[i
].type
; ++i
) {
38140 switch(constants
[i
].type
) {
38142 obj
= PyInt_FromLong(constants
[i
].lvalue
);
38144 case SWIG_PY_FLOAT
:
38145 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
38147 case SWIG_PY_STRING
:
38148 if (constants
[i
].pvalue
) {
38149 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
38151 Py_INCREF(Py_None
);
38155 case SWIG_PY_POINTER
:
38156 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38158 case SWIG_PY_BINARY
:
38159 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38166 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
38172 /* -----------------------------------------------------------------------------*/
38173 /* Fix SwigMethods to carry the callback ptrs when needed */
38174 /* -----------------------------------------------------------------------------*/
38177 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38178 swig_const_info
*const_table
,
38179 swig_type_info
**types
,
38180 swig_type_info
**types_initial
) {
38182 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38183 char *c
= methods
[i
].ml_doc
;
38184 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38186 swig_const_info
*ci
= 0;
38187 char *name
= c
+ 10;
38188 for (j
= 0; const_table
[j
].type
; ++j
) {
38189 if (strncmp(const_table
[j
].name
, name
,
38190 strlen(const_table
[j
].name
)) == 0) {
38191 ci
= &(const_table
[j
]);
38196 size_t shift
= (ci
->ptype
) - types
;
38197 swig_type_info
*ty
= types_initial
[shift
];
38198 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38199 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38200 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38203 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38205 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38207 strncpy(buff
, "swig_ptr: ", 10);
38209 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38210 methods
[i
].ml_doc
= ndoc
;
38218 /* -----------------------------------------------------------------------------*
38219 * Initialize type list
38220 * -----------------------------------------------------------------------------*/
38226 /* -----------------------------------------------------------------------------*
38227 * Partial Init method
38228 * -----------------------------------------------------------------------------*/
38233 SWIGEXPORT
void SWIG_init(void) {
38234 static PyObject
*SWIG_globals
= 0;
38236 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
38238 /* Fix SwigMethods to carry the callback ptrs when needed */
38239 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38241 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38242 d
= PyModule_GetDict(m
);
38244 SWIG_InitializeModule(0);
38245 SWIG_InstallConstants(d
,swig_const_table
);
38247 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
38248 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
38250 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT
)));
38253 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP
)));
38256 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT
)));
38259 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM
)));
38262 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK
)));
38265 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT
)));
38268 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW
)));
38270 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
38272 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE
)));
38275 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE
)));
38278 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
38281 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED
)));
38284 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED
)));
38287 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED
)));
38289 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
38290 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
38291 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
38293 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL
)));
38296 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL
)));
38299 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH
)));
38302 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR
)));
38304 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
38305 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
38306 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
38307 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
38308 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
38310 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL
)));
38313 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL
)));
38316 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY
)));
38319 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE
)));
38322 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB
)));
38325 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT
)));
38328 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER
)));
38331 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT
)));
38334 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE
)));
38337 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH
)));
38340 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER
)));
38343 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD
)));
38346 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL
)));
38349 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL
)));
38352 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP
)));
38355 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP
)));
38358 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP
)));
38361 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP
)));
38364 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP
)));
38367 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2
)));
38370 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE
)));
38373 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT
)));
38376 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT
)));
38379 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE
)));
38382 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER
)));
38385 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT
)));
38388 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
38391 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR
)));
38394 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
38397 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE
)));
38400 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE
)));
38403 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT
)));
38406 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC
)));
38409 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
38412 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT
)));
38415 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT
)));
38418 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT
)));
38421 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT
)));
38424 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS
)));
38427 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN
)));
38430 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE
)));
38433 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT
)));
38436 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW
)));
38439 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND
)));
38442 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord
)));
38445 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord
)));
38447 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
38448 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
38449 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
38450 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
38451 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
38452 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
38453 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
38455 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL
)));
38458 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL
)));
38461 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS
)));
38464 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP
)));
38466 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
38467 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
38468 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
38469 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
38471 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL
)));
38474 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL
)));
38477 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS
)));
38480 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS
)));
38483 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS
)));
38486 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT
)));
38489 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP
)));
38492 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT
)));
38495 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM
)));
38498 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH
)));
38501 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE
)));
38504 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE
)));
38506 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
38507 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
38508 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
38510 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH
)));
38513 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP
)));
38516 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT
)));
38519 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT
)));
38522 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM
)));
38525 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE
)));
38528 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME
)));
38531 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE
)));
38534 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON
)));
38537 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL
)));
38540 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM
)));
38542 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
38543 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
38545 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT
)));
38548 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP
)));
38551 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM
)));
38554 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT
)));
38557 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT
)));
38560 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK
)));
38562 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
38563 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
38565 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT
)));
38568 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP
)));
38571 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM
)));
38574 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT
)));
38577 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT
)));
38580 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK
)));
38582 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
38583 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
38585 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON
)));
38588 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR
)));
38591 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL
)));
38594 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL
)));
38597 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL
)));
38600 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS
)));
38603 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT
)));
38606 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE
)));
38609 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS
)));
38612 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT
)));
38615 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER
)));
38618 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN
)));
38621 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT
)));
38624 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT
)));
38626 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
38628 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES
)));
38631 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES
)));
38634 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON
)));
38637 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON
)));
38640 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST
)));
38643 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT
)));
38646 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP
)));
38649 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT
)));
38652 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE
)));
38655 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL
)));
38658 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS
)));
38661 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER
)));
38664 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER
)));
38667 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL
)));
38670 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING
)));
38673 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING
)));
38676 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE
)));
38679 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN
)));
38682 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT
)));
38685 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE
)));
38688 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT
)));
38691 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE
)));
38694 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA
)));
38697 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM
)));
38700 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH
)));
38703 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT
)));
38706 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE
)));
38709 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED
)));
38712 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED
)));
38715 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED
)));
38718 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT
)));
38721 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED
)));
38724 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED
)));
38727 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE
)));
38730 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED
)));
38733 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE
)));
38736 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE
)));
38739 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW
)));
38742 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE
)));
38745 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON
)));
38748 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL
)));
38751 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT
)));
38754 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
38757 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT
)));
38760 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT
)));
38763 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM
)));
38766 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE
)));
38769 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL
)));
38772 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW
)));
38775 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT
)));
38778 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT
)));
38781 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT
)));
38784 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT
)));
38787 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP
)));
38790 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
38793 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT
)));
38796 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT
)));
38799 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE
)));
38802 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER
)));
38805 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE
)));
38808 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER
)));
38811 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS
)));
38814 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON
)));
38817 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL
)));
38820 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP
)));
38823 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN
)));
38826 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT
)));
38829 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT
)));
38831 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
38832 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
38833 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
38834 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
38835 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
38836 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
38837 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
38838 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
38839 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
38840 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
38841 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
38842 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
38843 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
38844 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
38845 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
38846 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
38847 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
38848 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
38849 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
38850 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
38852 // Map renamed classes back to their common name for OOR
38853 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38855 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
38857 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS
)));
38860 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS
)));
38863 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES
)));
38866 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT
)));
38869 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE
)));
38872 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE
)));
38875 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED
)));
38878 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
38881 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS
)));
38884 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT
)));
38887 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES
)));
38890 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT
)));
38893 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE
)));
38896 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS
)));
38899 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS
)));
38902 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS
)));
38905 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal
)));
38908 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected
)));
38911 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded
)));
38914 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded
)));
38917 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max
)));
38920 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE
)));
38923 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW
)));
38926 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE
)));
38929 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON
)));
38932 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON
)));
38935 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT
)));
38938 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL
)));
38941 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT
)));
38944 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
38947 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT
)));
38950 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT
)));
38953 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
38956 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
38959 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM
)));
38961 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38962 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38963 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38964 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38965 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38966 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38967 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38968 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38969 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38970 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38971 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38972 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38973 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38974 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38975 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38976 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38977 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38978 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38979 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38980 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38981 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38983 // Map renamed classes back to their common name for OOR
38984 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38985 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38987 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38989 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY
)));
38992 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST
)));
38995 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS
)));
38998 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL
)));
39001 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS
)));
39004 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP
)));
39007 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP
)));
39009 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
39010 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
39012 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
39014 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
39016 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT
)));
39019 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN
)));
39022 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN
)));
39025 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY
)));
39028 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE
)));