1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_bool swig_types[0]
1435 #define SWIGTYPE_p_char swig_types[1]
1436 #define SWIGTYPE_p_form_ops_t swig_types[2]
1437 #define SWIGTYPE_p_int swig_types[3]
1438 #define SWIGTYPE_p_long swig_types[4]
1439 #define SWIGTYPE_p_unsigned_char swig_types[5]
1440 #define SWIGTYPE_p_unsigned_int swig_types[6]
1441 #define SWIGTYPE_p_unsigned_long swig_types[7]
1442 #define SWIGTYPE_p_void swig_types[8]
1443 #define SWIGTYPE_p_wxANIHandler swig_types[9]
1444 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1445 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
1446 #define SWIGTYPE_p_wxArrayInt swig_types[12]
1447 #define SWIGTYPE_p_wxArrayString swig_types[13]
1448 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
1449 #define SWIGTYPE_p_wxBitmap swig_types[15]
1450 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
1451 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
1452 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
1453 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
1454 #define SWIGTYPE_p_wxButton swig_types[20]
1455 #define SWIGTYPE_p_wxCURHandler swig_types[21]
1456 #define SWIGTYPE_p_wxCheckBox swig_types[22]
1457 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
1458 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
1459 #define SWIGTYPE_p_wxChoice swig_types[25]
1460 #define SWIGTYPE_p_wxChoicebook swig_types[26]
1461 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
1462 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
1463 #define SWIGTYPE_p_wxColour swig_types[29]
1464 #define SWIGTYPE_p_wxComboBox swig_types[30]
1465 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
1466 #define SWIGTYPE_p_wxContextHelp swig_types[32]
1467 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1468 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1469 #define SWIGTYPE_p_wxControl swig_types[35]
1470 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
1471 #define SWIGTYPE_p_wxCursor swig_types[37]
1472 #define SWIGTYPE_p_wxDC swig_types[38]
1473 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1474 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
1475 #define SWIGTYPE_p_wxDateTime swig_types[41]
1476 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
1477 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
1478 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
1479 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
1480 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
1481 #define SWIGTYPE_p_wxEvent swig_types[47]
1482 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
1483 #define SWIGTYPE_p_wxFSFile swig_types[49]
1484 #define SWIGTYPE_p_wxFileSystem swig_types[50]
1485 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
1486 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
1487 #define SWIGTYPE_p_wxFont swig_types[53]
1488 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
1489 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
1490 #define SWIGTYPE_p_wxGauge swig_types[56]
1491 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
1492 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
1493 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
1494 #define SWIGTYPE_p_wxGridSizer swig_types[60]
1495 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
1496 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
1497 #define SWIGTYPE_p_wxICOHandler swig_types[63]
1498 #define SWIGTYPE_p_wxIcon swig_types[64]
1499 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
1500 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
1501 #define SWIGTYPE_p_wxImage swig_types[67]
1502 #define SWIGTYPE_p_wxImageHandler swig_types[68]
1503 #define SWIGTYPE_p_wxImageList swig_types[69]
1504 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
1505 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
1506 #define SWIGTYPE_p_wxItemContainer swig_types[72]
1507 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1508 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
1509 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
1510 #define SWIGTYPE_p_wxListBox swig_types[76]
1511 #define SWIGTYPE_p_wxListEvent swig_types[77]
1512 #define SWIGTYPE_p_wxListItem swig_types[78]
1513 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
1514 #define SWIGTYPE_p_wxListView swig_types[80]
1515 #define SWIGTYPE_p_wxListbook swig_types[81]
1516 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
1517 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
1518 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
1519 #define SWIGTYPE_p_wxMenu swig_types[85]
1520 #define SWIGTYPE_p_wxMenuBar swig_types[86]
1521 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
1522 #define SWIGTYPE_p_wxMenuItem swig_types[88]
1523 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
1524 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
1525 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
1526 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
1527 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
1528 #define SWIGTYPE_p_wxNotebook swig_types[94]
1529 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
1530 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
1531 #define SWIGTYPE_p_wxObject swig_types[97]
1532 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
1533 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
1534 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
1535 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
1536 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
1537 #define SWIGTYPE_p_wxPaperSize swig_types[103]
1538 #define SWIGTYPE_p_wxPoint swig_types[104]
1539 #define SWIGTYPE_p_wxPyApp swig_types[105]
1540 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
1541 #define SWIGTYPE_p_wxPyControl swig_types[107]
1542 #define SWIGTYPE_p_wxPyEvent swig_types[108]
1543 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
1544 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
1545 #define SWIGTYPE_p_wxPySizer swig_types[111]
1546 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
1547 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
1548 #define SWIGTYPE_p_wxPyValidator swig_types[114]
1549 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
1550 #define SWIGTYPE_p_wxRadioBox swig_types[116]
1551 #define SWIGTYPE_p_wxRadioButton swig_types[117]
1552 #define SWIGTYPE_p_wxRect swig_types[118]
1553 #define SWIGTYPE_p_wxScrollBar swig_types[119]
1554 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
1555 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1556 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
1557 #define SWIGTYPE_p_wxShowEvent swig_types[123]
1558 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
1559 #define SWIGTYPE_p_wxSize swig_types[125]
1560 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
1561 #define SWIGTYPE_p_wxSizer swig_types[127]
1562 #define SWIGTYPE_p_wxSizerItem swig_types[128]
1563 #define SWIGTYPE_p_wxSlider swig_types[129]
1564 #define SWIGTYPE_p_wxSpinButton swig_types[130]
1565 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
1566 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
1567 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
1568 #define SWIGTYPE_p_wxStaticBox swig_types[134]
1569 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
1570 #define SWIGTYPE_p_wxStaticLine swig_types[136]
1571 #define SWIGTYPE_p_wxStaticText swig_types[137]
1572 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
1573 #define SWIGTYPE_p_wxString swig_types[139]
1574 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
1575 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
1576 #define SWIGTYPE_p_wxTextAttr swig_types[142]
1577 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
1578 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
1579 #define SWIGTYPE_p_wxToggleButton swig_types[145]
1580 #define SWIGTYPE_p_wxToolBar swig_types[146]
1581 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
1582 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
1583 #define SWIGTYPE_p_wxToolbook swig_types[149]
1584 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
1585 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
1586 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
1587 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
1588 #define SWIGTYPE_p_wxTreebook swig_types[154]
1589 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
1590 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
1591 #define SWIGTYPE_p_wxValidator swig_types[157]
1592 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
1593 #define SWIGTYPE_p_wxWindow swig_types[159]
1594 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
1595 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
1596 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
1597 #define SWIGTYPE_ptrdiff_t swig_types[163]
1598 #define SWIGTYPE_std__ptrdiff_t swig_types[164]
1599 #define SWIGTYPE_unsigned_int swig_types[165]
1600 static swig_type_info
*swig_types
[167];
1601 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
1602 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1603 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1605 /* -------- TYPES TABLE (END) -------- */
1608 /*-----------------------------------------------
1609 @(target):= _controls_.so
1610 ------------------------------------------------*/
1611 #define SWIG_init init_controls_
1613 #define SWIG_name "_controls_"
1615 #include "wx/wxPython/wxPython.h"
1616 #include "wx/wxPython/pyclasses.h"
1618 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1619 static const wxString
wxPyEmptyString(wxEmptyString
);
1620 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1622 const wxArrayString wxPyEmptyStringArray
;
1624 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1626 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1627 #define SWIG_From_int PyInt_FromLong
1635 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1638 if (value
< min_value
) {
1640 PyErr_Format(PyExc_OverflowError
,
1641 "value %ld is less than '%s' minimum %ld",
1642 value
, errmsg
, min_value
);
1645 } else if (value
> max_value
) {
1647 PyErr_Format(PyExc_OverflowError
,
1648 "value %ld is greater than '%s' maximum %ld",
1649 value
, errmsg
, max_value
);
1658 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1660 if (PyNumber_Check(obj
)) {
1661 if (val
) *val
= PyInt_AsLong(obj
);
1665 SWIG_Python_TypeError("number", obj
);
1671 #if INT_MAX != LONG_MAX
1673 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1675 const char* errmsg
= val
? "int" : (char*)0;
1677 if (SWIG_AsVal_long(obj
, &v
)) {
1678 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1679 if (val
) *val
= static_cast<int >(v
);
1688 SWIG_type_error(errmsg
, obj
);
1693 SWIGINTERNINLINE
int
1694 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1696 return SWIG_AsVal_long(obj
,(long*)val
);
1701 SWIGINTERNINLINE
int
1702 SWIG_As_int(PyObject
* obj
)
1705 if (!SWIG_AsVal_int(obj
, &v
)) {
1707 this is needed to make valgrind/purify happier.
1709 memset((void*)&v
, 0, sizeof(int));
1715 SWIGINTERNINLINE
long
1716 SWIG_As_long(PyObject
* obj
)
1719 if (!SWIG_AsVal_long(obj
, &v
)) {
1721 this is needed to make valgrind/purify happier.
1723 memset((void*)&v
, 0, sizeof(long));
1729 SWIGINTERNINLINE
int
1730 SWIG_Check_int(PyObject
* obj
)
1732 return SWIG_AsVal_int(obj
, (int*)0);
1736 SWIGINTERNINLINE
int
1737 SWIG_Check_long(PyObject
* obj
)
1739 return SWIG_AsVal_long(obj
, (long*)0);
1742 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1745 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1747 if (obj
== Py_True
) {
1748 if (val
) *val
= true;
1751 if (obj
== Py_False
) {
1752 if (val
) *val
= false;
1756 if (SWIG_AsVal_int(obj
, &res
)) {
1757 if (val
) *val
= res
? true : false;
1763 SWIG_type_error("bool", obj
);
1769 SWIGINTERNINLINE
bool
1770 SWIG_As_bool(PyObject
* obj
)
1773 if (!SWIG_AsVal_bool(obj
, &v
)) {
1775 this is needed to make valgrind/purify happier.
1777 memset((void*)&v
, 0, sizeof(bool));
1783 SWIGINTERNINLINE
int
1784 SWIG_Check_bool(PyObject
* obj
)
1786 return SWIG_AsVal_bool(obj
, (bool*)0);
1789 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1790 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1792 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1793 #define SWIG_From_long PyInt_FromLong
1797 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1803 } else if (result
== Py_None
) {
1807 if (!PyTuple_Check(result
)) {
1809 result
= PyTuple_New(1);
1810 PyTuple_SET_ITEM(result
, 0, o2
);
1812 o3
= PyTuple_New(1);
1813 PyTuple_SetItem(o3
, 0, obj
);
1815 result
= PySequence_Concat(o2
, o3
);
1823 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1824 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1825 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1826 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1828 #include <wx/checklst.h>
1831 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1832 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1834 wxPyClientData
* data
= new wxPyClientData(clientData
);
1835 self
->Insert(item
, pos
, data
);
1837 self
->Insert(item
, pos
);
1839 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1841 self
->GetSelections(lst
);
1842 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1843 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1844 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1848 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1850 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1851 self
->GetItem(item
)->SetTextColour(c
);
1854 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1856 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1857 self
->GetItem(item
)->SetBackgroundColour(c
);
1860 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1862 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1863 self
->GetItem(item
)->SetFont(f
);
1866 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1869 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1872 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1873 SWIG_Python_TypeError("unsigned number", obj
);
1876 *val
= (unsigned long)v
;
1881 SWIGINTERNINLINE
unsigned long
1882 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1885 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1887 this is needed to make valgrind/purify happier.
1889 memset((void*)&v
, 0, sizeof(unsigned long));
1895 SWIGINTERNINLINE
int
1896 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1898 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1901 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1902 self
->AppendText(text
);
1904 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1905 return self
->GetValue().Mid(from
, to
- from
);
1907 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1908 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1909 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1910 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1911 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1913 #include <wx/slider.h>
1916 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1917 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1919 #if !wxUSE_TOGGLEBTN
1920 // implement dummy items for platforms that don't have this class
1922 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1924 class wxToggleButton
: public wxControl
1927 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1928 const wxPoint
&, const wxSize
&, long,
1929 const wxValidator
&, const wxString
&)
1930 { wxPyRaiseNotImplemented(); }
1933 { wxPyRaiseNotImplemented(); }
1937 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1939 SWIGINTERNINLINE PyObject
*
1940 SWIG_From_unsigned_SS_long(unsigned long value
)
1942 return (value
> LONG_MAX
) ?
1943 PyLong_FromUnsignedLong(value
)
1944 : PyInt_FromLong(static_cast<long >(value
));
1948 #if UINT_MAX < LONG_MAX
1949 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1950 #define SWIG_From_unsigned_SS_int SWIG_From_long
1953 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1954 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1959 SWIGINTERNINLINE
int
1960 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1961 unsigned long max_value
,
1964 if (value
> max_value
) {
1966 PyErr_Format(PyExc_OverflowError
,
1967 "value %lu is greater than '%s' minimum %lu",
1968 value
, errmsg
, max_value
);
1976 #if UINT_MAX != ULONG_MAX
1978 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1980 const char* errmsg
= val
? "unsigned int" : (char*)0;
1982 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1983 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1984 if (val
) *val
= static_cast<unsigned int >(v
);
1991 SWIG_type_error(errmsg
, obj
);
1996 SWIGINTERNINLINE
unsigned int
1997 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1999 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2004 SWIGINTERNINLINE
unsigned int
2005 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2008 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2010 this is needed to make valgrind/purify happier.
2012 memset((void*)&v
, 0, sizeof(unsigned int));
2018 SWIGINTERNINLINE
int
2019 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2021 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2024 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2025 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2026 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2028 Py_INCREF(udata
->m_obj
);
2029 return udata
->m_obj
;
2035 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2036 self
->SetClientData(new wxPyUserData(clientData
));
2038 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2039 wxPyUserData
* udata
= NULL
;
2040 if (clientData
&& clientData
!= Py_None
)
2041 udata
= new wxPyUserData(clientData
);
2042 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2043 shortHelp
, longHelp
, udata
);
2045 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2046 wxPyUserData
* udata
= NULL
;
2047 if (clientData
&& clientData
!= Py_None
)
2048 udata
= new wxPyUserData(clientData
);
2049 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2050 shortHelp
, longHelp
, udata
);
2052 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2053 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2055 Py_INCREF(udata
->m_obj
);
2056 return udata
->m_obj
;
2062 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2063 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2066 #include <wx/listctrl.h>
2068 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2069 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2070 // Python aware sorting function for wxPyListCtrl
2071 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2073 PyObject
* func
= (PyObject
*)funcPtr
;
2074 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2076 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
2077 PyObject
* result
= PyEval_CallObject(func
, args
);
2080 retval
= PyInt_AsLong(result
);
2084 wxPyEndBlockThreads(blocked
);
2088 // C++ Version of a Python aware class
2089 class wxPyListCtrl
: public wxListCtrl
{
2090 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
2092 wxPyListCtrl() : wxListCtrl() {}
2093 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
2097 const wxValidator
& validator
,
2098 const wxString
& name
) :
2099 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2101 bool Create(wxWindow
* parent
, wxWindowID id
,
2105 const wxValidator
& validator
,
2106 const wxString
& name
) {
2107 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
2110 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
2111 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
2113 // use the virtual version to avoid a confusing assert in the base class
2114 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
2115 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
2120 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
2122 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
2123 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
2124 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
2125 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
2128 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
2130 item
.SetMask( wxLIST_MASK_STATE
|
2138 if (self
->GetColumn(col
, item
))
2139 return new wxListItem(item
);
2143 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
2144 wxListItem
* info
= new wxListItem
;
2145 info
->m_itemId
= itemId
;
2147 info
->m_mask
= 0xFFFF;
2148 self
->GetItem(*info
);
2151 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
2153 self
->GetItemPosition(item
, pos
);
2156 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
2158 self
->GetItemRect(item
, rect
, code
);
2162 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
2163 if (!PyCallable_Check(func
))
2165 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
2167 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
2175 #include <wx/treectrl.h>
2176 #include "wx/wxPython/pytree.h"
2178 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
2179 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
2180 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
2181 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
2182 // C++ version of Python aware wxTreeCtrl
2183 class wxPyTreeCtrl
: public wxTreeCtrl
{
2184 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
2186 wxPyTreeCtrl() : wxTreeCtrl() {}
2187 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
2191 const wxValidator
& validator
,
2192 const wxString
& name
) :
2193 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2195 bool Create(wxWindow
*parent
, wxWindowID id
,
2199 const wxValidator
& validator
,
2200 const wxString
& name
) {
2201 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
2205 int OnCompareItems(const wxTreeItemId
& item1
,
2206 const wxTreeItemId
& item2
) {
2209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2210 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
2211 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
2212 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
2213 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
2217 wxPyEndBlockThreads(blocked
);
2219 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
2225 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
2228 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2229 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2231 data
= new wxPyTreeItemData();
2232 data
->SetId(item
); // set the id
2233 self
->SetItemData(item
, data
);
2237 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2238 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2240 data
= new wxPyTreeItemData();
2241 data
->SetId(item
); // set the id
2242 self
->SetItemData(item
, data
);
2244 return data
->GetData();
2246 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2247 data
->SetId(item
); // set the id
2248 self
->SetItemData(item
, data
);
2250 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2251 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2253 data
= new wxPyTreeItemData(obj
);
2254 data
->SetId(item
); // set the id
2255 self
->SetItemData(item
, data
);
2259 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2260 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2261 PyObject
* rval
= PyList_New(0);
2262 wxArrayTreeItemIds array
;
2264 num
= self
->GetSelections(array
);
2265 for (x
=0; x
< num
; x
++) {
2266 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2267 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2268 PyList_Append(rval
, item
);
2271 wxPyEndBlockThreads(blocked
);
2274 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2276 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2277 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2278 PyObject
* tup
= PyTuple_New(2);
2279 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2280 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2281 wxPyEndBlockThreads(blocked
);
2284 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2285 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2286 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2287 PyObject
* tup
= PyTuple_New(2);
2288 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2289 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2290 wxPyEndBlockThreads(blocked
);
2293 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2295 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2296 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2297 wxRect
* r
= new wxRect(rect
);
2298 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2299 wxPyEndBlockThreads(blocked
);
2305 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2307 SWIGINTERNINLINE PyObject
*
2308 SWIG_From_bool(bool value
)
2310 PyObject
*obj
= value
? Py_True
: Py_False
;
2316 // C++ version of Python aware wxControl
2317 class wxPyControl
: public wxControl
2319 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2321 wxPyControl() : wxControl() {}
2322 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2323 const wxPoint
& pos
= wxDefaultPosition
,
2324 const wxSize
& size
= wxDefaultSize
,
2326 const wxValidator
& validator
=wxDefaultValidator
,
2327 const wxString
& name
= wxPyControlNameStr
)
2328 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2330 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2332 bool DoEraseBackground(wxDC
* dc
) {
2334 return wxWindow::DoEraseBackground(dc
->GetHDC());
2336 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2342 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2343 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2344 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2345 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2347 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2348 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2349 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2351 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2352 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2354 DEC_PYCALLBACK__(InitDialog
);
2355 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2356 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2357 DEC_PYCALLBACK_BOOL_(Validate
);
2359 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2360 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2361 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2363 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2364 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2366 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2367 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2369 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2371 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2376 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2378 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2379 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2380 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2381 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2383 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2384 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2385 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2387 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2388 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2390 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2391 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2392 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2393 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2395 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2396 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2397 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2399 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2400 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2402 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2403 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2405 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2407 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
2411 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2413 #include <wx/generic/dragimgg.h>
2415 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2416 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2418 self
->GetRange(&rv
, NULL
);
2421 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2423 self
->GetRange(NULL
, &rv
);
2429 static int _wrap_ButtonNameStr_set(PyObject
*) {
2430 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2435 static PyObject
*_wrap_ButtonNameStr_get(void) {
2436 PyObject
*pyobj
= NULL
;
2440 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2442 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2449 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
= NULL
;
2451 wxWindow
*arg1
= (wxWindow
*) 0 ;
2452 int arg2
= (int) -1 ;
2453 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2454 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2455 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2456 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2457 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2458 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2459 long arg6
= (long) 0 ;
2460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2462 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2465 bool temp3
= false ;
2468 bool temp8
= false ;
2469 PyObject
* obj0
= 0 ;
2470 PyObject
* obj1
= 0 ;
2471 PyObject
* obj2
= 0 ;
2472 PyObject
* obj3
= 0 ;
2473 PyObject
* obj4
= 0 ;
2474 PyObject
* obj5
= 0 ;
2475 PyObject
* obj6
= 0 ;
2476 PyObject
* obj7
= 0 ;
2478 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2483 if (SWIG_arg_fail(1)) SWIG_fail
;
2486 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2487 if (SWIG_arg_fail(2)) SWIG_fail
;
2492 arg3
= wxString_in_helper(obj2
);
2493 if (arg3
== NULL
) SWIG_fail
;
2500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2511 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2512 if (SWIG_arg_fail(6)) SWIG_fail
;
2517 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2518 if (SWIG_arg_fail(7)) SWIG_fail
;
2520 SWIG_null_ref("wxValidator");
2522 if (SWIG_arg_fail(7)) SWIG_fail
;
2527 arg8
= wxString_in_helper(obj7
);
2528 if (arg8
== NULL
) SWIG_fail
;
2533 if (!wxPyCheckForApp()) SWIG_fail
;
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2563 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
= NULL
;
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2572 if (!wxPyCheckForApp()) SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 result
= (wxButton
*)new wxButton();
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2586 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
= NULL
;
2588 wxButton
*arg1
= (wxButton
*) 0 ;
2589 wxWindow
*arg2
= (wxWindow
*) 0 ;
2590 int arg3
= (int) -1 ;
2591 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2592 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2593 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2594 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2595 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2596 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2597 long arg7
= (long) 0 ;
2598 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2599 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2600 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2601 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2603 bool temp4
= false ;
2606 bool temp9
= false ;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2609 PyObject
* obj2
= 0 ;
2610 PyObject
* obj3
= 0 ;
2611 PyObject
* obj4
= 0 ;
2612 PyObject
* obj5
= 0 ;
2613 PyObject
* obj6
= 0 ;
2614 PyObject
* obj7
= 0 ;
2615 PyObject
* obj8
= 0 ;
2617 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2622 if (SWIG_arg_fail(1)) SWIG_fail
;
2623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2624 if (SWIG_arg_fail(2)) SWIG_fail
;
2627 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2628 if (SWIG_arg_fail(3)) SWIG_fail
;
2633 arg4
= wxString_in_helper(obj3
);
2634 if (arg4
== NULL
) SWIG_fail
;
2641 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2647 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2652 arg7
= static_cast<long >(SWIG_As_long(obj6
));
2653 if (SWIG_arg_fail(7)) SWIG_fail
;
2658 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2659 if (SWIG_arg_fail(8)) SWIG_fail
;
2661 SWIG_null_ref("wxValidator");
2663 if (SWIG_arg_fail(8)) SWIG_fail
;
2668 arg9
= wxString_in_helper(obj8
);
2669 if (arg9
== NULL
) SWIG_fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2705 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
*resultobj
= NULL
;
2707 wxButton
*arg1
= (wxButton
*) 0 ;
2708 PyObject
* obj0
= 0 ;
2710 (char *) "self", NULL
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2715 if (SWIG_arg_fail(1)) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 (arg1
)->SetDefault();
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 Py_INCREF(Py_None
); resultobj
= Py_None
;
2730 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
= NULL
;
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= wxButton::GetDefaultSize();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2747 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
2748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2756 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
= NULL
;
2758 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2759 wxVisualAttributes result
;
2760 PyObject
* obj0
= 0 ;
2762 (char *) "variant", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2768 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
2769 if (SWIG_arg_fail(1)) SWIG_fail
;
2773 if (!wxPyCheckForApp()) SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= wxButton::GetClassDefaultAttributes(arg1
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2781 wxVisualAttributes
* resultptr
;
2782 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
2783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2791 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2794 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2796 return Py_BuildValue((char *)"");
2798 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
= NULL
;
2800 wxWindow
*arg1
= (wxWindow
*) 0 ;
2801 int arg2
= (int) -1 ;
2802 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2803 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2808 long arg6
= (long) wxBU_AUTODRAW
;
2809 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2810 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2811 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2812 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2813 wxBitmapButton
*result
;
2816 bool temp8
= false ;
2817 PyObject
* obj0
= 0 ;
2818 PyObject
* obj1
= 0 ;
2819 PyObject
* obj2
= 0 ;
2820 PyObject
* obj3
= 0 ;
2821 PyObject
* obj4
= 0 ;
2822 PyObject
* obj5
= 0 ;
2823 PyObject
* obj6
= 0 ;
2824 PyObject
* obj7
= 0 ;
2826 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2831 if (SWIG_arg_fail(1)) SWIG_fail
;
2834 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2835 if (SWIG_arg_fail(2)) SWIG_fail
;
2840 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2841 if (SWIG_arg_fail(3)) SWIG_fail
;
2843 SWIG_null_ref("wxBitmap");
2845 if (SWIG_arg_fail(3)) SWIG_fail
;
2851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2862 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2863 if (SWIG_arg_fail(6)) SWIG_fail
;
2868 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2869 if (SWIG_arg_fail(7)) SWIG_fail
;
2871 SWIG_null_ref("wxValidator");
2873 if (SWIG_arg_fail(7)) SWIG_fail
;
2878 arg8
= wxString_in_helper(obj7
);
2879 if (arg8
== NULL
) SWIG_fail
;
2884 if (!wxPyCheckForApp()) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2906 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
= NULL
;
2908 wxBitmapButton
*result
;
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2915 if (!wxPyCheckForApp()) SWIG_fail
;
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 result
= (wxBitmapButton
*)new wxBitmapButton();
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2929 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
= NULL
;
2931 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2932 wxWindow
*arg2
= (wxWindow
*) 0 ;
2933 int arg3
= (int) -1 ;
2934 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2935 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2940 long arg7
= (long) wxBU_AUTODRAW
;
2941 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2942 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2943 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2944 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2948 bool temp9
= false ;
2949 PyObject
* obj0
= 0 ;
2950 PyObject
* obj1
= 0 ;
2951 PyObject
* obj2
= 0 ;
2952 PyObject
* obj3
= 0 ;
2953 PyObject
* obj4
= 0 ;
2954 PyObject
* obj5
= 0 ;
2955 PyObject
* obj6
= 0 ;
2956 PyObject
* obj7
= 0 ;
2957 PyObject
* obj8
= 0 ;
2959 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2964 if (SWIG_arg_fail(1)) SWIG_fail
;
2965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2966 if (SWIG_arg_fail(2)) SWIG_fail
;
2969 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2970 if (SWIG_arg_fail(3)) SWIG_fail
;
2975 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2976 if (SWIG_arg_fail(4)) SWIG_fail
;
2978 SWIG_null_ref("wxBitmap");
2980 if (SWIG_arg_fail(4)) SWIG_fail
;
2986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2992 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2997 arg7
= static_cast<long >(SWIG_As_long(obj6
));
2998 if (SWIG_arg_fail(7)) SWIG_fail
;
3003 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3004 if (SWIG_arg_fail(8)) SWIG_fail
;
3006 SWIG_null_ref("wxValidator");
3008 if (SWIG_arg_fail(8)) SWIG_fail
;
3013 arg9
= wxString_in_helper(obj8
);
3014 if (arg9
== NULL
) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3042 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
= NULL
;
3044 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3046 PyObject
* obj0
= 0 ;
3048 (char *) "self", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
3052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3053 if (SWIG_arg_fail(1)) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 result
= (arg1
)->GetBitmapLabel();
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3062 wxBitmap
* resultptr
;
3063 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3072 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
= NULL
;
3074 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3076 PyObject
* obj0
= 0 ;
3078 (char *) "self", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
3082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 result
= (arg1
)->GetBitmapDisabled();
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3092 wxBitmap
* resultptr
;
3093 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3102 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
= NULL
;
3104 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3106 PyObject
* obj0
= 0 ;
3108 (char *) "self", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
3112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3113 if (SWIG_arg_fail(1)) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (arg1
)->GetBitmapFocus();
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3122 wxBitmap
* resultptr
;
3123 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3132 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
= NULL
;
3134 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3136 PyObject
* obj0
= 0 ;
3138 (char *) "self", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
3142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3143 if (SWIG_arg_fail(1)) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 result
= (arg1
)->GetBitmapSelected();
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3152 wxBitmap
* resultptr
;
3153 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3162 static PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
= NULL
;
3164 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapHover",kwnames
,&obj0
)) goto fail
;
3172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 result
= (arg1
)->GetBitmapHover();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3182 wxBitmap
* resultptr
;
3183 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3192 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
*resultobj
= NULL
;
3194 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3195 wxBitmap
*arg2
= 0 ;
3196 PyObject
* obj0
= 0 ;
3197 PyObject
* obj1
= 0 ;
3199 (char *) "self",(char *) "bitmap", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3204 if (SWIG_arg_fail(1)) SWIG_fail
;
3206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3207 if (SWIG_arg_fail(2)) SWIG_fail
;
3209 SWIG_null_ref("wxBitmap");
3211 if (SWIG_arg_fail(2)) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3220 Py_INCREF(Py_None
); resultobj
= Py_None
;
3227 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
= NULL
;
3229 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3230 wxBitmap
*arg2
= 0 ;
3231 PyObject
* obj0
= 0 ;
3232 PyObject
* obj1
= 0 ;
3234 (char *) "self",(char *) "bitmap", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3239 if (SWIG_arg_fail(1)) SWIG_fail
;
3241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3242 if (SWIG_arg_fail(2)) SWIG_fail
;
3244 SWIG_null_ref("wxBitmap");
3246 if (SWIG_arg_fail(2)) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 Py_INCREF(Py_None
); resultobj
= Py_None
;
3262 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
= NULL
;
3264 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3265 wxBitmap
*arg2
= 0 ;
3266 PyObject
* obj0
= 0 ;
3267 PyObject
* obj1
= 0 ;
3269 (char *) "self",(char *) "bitmap", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3274 if (SWIG_arg_fail(1)) SWIG_fail
;
3276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3277 if (SWIG_arg_fail(2)) SWIG_fail
;
3279 SWIG_null_ref("wxBitmap");
3281 if (SWIG_arg_fail(2)) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 Py_INCREF(Py_None
); resultobj
= Py_None
;
3297 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
*resultobj
= NULL
;
3299 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3300 wxBitmap
*arg2
= 0 ;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3304 (char *) "self",(char *) "bitmap", NULL
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3309 if (SWIG_arg_fail(1)) SWIG_fail
;
3311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3312 if (SWIG_arg_fail(2)) SWIG_fail
;
3314 SWIG_null_ref("wxBitmap");
3316 if (SWIG_arg_fail(2)) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 Py_INCREF(Py_None
); resultobj
= Py_None
;
3332 static PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
= NULL
;
3334 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3335 wxBitmap
*arg2
= 0 ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3339 (char *) "self",(char *) "hover", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) goto fail
;
3343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3344 if (SWIG_arg_fail(1)) SWIG_fail
;
3346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3347 if (SWIG_arg_fail(2)) SWIG_fail
;
3349 SWIG_null_ref("wxBitmap");
3351 if (SWIG_arg_fail(2)) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3360 Py_INCREF(Py_None
); resultobj
= Py_None
;
3367 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
= NULL
;
3369 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3374 PyObject
* obj2
= 0 ;
3376 (char *) "self",(char *) "x",(char *) "y", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3381 if (SWIG_arg_fail(1)) SWIG_fail
;
3383 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3384 if (SWIG_arg_fail(2)) SWIG_fail
;
3387 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3388 if (SWIG_arg_fail(3)) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 (arg1
)->SetMargins(arg2
,arg3
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 Py_INCREF(Py_None
); resultobj
= Py_None
;
3404 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
= NULL
;
3406 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3408 PyObject
* obj0
= 0 ;
3410 (char *) "self", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3415 if (SWIG_arg_fail(1)) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3424 resultobj
= SWIG_From_int(static_cast<int >(result
));
3432 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
= NULL
;
3434 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3438 (char *) "self", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3443 if (SWIG_arg_fail(1)) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3452 resultobj
= SWIG_From_int(static_cast<int >(result
));
3460 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3463 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3465 return Py_BuildValue((char *)"");
3467 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3468 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3473 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3474 PyObject
*pyobj
= NULL
;
3478 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3480 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3487 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
= NULL
;
3489 wxWindow
*arg1
= (wxWindow
*) 0 ;
3490 int arg2
= (int) -1 ;
3491 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3492 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3493 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3494 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3495 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3496 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3497 long arg6
= (long) 0 ;
3498 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3499 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3500 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3501 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3503 bool temp3
= false ;
3506 bool temp8
= false ;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3509 PyObject
* obj2
= 0 ;
3510 PyObject
* obj3
= 0 ;
3511 PyObject
* obj4
= 0 ;
3512 PyObject
* obj5
= 0 ;
3513 PyObject
* obj6
= 0 ;
3514 PyObject
* obj7
= 0 ;
3516 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3521 if (SWIG_arg_fail(1)) SWIG_fail
;
3524 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3525 if (SWIG_arg_fail(2)) SWIG_fail
;
3530 arg3
= wxString_in_helper(obj2
);
3531 if (arg3
== NULL
) SWIG_fail
;
3538 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3544 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3549 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3550 if (SWIG_arg_fail(6)) SWIG_fail
;
3555 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3556 if (SWIG_arg_fail(7)) SWIG_fail
;
3558 SWIG_null_ref("wxValidator");
3560 if (SWIG_arg_fail(7)) SWIG_fail
;
3565 arg8
= wxString_in_helper(obj7
);
3566 if (arg8
== NULL
) SWIG_fail
;
3571 if (!wxPyCheckForApp()) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3601 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
= NULL
;
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3610 if (!wxPyCheckForApp()) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 result
= (wxCheckBox
*)new wxCheckBox();
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3624 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
= NULL
;
3626 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3627 wxWindow
*arg2
= (wxWindow
*) 0 ;
3628 int arg3
= (int) -1 ;
3629 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3630 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3631 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3632 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3633 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3634 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3635 long arg7
= (long) 0 ;
3636 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3637 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3638 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3639 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3641 bool temp4
= false ;
3644 bool temp9
= false ;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3647 PyObject
* obj2
= 0 ;
3648 PyObject
* obj3
= 0 ;
3649 PyObject
* obj4
= 0 ;
3650 PyObject
* obj5
= 0 ;
3651 PyObject
* obj6
= 0 ;
3652 PyObject
* obj7
= 0 ;
3653 PyObject
* obj8
= 0 ;
3655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3660 if (SWIG_arg_fail(1)) SWIG_fail
;
3661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3662 if (SWIG_arg_fail(2)) SWIG_fail
;
3665 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3666 if (SWIG_arg_fail(3)) SWIG_fail
;
3671 arg4
= wxString_in_helper(obj3
);
3672 if (arg4
== NULL
) SWIG_fail
;
3679 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3685 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3690 arg7
= static_cast<long >(SWIG_As_long(obj6
));
3691 if (SWIG_arg_fail(7)) SWIG_fail
;
3696 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3697 if (SWIG_arg_fail(8)) SWIG_fail
;
3699 SWIG_null_ref("wxValidator");
3701 if (SWIG_arg_fail(8)) SWIG_fail
;
3706 arg9
= wxString_in_helper(obj8
);
3707 if (arg9
== NULL
) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3743 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
= NULL
;
3745 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3749 (char *) "self", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3754 if (SWIG_arg_fail(1)) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (bool)(arg1
)->GetValue();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3771 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
= NULL
;
3773 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3777 (char *) "self", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3782 if (SWIG_arg_fail(1)) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (bool)(arg1
)->IsChecked();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3799 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
= NULL
;
3801 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3804 PyObject
* obj1
= 0 ;
3806 (char *) "self",(char *) "state", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3811 if (SWIG_arg_fail(1)) SWIG_fail
;
3813 arg2
= static_cast<bool const >(SWIG_As_bool(obj1
));
3814 if (SWIG_arg_fail(2)) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 (arg1
)->SetValue(arg2
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 Py_INCREF(Py_None
); resultobj
= Py_None
;
3830 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
= NULL
;
3832 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3833 wxCheckBoxState result
;
3834 PyObject
* obj0
= 0 ;
3836 (char *) "self", NULL
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3841 if (SWIG_arg_fail(1)) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= SWIG_From_int((result
));
3856 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
= NULL
;
3858 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3859 wxCheckBoxState arg2
;
3860 PyObject
* obj0
= 0 ;
3861 PyObject
* obj1
= 0 ;
3863 (char *) "self",(char *) "state", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3868 if (SWIG_arg_fail(1)) SWIG_fail
;
3870 arg2
= static_cast<wxCheckBoxState
>(SWIG_As_int(obj1
));
3871 if (SWIG_arg_fail(2)) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 (arg1
)->Set3StateValue(arg2
);
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 Py_INCREF(Py_None
); resultobj
= Py_None
;
3887 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
= NULL
;
3889 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3898 if (SWIG_arg_fail(1)) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3915 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
= NULL
;
3917 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3919 PyObject
* obj0
= 0 ;
3921 (char *) "self", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3926 if (SWIG_arg_fail(1)) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3943 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
= NULL
;
3945 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3946 wxVisualAttributes result
;
3947 PyObject
* obj0
= 0 ;
3949 (char *) "variant", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3955 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3956 if (SWIG_arg_fail(1)) SWIG_fail
;
3960 if (!wxPyCheckForApp()) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3968 wxVisualAttributes
* resultptr
;
3969 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3978 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3981 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3983 return Py_BuildValue((char *)"");
3985 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3986 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3991 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3992 PyObject
*pyobj
= NULL
;
3996 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3998 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
4005 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
= NULL
;
4007 wxWindow
*arg1
= (wxWindow
*) 0 ;
4008 int arg2
= (int) -1 ;
4009 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4010 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4011 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4012 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4013 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4014 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4015 long arg6
= (long) 0 ;
4016 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4017 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4018 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
4019 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4023 bool temp5
= false ;
4024 bool temp8
= false ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4027 PyObject
* obj2
= 0 ;
4028 PyObject
* obj3
= 0 ;
4029 PyObject
* obj4
= 0 ;
4030 PyObject
* obj5
= 0 ;
4031 PyObject
* obj6
= 0 ;
4032 PyObject
* obj7
= 0 ;
4034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4039 if (SWIG_arg_fail(1)) SWIG_fail
;
4042 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4043 if (SWIG_arg_fail(2)) SWIG_fail
;
4049 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4055 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4060 if (! PySequence_Check(obj4
)) {
4061 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4064 arg5
= new wxArrayString
;
4066 int i
, len
=PySequence_Length(obj4
);
4067 for (i
=0; i
<len
; i
++) {
4068 PyObject
* item
= PySequence_GetItem(obj4
, i
);
4069 wxString
* s
= wxString_in_helper(item
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4079 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4080 if (SWIG_arg_fail(6)) SWIG_fail
;
4085 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4086 if (SWIG_arg_fail(7)) SWIG_fail
;
4088 SWIG_null_ref("wxValidator");
4090 if (SWIG_arg_fail(7)) SWIG_fail
;
4095 arg8
= wxString_in_helper(obj7
);
4096 if (arg8
== NULL
) SWIG_fail
;
4101 if (!wxPyCheckForApp()) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
4110 if (temp5
) delete arg5
;
4119 if (temp5
) delete arg5
;
4129 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
= NULL
;
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
4138 if (!wxPyCheckForApp()) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (wxChoice
*)new wxChoice();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
4152 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
= NULL
;
4154 wxChoice
*arg1
= (wxChoice
*) 0 ;
4155 wxWindow
*arg2
= (wxWindow
*) 0 ;
4156 int arg3
= (int) -1 ;
4157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4161 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4162 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4163 long arg7
= (long) 0 ;
4164 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4165 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4166 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
4167 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4171 bool temp6
= false ;
4172 bool temp9
= false ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4175 PyObject
* obj2
= 0 ;
4176 PyObject
* obj3
= 0 ;
4177 PyObject
* obj4
= 0 ;
4178 PyObject
* obj5
= 0 ;
4179 PyObject
* obj6
= 0 ;
4180 PyObject
* obj7
= 0 ;
4181 PyObject
* obj8
= 0 ;
4183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4188 if (SWIG_arg_fail(1)) SWIG_fail
;
4189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4190 if (SWIG_arg_fail(2)) SWIG_fail
;
4193 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4194 if (SWIG_arg_fail(3)) SWIG_fail
;
4200 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4206 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4211 if (! PySequence_Check(obj5
)) {
4212 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4215 arg6
= new wxArrayString
;
4217 int i
, len
=PySequence_Length(obj5
);
4218 for (i
=0; i
<len
; i
++) {
4219 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4220 wxString
* s
= wxString_in_helper(item
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4230 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4231 if (SWIG_arg_fail(7)) SWIG_fail
;
4236 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4237 if (SWIG_arg_fail(8)) SWIG_fail
;
4239 SWIG_null_ref("wxValidator");
4241 if (SWIG_arg_fail(8)) SWIG_fail
;
4246 arg9
= wxString_in_helper(obj8
);
4247 if (arg9
== NULL
) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4262 if (temp6
) delete arg6
;
4271 if (temp6
) delete arg6
;
4281 static PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
= NULL
;
4283 wxChoice
*arg1
= (wxChoice
*) 0 ;
4285 PyObject
* obj0
= 0 ;
4287 (char *) "self", NULL
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4292 if (SWIG_arg_fail(1)) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_From_int(static_cast<int >(result
));
4309 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
= NULL
;
4311 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4312 wxVisualAttributes result
;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "variant", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4321 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4322 if (SWIG_arg_fail(1)) SWIG_fail
;
4326 if (!wxPyCheckForApp()) SWIG_fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= wxChoice::GetClassDefaultAttributes(arg1
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4334 wxVisualAttributes
* resultptr
;
4335 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4344 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4347 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4349 return Py_BuildValue((char *)"");
4351 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4352 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4357 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4358 PyObject
*pyobj
= NULL
;
4362 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4364 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4371 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
= NULL
;
4373 wxWindow
*arg1
= (wxWindow
*) 0 ;
4374 int arg2
= (int) -1 ;
4375 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4376 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4381 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4382 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4383 long arg7
= (long) 0 ;
4384 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4385 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4386 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4387 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4389 bool temp3
= false ;
4392 bool temp6
= false ;
4393 bool temp9
= false ;
4394 PyObject
* obj0
= 0 ;
4395 PyObject
* obj1
= 0 ;
4396 PyObject
* obj2
= 0 ;
4397 PyObject
* obj3
= 0 ;
4398 PyObject
* obj4
= 0 ;
4399 PyObject
* obj5
= 0 ;
4400 PyObject
* obj6
= 0 ;
4401 PyObject
* obj7
= 0 ;
4402 PyObject
* obj8
= 0 ;
4404 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4409 if (SWIG_arg_fail(1)) SWIG_fail
;
4412 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4413 if (SWIG_arg_fail(2)) SWIG_fail
;
4418 arg3
= wxString_in_helper(obj2
);
4419 if (arg3
== NULL
) SWIG_fail
;
4426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4437 if (! PySequence_Check(obj5
)) {
4438 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4441 arg6
= new wxArrayString
;
4443 int i
, len
=PySequence_Length(obj5
);
4444 for (i
=0; i
<len
; i
++) {
4445 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4446 wxString
* s
= wxString_in_helper(item
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4456 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4457 if (SWIG_arg_fail(7)) SWIG_fail
;
4462 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4463 if (SWIG_arg_fail(8)) SWIG_fail
;
4465 SWIG_null_ref("wxValidator");
4467 if (SWIG_arg_fail(8)) SWIG_fail
;
4472 arg9
= wxString_in_helper(obj8
);
4473 if (arg9
== NULL
) SWIG_fail
;
4478 if (!wxPyCheckForApp()) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4491 if (temp6
) delete arg6
;
4504 if (temp6
) delete arg6
;
4514 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
= NULL
;
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4523 if (!wxPyCheckForApp()) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (wxComboBox
*)new wxComboBox();
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4537 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
= NULL
;
4539 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4540 wxWindow
*arg2
= (wxWindow
*) 0 ;
4541 int arg3
= (int) -1 ;
4542 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4543 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4544 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4545 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4546 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4547 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4548 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4549 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4550 long arg8
= (long) 0 ;
4551 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4552 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4553 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4554 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4556 bool temp4
= false ;
4559 bool temp7
= false ;
4560 bool temp10
= false ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4563 PyObject
* obj2
= 0 ;
4564 PyObject
* obj3
= 0 ;
4565 PyObject
* obj4
= 0 ;
4566 PyObject
* obj5
= 0 ;
4567 PyObject
* obj6
= 0 ;
4568 PyObject
* obj7
= 0 ;
4569 PyObject
* obj8
= 0 ;
4570 PyObject
* obj9
= 0 ;
4572 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail
;
4578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4579 if (SWIG_arg_fail(2)) SWIG_fail
;
4582 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4583 if (SWIG_arg_fail(3)) SWIG_fail
;
4588 arg4
= wxString_in_helper(obj3
);
4589 if (arg4
== NULL
) SWIG_fail
;
4596 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4602 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4607 if (! PySequence_Check(obj6
)) {
4608 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4611 arg7
= new wxArrayString
;
4613 int i
, len
=PySequence_Length(obj6
);
4614 for (i
=0; i
<len
; i
++) {
4615 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4616 wxString
* s
= wxString_in_helper(item
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4626 arg8
= static_cast<long >(SWIG_As_long(obj7
));
4627 if (SWIG_arg_fail(8)) SWIG_fail
;
4632 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4633 if (SWIG_arg_fail(9)) SWIG_fail
;
4635 SWIG_null_ref("wxValidator");
4637 if (SWIG_arg_fail(9)) SWIG_fail
;
4642 arg10
= wxString_in_helper(obj9
);
4643 if (arg10
== NULL
) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4662 if (temp7
) delete arg7
;
4675 if (temp7
) delete arg7
;
4685 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
= NULL
;
4687 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4689 PyObject
* obj0
= 0 ;
4691 (char *) "self", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4696 if (SWIG_arg_fail(1)) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 result
= ((wxComboBox
const *)arg1
)->GetValue();
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4717 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
= NULL
;
4719 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4720 wxString
*arg2
= 0 ;
4721 bool temp2
= false ;
4722 PyObject
* obj0
= 0 ;
4723 PyObject
* obj1
= 0 ;
4725 (char *) "self",(char *) "value", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail
;
4732 arg2
= wxString_in_helper(obj1
);
4733 if (arg2
== NULL
) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 (arg1
)->SetValue((wxString
const &)*arg2
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 Py_INCREF(Py_None
); resultobj
= Py_None
;
4758 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
= NULL
;
4760 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4761 PyObject
* obj0
= 0 ;
4763 (char *) "self", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4768 if (SWIG_arg_fail(1)) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 Py_INCREF(Py_None
); resultobj
= Py_None
;
4783 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
= NULL
;
4785 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4788 (char *) "self", NULL
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4793 if (SWIG_arg_fail(1)) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 Py_INCREF(Py_None
); resultobj
= Py_None
;
4808 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
= NULL
;
4810 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4811 PyObject
* obj0
= 0 ;
4813 (char *) "self", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4818 if (SWIG_arg_fail(1)) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 Py_INCREF(Py_None
); resultobj
= Py_None
;
4833 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
= NULL
;
4835 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4840 (char *) "self",(char *) "pos", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4845 if (SWIG_arg_fail(1)) SWIG_fail
;
4847 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4848 if (SWIG_arg_fail(2)) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 (arg1
)->SetInsertionPoint(arg2
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 Py_INCREF(Py_None
); resultobj
= Py_None
;
4864 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
= NULL
;
4866 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4870 (char *) "self", NULL
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4875 if (SWIG_arg_fail(1)) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= SWIG_From_long(static_cast<long >(result
));
4892 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
= NULL
;
4894 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4896 PyObject
* obj0
= 0 ;
4898 (char *) "self", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4903 if (SWIG_arg_fail(1)) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_From_long(static_cast<long >(result
));
4920 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
= NULL
;
4922 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4925 wxString
*arg4
= 0 ;
4926 bool temp4
= false ;
4927 PyObject
* obj0
= 0 ;
4928 PyObject
* obj1
= 0 ;
4929 PyObject
* obj2
= 0 ;
4930 PyObject
* obj3
= 0 ;
4932 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4937 if (SWIG_arg_fail(1)) SWIG_fail
;
4939 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4940 if (SWIG_arg_fail(2)) SWIG_fail
;
4943 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4944 if (SWIG_arg_fail(3)) SWIG_fail
;
4947 arg4
= wxString_in_helper(obj3
);
4948 if (arg4
== NULL
) SWIG_fail
;
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
= NULL
;
4975 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4977 PyObject
* obj0
= 0 ;
4978 PyObject
* obj1
= 0 ;
4980 (char *) "self",(char *) "n", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail
;
4987 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4988 if (SWIG_arg_fail(2)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 (arg1
)->SetSelection(arg2
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 Py_INCREF(Py_None
); resultobj
= Py_None
;
5004 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
= NULL
;
5006 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5011 PyObject
* obj2
= 0 ;
5013 (char *) "self",(char *) "from",(char *) "to", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail
;
5020 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5021 if (SWIG_arg_fail(2)) SWIG_fail
;
5024 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5025 if (SWIG_arg_fail(3)) SWIG_fail
;
5028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 (arg1
)->SetSelection(arg2
,arg3
);
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5034 Py_INCREF(Py_None
); resultobj
= Py_None
;
5041 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
= NULL
;
5043 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5044 long *arg2
= (long *) 0 ;
5045 long *arg3
= (long *) 0 ;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "self", NULL
5055 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5056 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
5058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5059 if (SWIG_arg_fail(1)) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 (arg1
)->GetSelection(arg2
,arg3
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 Py_INCREF(Py_None
); resultobj
= Py_None
;
5068 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5069 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
5070 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5071 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
5078 static PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
= NULL
;
5080 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5084 (char *) "self", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
5088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5089 if (SWIG_arg_fail(1)) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_From_int(static_cast<int >(result
));
5106 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
= NULL
;
5108 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5109 wxString
*arg2
= 0 ;
5111 bool temp2
= false ;
5112 PyObject
* obj0
= 0 ;
5113 PyObject
* obj1
= 0 ;
5115 (char *) "self",(char *) "string", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5120 if (SWIG_arg_fail(1)) SWIG_fail
;
5122 arg2
= wxString_in_helper(obj1
);
5123 if (arg2
== NULL
) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5150 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
= NULL
;
5152 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5154 wxString
*arg3
= 0 ;
5155 bool temp3
= false ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5158 PyObject
* obj2
= 0 ;
5160 (char *) "self",(char *) "n",(char *) "string", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5165 if (SWIG_arg_fail(1)) SWIG_fail
;
5167 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5168 if (SWIG_arg_fail(2)) SWIG_fail
;
5171 arg3
= wxString_in_helper(obj2
);
5172 if (arg3
== NULL
) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5197 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
= NULL
;
5199 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5204 (char *) "self",(char *) "editable", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail
;
5211 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5212 if (SWIG_arg_fail(2)) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 (arg1
)->SetEditable(arg2
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 Py_INCREF(Py_None
); resultobj
= Py_None
;
5228 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
= NULL
;
5230 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5233 (char *) "self", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5238 if (SWIG_arg_fail(1)) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 (arg1
)->SetInsertionPointEnd();
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 Py_INCREF(Py_None
); resultobj
= Py_None
;
5253 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
= NULL
;
5255 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5259 PyObject
* obj1
= 0 ;
5260 PyObject
* obj2
= 0 ;
5262 (char *) "self",(char *) "from",(char *) "to", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5267 if (SWIG_arg_fail(1)) SWIG_fail
;
5269 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5270 if (SWIG_arg_fail(2)) SWIG_fail
;
5273 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5274 if (SWIG_arg_fail(3)) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 (arg1
)->Remove(arg2
,arg3
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 Py_INCREF(Py_None
); resultobj
= Py_None
;
5290 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
= NULL
;
5292 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5296 (char *) "self", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5318 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
= NULL
;
5320 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5323 (char *) "self", NULL
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5328 if (SWIG_arg_fail(1)) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 Py_INCREF(Py_None
); resultobj
= Py_None
;
5343 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
= NULL
;
5345 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5348 (char *) "self", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5353 if (SWIG_arg_fail(1)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5361 Py_INCREF(Py_None
); resultobj
= Py_None
;
5368 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
*resultobj
= NULL
;
5370 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5371 PyObject
* obj0
= 0 ;
5373 (char *) "self", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5378 if (SWIG_arg_fail(1)) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->SelectAll();
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 Py_INCREF(Py_None
); resultobj
= Py_None
;
5393 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
= NULL
;
5395 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5404 if (SWIG_arg_fail(1)) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5421 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
= NULL
;
5423 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5427 (char *) "self", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5432 if (SWIG_arg_fail(1)) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5449 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
= NULL
;
5451 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5455 (char *) "self", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5460 if (SWIG_arg_fail(1)) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5477 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
= NULL
;
5479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5483 (char *) "self", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5488 if (SWIG_arg_fail(1)) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5505 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
= NULL
;
5507 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5511 (char *) "self", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5516 if (SWIG_arg_fail(1)) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5533 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
= NULL
;
5535 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5536 wxVisualAttributes result
;
5537 PyObject
* obj0
= 0 ;
5539 (char *) "variant", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5545 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5546 if (SWIG_arg_fail(1)) SWIG_fail
;
5550 if (!wxPyCheckForApp()) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5558 wxVisualAttributes
* resultptr
;
5559 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5568 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5571 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5573 return Py_BuildValue((char *)"");
5575 static int _wrap_GaugeNameStr_set(PyObject
*) {
5576 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5581 static PyObject
*_wrap_GaugeNameStr_get(void) {
5582 PyObject
*pyobj
= NULL
;
5586 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5588 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5595 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
= NULL
;
5597 wxWindow
*arg1
= (wxWindow
*) 0 ;
5598 int arg2
= (int) -1 ;
5599 int arg3
= (int) 100 ;
5600 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5601 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5602 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5603 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5604 long arg6
= (long) wxGA_HORIZONTAL
;
5605 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5606 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5607 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5608 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5612 bool temp8
= false ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5615 PyObject
* obj2
= 0 ;
5616 PyObject
* obj3
= 0 ;
5617 PyObject
* obj4
= 0 ;
5618 PyObject
* obj5
= 0 ;
5619 PyObject
* obj6
= 0 ;
5620 PyObject
* obj7
= 0 ;
5622 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5627 if (SWIG_arg_fail(1)) SWIG_fail
;
5630 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5631 if (SWIG_arg_fail(2)) SWIG_fail
;
5636 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5637 if (SWIG_arg_fail(3)) SWIG_fail
;
5643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5654 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5655 if (SWIG_arg_fail(6)) SWIG_fail
;
5660 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5661 if (SWIG_arg_fail(7)) SWIG_fail
;
5663 SWIG_null_ref("wxValidator");
5665 if (SWIG_arg_fail(7)) SWIG_fail
;
5670 arg8
= wxString_in_helper(obj7
);
5671 if (arg8
== NULL
) SWIG_fail
;
5676 if (!wxPyCheckForApp()) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5698 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
= NULL
;
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5707 if (!wxPyCheckForApp()) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (wxGauge
*)new wxGauge();
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5721 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
= NULL
;
5723 wxGauge
*arg1
= (wxGauge
*) 0 ;
5724 wxWindow
*arg2
= (wxWindow
*) 0 ;
5725 int arg3
= (int) -1 ;
5726 int arg4
= (int) 100 ;
5727 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5728 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5729 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5730 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5731 long arg7
= (long) wxGA_HORIZONTAL
;
5732 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5733 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5734 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5735 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5739 bool temp9
= false ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5743 PyObject
* obj3
= 0 ;
5744 PyObject
* obj4
= 0 ;
5745 PyObject
* obj5
= 0 ;
5746 PyObject
* obj6
= 0 ;
5747 PyObject
* obj7
= 0 ;
5748 PyObject
* obj8
= 0 ;
5750 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5755 if (SWIG_arg_fail(1)) SWIG_fail
;
5756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5757 if (SWIG_arg_fail(2)) SWIG_fail
;
5760 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5761 if (SWIG_arg_fail(3)) SWIG_fail
;
5766 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5767 if (SWIG_arg_fail(4)) SWIG_fail
;
5773 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5779 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5784 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5785 if (SWIG_arg_fail(7)) SWIG_fail
;
5790 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5791 if (SWIG_arg_fail(8)) SWIG_fail
;
5793 SWIG_null_ref("wxValidator");
5795 if (SWIG_arg_fail(8)) SWIG_fail
;
5800 arg9
= wxString_in_helper(obj8
);
5801 if (arg9
== NULL
) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5829 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
= NULL
;
5831 wxGauge
*arg1
= (wxGauge
*) 0 ;
5833 PyObject
* obj0
= 0 ;
5834 PyObject
* obj1
= 0 ;
5836 (char *) "self",(char *) "range", NULL
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5841 if (SWIG_arg_fail(1)) SWIG_fail
;
5843 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5844 if (SWIG_arg_fail(2)) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 (arg1
)->SetRange(arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 Py_INCREF(Py_None
); resultobj
= Py_None
;
5860 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
= NULL
;
5862 wxGauge
*arg1
= (wxGauge
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5866 (char *) "self", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5871 if (SWIG_arg_fail(1)) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5880 resultobj
= SWIG_From_int(static_cast<int >(result
));
5888 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
= NULL
;
5890 wxGauge
*arg1
= (wxGauge
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5895 (char *) "self",(char *) "pos", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5900 if (SWIG_arg_fail(1)) SWIG_fail
;
5902 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5903 if (SWIG_arg_fail(2)) SWIG_fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 (arg1
)->SetValue(arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 Py_INCREF(Py_None
); resultobj
= Py_None
;
5919 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
= NULL
;
5921 wxGauge
*arg1
= (wxGauge
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5925 (char *) "self", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_From_int(static_cast<int >(result
));
5947 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
= NULL
;
5949 wxGauge
*arg1
= (wxGauge
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5953 (char *) "self", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5958 if (SWIG_arg_fail(1)) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5975 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
= NULL
;
5977 wxGauge
*arg1
= (wxGauge
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5980 PyObject
* obj1
= 0 ;
5982 (char *) "self",(char *) "w", NULL
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5987 if (SWIG_arg_fail(1)) SWIG_fail
;
5989 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5990 if (SWIG_arg_fail(2)) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 (arg1
)->SetShadowWidth(arg2
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 Py_INCREF(Py_None
); resultobj
= Py_None
;
6006 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
= NULL
;
6008 wxGauge
*arg1
= (wxGauge
*) 0 ;
6010 PyObject
* obj0
= 0 ;
6012 (char *) "self", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
6016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
6017 if (SWIG_arg_fail(1)) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_From_int(static_cast<int >(result
));
6034 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
= NULL
;
6036 wxGauge
*arg1
= (wxGauge
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6041 (char *) "self",(char *) "w", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
6045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
6046 if (SWIG_arg_fail(1)) SWIG_fail
;
6048 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6049 if (SWIG_arg_fail(2)) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 (arg1
)->SetBezelFace(arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 Py_INCREF(Py_None
); resultobj
= Py_None
;
6065 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
= NULL
;
6067 wxGauge
*arg1
= (wxGauge
*) 0 ;
6069 PyObject
* obj0
= 0 ;
6071 (char *) "self", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
6075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
6076 if (SWIG_arg_fail(1)) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= SWIG_From_int(static_cast<int >(result
));
6093 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
= NULL
;
6095 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6096 wxVisualAttributes result
;
6097 PyObject
* obj0
= 0 ;
6099 (char *) "variant", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6105 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6106 if (SWIG_arg_fail(1)) SWIG_fail
;
6110 if (!wxPyCheckForApp()) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= wxGauge::GetClassDefaultAttributes(arg1
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6118 wxVisualAttributes
* resultptr
;
6119 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6128 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
6130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6131 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
6133 return Py_BuildValue((char *)"");
6135 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
6136 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
6141 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
6142 PyObject
*pyobj
= NULL
;
6146 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6148 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6155 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
6156 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
6161 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
6162 PyObject
*pyobj
= NULL
;
6166 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6168 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6175 static int _wrap_StaticTextNameStr_set(PyObject
*) {
6176 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
6181 static PyObject
*_wrap_StaticTextNameStr_get(void) {
6182 PyObject
*pyobj
= NULL
;
6186 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6188 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6195 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= NULL
;
6197 wxWindow
*arg1
= (wxWindow
*) 0 ;
6198 int arg2
= (int) -1 ;
6199 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6200 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6201 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6202 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6203 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6204 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6205 long arg6
= (long) 0 ;
6206 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6207 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6208 wxStaticBox
*result
;
6209 bool temp3
= false ;
6212 bool temp7
= false ;
6213 PyObject
* obj0
= 0 ;
6214 PyObject
* obj1
= 0 ;
6215 PyObject
* obj2
= 0 ;
6216 PyObject
* obj3
= 0 ;
6217 PyObject
* obj4
= 0 ;
6218 PyObject
* obj5
= 0 ;
6219 PyObject
* obj6
= 0 ;
6221 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6226 if (SWIG_arg_fail(1)) SWIG_fail
;
6229 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6230 if (SWIG_arg_fail(2)) SWIG_fail
;
6235 arg3
= wxString_in_helper(obj2
);
6236 if (arg3
== NULL
) SWIG_fail
;
6243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6254 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6255 if (SWIG_arg_fail(6)) SWIG_fail
;
6260 arg7
= wxString_in_helper(obj6
);
6261 if (arg7
== NULL
) SWIG_fail
;
6266 if (!wxPyCheckForApp()) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6296 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
= NULL
;
6298 wxStaticBox
*result
;
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6305 if (!wxPyCheckForApp()) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (wxStaticBox
*)new wxStaticBox();
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6319 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
= NULL
;
6321 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6322 wxWindow
*arg2
= (wxWindow
*) 0 ;
6323 int arg3
= (int) -1 ;
6324 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6325 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6326 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6327 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6328 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6329 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6330 long arg7
= (long) 0 ;
6331 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6332 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6334 bool temp4
= false ;
6337 bool temp8
= false ;
6338 PyObject
* obj0
= 0 ;
6339 PyObject
* obj1
= 0 ;
6340 PyObject
* obj2
= 0 ;
6341 PyObject
* obj3
= 0 ;
6342 PyObject
* obj4
= 0 ;
6343 PyObject
* obj5
= 0 ;
6344 PyObject
* obj6
= 0 ;
6345 PyObject
* obj7
= 0 ;
6347 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6352 if (SWIG_arg_fail(1)) SWIG_fail
;
6353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6354 if (SWIG_arg_fail(2)) SWIG_fail
;
6357 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6358 if (SWIG_arg_fail(3)) SWIG_fail
;
6363 arg4
= wxString_in_helper(obj3
);
6364 if (arg4
== NULL
) SWIG_fail
;
6371 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6377 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6382 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6383 if (SWIG_arg_fail(7)) SWIG_fail
;
6388 arg8
= wxString_in_helper(obj7
);
6389 if (arg8
== NULL
) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6425 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
= NULL
;
6427 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6428 wxVisualAttributes result
;
6429 PyObject
* obj0
= 0 ;
6431 (char *) "variant", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6437 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6438 if (SWIG_arg_fail(1)) SWIG_fail
;
6442 if (!wxPyCheckForApp()) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6450 wxVisualAttributes
* resultptr
;
6451 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6460 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6463 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6465 return Py_BuildValue((char *)"");
6467 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
= NULL
;
6469 wxWindow
*arg1
= (wxWindow
*) 0 ;
6470 int arg2
= (int) -1 ;
6471 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6472 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6473 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6474 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6475 long arg5
= (long) wxLI_HORIZONTAL
;
6476 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6477 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6478 wxStaticLine
*result
;
6481 bool temp6
= false ;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6484 PyObject
* obj2
= 0 ;
6485 PyObject
* obj3
= 0 ;
6486 PyObject
* obj4
= 0 ;
6487 PyObject
* obj5
= 0 ;
6489 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6494 if (SWIG_arg_fail(1)) SWIG_fail
;
6497 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6498 if (SWIG_arg_fail(2)) SWIG_fail
;
6504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6510 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6515 arg5
= static_cast<long >(SWIG_As_long(obj4
));
6516 if (SWIG_arg_fail(5)) SWIG_fail
;
6521 arg6
= wxString_in_helper(obj5
);
6522 if (arg6
== NULL
) SWIG_fail
;
6527 if (!wxPyCheckForApp()) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6549 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
= NULL
;
6551 wxStaticLine
*result
;
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6558 if (!wxPyCheckForApp()) SWIG_fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (wxStaticLine
*)new wxStaticLine();
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6572 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
= NULL
;
6574 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6575 wxWindow
*arg2
= (wxWindow
*) 0 ;
6576 int arg3
= (int) -1 ;
6577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6581 long arg6
= (long) wxLI_HORIZONTAL
;
6582 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6583 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6587 bool temp7
= false ;
6588 PyObject
* obj0
= 0 ;
6589 PyObject
* obj1
= 0 ;
6590 PyObject
* obj2
= 0 ;
6591 PyObject
* obj3
= 0 ;
6592 PyObject
* obj4
= 0 ;
6593 PyObject
* obj5
= 0 ;
6594 PyObject
* obj6
= 0 ;
6596 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6601 if (SWIG_arg_fail(1)) SWIG_fail
;
6602 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6603 if (SWIG_arg_fail(2)) SWIG_fail
;
6606 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6607 if (SWIG_arg_fail(3)) SWIG_fail
;
6613 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6619 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6624 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6625 if (SWIG_arg_fail(6)) SWIG_fail
;
6630 arg7
= wxString_in_helper(obj6
);
6631 if (arg7
== NULL
) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6659 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
= NULL
;
6661 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6663 PyObject
* obj0
= 0 ;
6665 (char *) "self", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6670 if (SWIG_arg_fail(1)) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6687 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
= NULL
;
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 result
= (int)wxStaticLine::GetDefaultSize();
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= SWIG_From_int(static_cast<int >(result
));
6711 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
= NULL
;
6713 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6714 wxVisualAttributes result
;
6715 PyObject
* obj0
= 0 ;
6717 (char *) "variant", NULL
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6723 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6724 if (SWIG_arg_fail(1)) SWIG_fail
;
6728 if (!wxPyCheckForApp()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6736 wxVisualAttributes
* resultptr
;
6737 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6746 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6749 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6751 return Py_BuildValue((char *)"");
6753 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
= NULL
;
6755 wxWindow
*arg1
= (wxWindow
*) 0 ;
6756 int arg2
= (int) -1 ;
6757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6763 long arg6
= (long) 0 ;
6764 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6765 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6766 wxStaticText
*result
;
6767 bool temp3
= false ;
6770 bool temp7
= false ;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6773 PyObject
* obj2
= 0 ;
6774 PyObject
* obj3
= 0 ;
6775 PyObject
* obj4
= 0 ;
6776 PyObject
* obj5
= 0 ;
6777 PyObject
* obj6
= 0 ;
6779 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6784 if (SWIG_arg_fail(1)) SWIG_fail
;
6787 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6788 if (SWIG_arg_fail(2)) SWIG_fail
;
6793 arg3
= wxString_in_helper(obj2
);
6794 if (arg3
== NULL
) SWIG_fail
;
6801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6812 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6813 if (SWIG_arg_fail(6)) SWIG_fail
;
6818 arg7
= wxString_in_helper(obj6
);
6819 if (arg7
== NULL
) SWIG_fail
;
6824 if (!wxPyCheckForApp()) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6854 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= NULL
;
6856 wxStaticText
*result
;
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6863 if (!wxPyCheckForApp()) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (wxStaticText
*)new wxStaticText();
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6877 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
= NULL
;
6879 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6880 wxWindow
*arg2
= (wxWindow
*) 0 ;
6881 int arg3
= (int) -1 ;
6882 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6883 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6884 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6885 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6886 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6887 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6888 long arg7
= (long) 0 ;
6889 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6890 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6892 bool temp4
= false ;
6895 bool temp8
= false ;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6898 PyObject
* obj2
= 0 ;
6899 PyObject
* obj3
= 0 ;
6900 PyObject
* obj4
= 0 ;
6901 PyObject
* obj5
= 0 ;
6902 PyObject
* obj6
= 0 ;
6903 PyObject
* obj7
= 0 ;
6905 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6910 if (SWIG_arg_fail(1)) SWIG_fail
;
6911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6912 if (SWIG_arg_fail(2)) SWIG_fail
;
6915 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6916 if (SWIG_arg_fail(3)) SWIG_fail
;
6921 arg4
= wxString_in_helper(obj3
);
6922 if (arg4
== NULL
) SWIG_fail
;
6929 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6935 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6940 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6941 if (SWIG_arg_fail(7)) SWIG_fail
;
6946 arg8
= wxString_in_helper(obj7
);
6947 if (arg8
== NULL
) SWIG_fail
;
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6983 static PyObject
*_wrap_StaticText_Wrap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
= NULL
;
6985 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6990 (char *) "self",(char *) "width", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) goto fail
;
6994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6995 if (SWIG_arg_fail(1)) SWIG_fail
;
6997 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6998 if (SWIG_arg_fail(2)) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 Py_INCREF(Py_None
); resultobj
= Py_None
;
7014 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
= NULL
;
7016 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7017 wxVisualAttributes result
;
7018 PyObject
* obj0
= 0 ;
7020 (char *) "variant", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7026 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7027 if (SWIG_arg_fail(1)) SWIG_fail
;
7031 if (!wxPyCheckForApp()) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7039 wxVisualAttributes
* resultptr
;
7040 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7049 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
7051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7052 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
7054 return Py_BuildValue((char *)"");
7056 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
= NULL
;
7058 wxWindow
*arg1
= (wxWindow
*) 0 ;
7059 int arg2
= (int) -1 ;
7060 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
7061 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
7062 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7063 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7064 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7065 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7066 long arg6
= (long) 0 ;
7067 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
7068 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7069 wxStaticBitmap
*result
;
7072 bool temp7
= false ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 PyObject
* obj2
= 0 ;
7076 PyObject
* obj3
= 0 ;
7077 PyObject
* obj4
= 0 ;
7078 PyObject
* obj5
= 0 ;
7079 PyObject
* obj6
= 0 ;
7081 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7086 if (SWIG_arg_fail(1)) SWIG_fail
;
7089 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7090 if (SWIG_arg_fail(2)) SWIG_fail
;
7095 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7096 if (SWIG_arg_fail(3)) SWIG_fail
;
7098 SWIG_null_ref("wxBitmap");
7100 if (SWIG_arg_fail(3)) SWIG_fail
;
7106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7117 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7118 if (SWIG_arg_fail(6)) SWIG_fail
;
7123 arg7
= wxString_in_helper(obj6
);
7124 if (arg7
== NULL
) SWIG_fail
;
7129 if (!wxPyCheckForApp()) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7151 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
= NULL
;
7153 wxStaticBitmap
*result
;
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
7160 if (!wxPyCheckForApp()) SWIG_fail
;
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 result
= (wxStaticBitmap
*)new wxStaticBitmap();
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7174 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
= NULL
;
7176 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7177 wxWindow
*arg2
= (wxWindow
*) 0 ;
7178 int arg3
= (int) -1 ;
7179 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
7180 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
7181 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7182 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7183 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7184 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7185 long arg7
= (long) 0 ;
7186 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
7187 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7191 bool temp8
= false ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 PyObject
* obj2
= 0 ;
7195 PyObject
* obj3
= 0 ;
7196 PyObject
* obj4
= 0 ;
7197 PyObject
* obj5
= 0 ;
7198 PyObject
* obj6
= 0 ;
7199 PyObject
* obj7
= 0 ;
7201 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7206 if (SWIG_arg_fail(1)) SWIG_fail
;
7207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7208 if (SWIG_arg_fail(2)) SWIG_fail
;
7211 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7212 if (SWIG_arg_fail(3)) SWIG_fail
;
7217 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7218 if (SWIG_arg_fail(4)) SWIG_fail
;
7220 SWIG_null_ref("wxBitmap");
7222 if (SWIG_arg_fail(4)) SWIG_fail
;
7228 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7234 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7239 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7240 if (SWIG_arg_fail(7)) SWIG_fail
;
7245 arg8
= wxString_in_helper(obj7
);
7246 if (arg8
== NULL
) SWIG_fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7274 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
= NULL
;
7276 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7278 PyObject
* obj0
= 0 ;
7280 (char *) "self", NULL
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7285 if (SWIG_arg_fail(1)) SWIG_fail
;
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 result
= (arg1
)->GetBitmap();
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7294 wxBitmap
* resultptr
;
7295 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7304 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
= NULL
;
7306 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7307 wxBitmap
*arg2
= 0 ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7311 (char *) "self",(char *) "bitmap", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7316 if (SWIG_arg_fail(1)) SWIG_fail
;
7318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7319 if (SWIG_arg_fail(2)) SWIG_fail
;
7321 SWIG_null_ref("wxBitmap");
7323 if (SWIG_arg_fail(2)) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 Py_INCREF(Py_None
); resultobj
= Py_None
;
7339 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
= NULL
;
7341 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7343 PyObject
* obj0
= 0 ;
7344 PyObject
* obj1
= 0 ;
7346 (char *) "self",(char *) "icon", NULL
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7351 if (SWIG_arg_fail(1)) SWIG_fail
;
7353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7354 if (SWIG_arg_fail(2)) SWIG_fail
;
7356 SWIG_null_ref("wxIcon");
7358 if (SWIG_arg_fail(2)) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 Py_INCREF(Py_None
); resultobj
= Py_None
;
7374 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
= NULL
;
7376 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7377 wxVisualAttributes result
;
7378 PyObject
* obj0
= 0 ;
7380 (char *) "variant", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7386 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7387 if (SWIG_arg_fail(1)) SWIG_fail
;
7391 if (!wxPyCheckForApp()) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7399 wxVisualAttributes
* resultptr
;
7400 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7409 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7412 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7414 return Py_BuildValue((char *)"");
7416 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7417 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7422 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7423 PyObject
*pyobj
= NULL
;
7427 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7429 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7436 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
= NULL
;
7438 wxWindow
*arg1
= (wxWindow
*) 0 ;
7439 int arg2
= (int) -1 ;
7440 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7441 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7442 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7443 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7444 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7445 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7446 long arg6
= (long) 0 ;
7447 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7448 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7449 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7450 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7454 bool temp5
= false ;
7455 bool temp8
= false ;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7458 PyObject
* obj2
= 0 ;
7459 PyObject
* obj3
= 0 ;
7460 PyObject
* obj4
= 0 ;
7461 PyObject
* obj5
= 0 ;
7462 PyObject
* obj6
= 0 ;
7463 PyObject
* obj7
= 0 ;
7465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7470 if (SWIG_arg_fail(1)) SWIG_fail
;
7473 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7474 if (SWIG_arg_fail(2)) SWIG_fail
;
7480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7491 if (! PySequence_Check(obj4
)) {
7492 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7495 arg5
= new wxArrayString
;
7497 int i
, len
=PySequence_Length(obj4
);
7498 for (i
=0; i
<len
; i
++) {
7499 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7500 wxString
* s
= wxString_in_helper(item
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7510 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7511 if (SWIG_arg_fail(6)) SWIG_fail
;
7516 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7517 if (SWIG_arg_fail(7)) SWIG_fail
;
7519 SWIG_null_ref("wxValidator");
7521 if (SWIG_arg_fail(7)) SWIG_fail
;
7526 arg8
= wxString_in_helper(obj7
);
7527 if (arg8
== NULL
) SWIG_fail
;
7532 if (!wxPyCheckForApp()) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7541 if (temp5
) delete arg5
;
7550 if (temp5
) delete arg5
;
7560 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
= NULL
;
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7569 if (!wxPyCheckForApp()) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (wxListBox
*)new wxListBox();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7583 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
= NULL
;
7585 wxListBox
*arg1
= (wxListBox
*) 0 ;
7586 wxWindow
*arg2
= (wxWindow
*) 0 ;
7587 int arg3
= (int) -1 ;
7588 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7589 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7590 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7591 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7592 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7593 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7594 long arg7
= (long) 0 ;
7595 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7596 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7597 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7598 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7602 bool temp6
= false ;
7603 bool temp9
= false ;
7604 PyObject
* obj0
= 0 ;
7605 PyObject
* obj1
= 0 ;
7606 PyObject
* obj2
= 0 ;
7607 PyObject
* obj3
= 0 ;
7608 PyObject
* obj4
= 0 ;
7609 PyObject
* obj5
= 0 ;
7610 PyObject
* obj6
= 0 ;
7611 PyObject
* obj7
= 0 ;
7612 PyObject
* obj8
= 0 ;
7614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7619 if (SWIG_arg_fail(1)) SWIG_fail
;
7620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7621 if (SWIG_arg_fail(2)) SWIG_fail
;
7624 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7625 if (SWIG_arg_fail(3)) SWIG_fail
;
7631 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7637 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7642 if (! PySequence_Check(obj5
)) {
7643 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7646 arg6
= new wxArrayString
;
7648 int i
, len
=PySequence_Length(obj5
);
7649 for (i
=0; i
<len
; i
++) {
7650 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7651 wxString
* s
= wxString_in_helper(item
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7661 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7662 if (SWIG_arg_fail(7)) SWIG_fail
;
7667 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7668 if (SWIG_arg_fail(8)) SWIG_fail
;
7670 SWIG_null_ref("wxValidator");
7672 if (SWIG_arg_fail(8)) SWIG_fail
;
7677 arg9
= wxString_in_helper(obj8
);
7678 if (arg9
== NULL
) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 if (temp6
) delete arg6
;
7702 if (temp6
) delete arg6
;
7712 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
= NULL
;
7714 wxListBox
*arg1
= (wxListBox
*) 0 ;
7715 wxString
*arg2
= 0 ;
7717 PyObject
*arg4
= (PyObject
*) NULL
;
7718 bool temp2
= false ;
7719 PyObject
* obj0
= 0 ;
7720 PyObject
* obj1
= 0 ;
7721 PyObject
* obj2
= 0 ;
7722 PyObject
* obj3
= 0 ;
7724 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7729 if (SWIG_arg_fail(1)) SWIG_fail
;
7731 arg2
= wxString_in_helper(obj1
);
7732 if (arg2
== NULL
) SWIG_fail
;
7736 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7737 if (SWIG_arg_fail(3)) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 Py_INCREF(Py_None
); resultobj
= Py_None
;
7764 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
= NULL
;
7766 wxListBox
*arg1
= (wxListBox
*) 0 ;
7767 wxArrayString
*arg2
= 0 ;
7769 bool temp2
= false ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7772 PyObject
* obj2
= 0 ;
7774 (char *) "self",(char *) "items",(char *) "pos", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7779 if (SWIG_arg_fail(1)) SWIG_fail
;
7781 if (! PySequence_Check(obj1
)) {
7782 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7785 arg2
= new wxArrayString
;
7787 int i
, len
=PySequence_Length(obj1
);
7788 for (i
=0; i
<len
; i
++) {
7789 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7790 wxString
* s
= wxString_in_helper(item
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7798 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7799 if (SWIG_arg_fail(3)) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7810 if (temp2
) delete arg2
;
7815 if (temp2
) delete arg2
;
7821 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
= NULL
;
7823 wxListBox
*arg1
= (wxListBox
*) 0 ;
7824 wxArrayString
*arg2
= 0 ;
7825 bool temp2
= false ;
7826 PyObject
* obj0
= 0 ;
7827 PyObject
* obj1
= 0 ;
7829 (char *) "self",(char *) "items", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7834 if (SWIG_arg_fail(1)) SWIG_fail
;
7836 if (! PySequence_Check(obj1
)) {
7837 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7840 arg2
= new wxArrayString
;
7842 int i
, len
=PySequence_Length(obj1
);
7843 for (i
=0; i
<len
; i
++) {
7844 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7845 wxString
* s
= wxString_in_helper(item
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 (arg1
)->Set((wxArrayString
const &)*arg2
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 Py_INCREF(Py_None
); resultobj
= Py_None
;
7861 if (temp2
) delete arg2
;
7866 if (temp2
) delete arg2
;
7872 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
= NULL
;
7874 wxListBox
*arg1
= (wxListBox
*) 0 ;
7877 PyObject
* obj0
= 0 ;
7878 PyObject
* obj1
= 0 ;
7880 (char *) "self",(char *) "n", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7885 if (SWIG_arg_fail(1)) SWIG_fail
;
7887 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7888 if (SWIG_arg_fail(2)) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7906 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
*resultobj
= NULL
;
7908 wxListBox
*arg1
= (wxListBox
*) 0 ;
7910 bool arg3
= (bool) true ;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7913 PyObject
* obj2
= 0 ;
7915 (char *) "self",(char *) "n",(char *) "select", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail
;
7922 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7923 if (SWIG_arg_fail(2)) SWIG_fail
;
7927 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
7928 if (SWIG_arg_fail(3)) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 (arg1
)->SetSelection(arg2
,arg3
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 Py_INCREF(Py_None
); resultobj
= Py_None
;
7945 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
= NULL
;
7947 wxListBox
*arg1
= (wxListBox
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7950 PyObject
* obj1
= 0 ;
7952 (char *) "self",(char *) "n", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7957 if (SWIG_arg_fail(1)) SWIG_fail
;
7959 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7960 if (SWIG_arg_fail(2)) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 (arg1
)->Select(arg2
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 Py_INCREF(Py_None
); resultobj
= Py_None
;
7976 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
= NULL
;
7978 wxListBox
*arg1
= (wxListBox
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7981 PyObject
* obj1
= 0 ;
7983 (char *) "self",(char *) "n", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7988 if (SWIG_arg_fail(1)) SWIG_fail
;
7990 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7991 if (SWIG_arg_fail(2)) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 (arg1
)->Deselect(arg2
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
= NULL
;
8009 wxListBox
*arg1
= (wxListBox
*) 0 ;
8010 int arg2
= (int) -1 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8014 (char *) "self",(char *) "itemToLeaveSelected", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
8018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail
;
8022 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8023 if (SWIG_arg_fail(2)) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 (arg1
)->DeselectAll(arg2
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 Py_INCREF(Py_None
); resultobj
= Py_None
;
8040 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
= NULL
;
8042 wxListBox
*arg1
= (wxListBox
*) 0 ;
8043 wxString
*arg2
= 0 ;
8044 bool arg3
= (bool) true ;
8046 bool temp2
= false ;
8047 PyObject
* obj0
= 0 ;
8048 PyObject
* obj1
= 0 ;
8049 PyObject
* obj2
= 0 ;
8051 (char *) "self",(char *) "s",(char *) "select", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8056 if (SWIG_arg_fail(1)) SWIG_fail
;
8058 arg2
= wxString_in_helper(obj1
);
8059 if (arg2
== NULL
) SWIG_fail
;
8064 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8065 if (SWIG_arg_fail(3)) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8092 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
= NULL
;
8094 wxListBox
*arg1
= (wxListBox
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8098 (char *) "self", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
8102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8103 if (SWIG_arg_fail(1)) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8118 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
= NULL
;
8120 wxListBox
*arg1
= (wxListBox
*) 0 ;
8122 PyObject
* obj0
= 0 ;
8123 PyObject
* obj1
= 0 ;
8125 (char *) "self",(char *) "n", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
8129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8130 if (SWIG_arg_fail(1)) SWIG_fail
;
8132 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8133 if (SWIG_arg_fail(2)) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 (arg1
)->SetFirstItem(arg2
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 Py_INCREF(Py_None
); resultobj
= Py_None
;
8149 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
= NULL
;
8151 wxListBox
*arg1
= (wxListBox
*) 0 ;
8152 wxString
*arg2
= 0 ;
8153 bool temp2
= false ;
8154 PyObject
* obj0
= 0 ;
8155 PyObject
* obj1
= 0 ;
8157 (char *) "self",(char *) "s", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
8161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8162 if (SWIG_arg_fail(1)) SWIG_fail
;
8164 arg2
= wxString_in_helper(obj1
);
8165 if (arg2
== NULL
) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 Py_INCREF(Py_None
); resultobj
= Py_None
;
8190 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
= NULL
;
8192 wxListBox
*arg1
= (wxListBox
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8195 PyObject
* obj1
= 0 ;
8197 (char *) "self",(char *) "n", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8205 if (SWIG_arg_fail(2)) SWIG_fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 (arg1
)->EnsureVisible(arg2
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8214 Py_INCREF(Py_None
); resultobj
= Py_None
;
8221 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
*resultobj
= NULL
;
8223 wxListBox
*arg1
= (wxListBox
*) 0 ;
8224 wxString
*arg2
= 0 ;
8225 bool temp2
= false ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8229 (char *) "self",(char *) "s", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) 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
= wxString_in_helper(obj1
);
8237 if (arg2
== NULL
) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8262 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
= NULL
;
8264 wxListBox
*arg1
= (wxListBox
*) 0 ;
8266 PyObject
* obj0
= 0 ;
8268 (char *) "self", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8273 if (SWIG_arg_fail(1)) SWIG_fail
;
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8290 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
= NULL
;
8292 wxListBox
*arg1
= (wxListBox
*) 0 ;
8294 wxColour
*arg3
= 0 ;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8298 PyObject
* obj2
= 0 ;
8300 (char *) "self",(char *) "item",(char *) "c", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail
;
8307 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8308 if (SWIG_arg_fail(2)) SWIG_fail
;
8312 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 Py_INCREF(Py_None
); resultobj
= Py_None
;
8328 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
= NULL
;
8330 wxListBox
*arg1
= (wxListBox
*) 0 ;
8332 wxColour
*arg3
= 0 ;
8334 PyObject
* obj0
= 0 ;
8335 PyObject
* obj1
= 0 ;
8336 PyObject
* obj2
= 0 ;
8338 (char *) "self",(char *) "item",(char *) "c", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail
;
8345 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8346 if (SWIG_arg_fail(2)) SWIG_fail
;
8350 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8366 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
= NULL
;
8368 wxListBox
*arg1
= (wxListBox
*) 0 ;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8373 PyObject
* obj2
= 0 ;
8375 (char *) "self",(char *) "item",(char *) "f", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8380 if (SWIG_arg_fail(1)) SWIG_fail
;
8382 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8383 if (SWIG_arg_fail(2)) SWIG_fail
;
8386 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8387 if (SWIG_arg_fail(3)) SWIG_fail
;
8389 SWIG_null_ref("wxFont");
8391 if (SWIG_arg_fail(3)) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
= NULL
;
8409 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8410 wxVisualAttributes result
;
8411 PyObject
* obj0
= 0 ;
8413 (char *) "variant", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8419 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8420 if (SWIG_arg_fail(1)) SWIG_fail
;
8424 if (!wxPyCheckForApp()) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 result
= wxListBox::GetClassDefaultAttributes(arg1
);
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8432 wxVisualAttributes
* resultptr
;
8433 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8442 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8445 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8447 return Py_BuildValue((char *)"");
8449 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
= NULL
;
8451 wxWindow
*arg1
= (wxWindow
*) 0 ;
8452 int arg2
= (int) -1 ;
8453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8457 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8458 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8459 long arg6
= (long) 0 ;
8460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8462 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8464 wxCheckListBox
*result
;
8467 bool temp5
= false ;
8468 bool temp8
= false ;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8471 PyObject
* obj2
= 0 ;
8472 PyObject
* obj3
= 0 ;
8473 PyObject
* obj4
= 0 ;
8474 PyObject
* obj5
= 0 ;
8475 PyObject
* obj6
= 0 ;
8476 PyObject
* obj7
= 0 ;
8478 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8483 if (SWIG_arg_fail(1)) SWIG_fail
;
8486 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8487 if (SWIG_arg_fail(2)) SWIG_fail
;
8493 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8499 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8504 if (! PySequence_Check(obj4
)) {
8505 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8508 arg5
= new wxArrayString
;
8510 int i
, len
=PySequence_Length(obj4
);
8511 for (i
=0; i
<len
; i
++) {
8512 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8513 wxString
* s
= wxString_in_helper(item
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8523 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8524 if (SWIG_arg_fail(6)) SWIG_fail
;
8529 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8530 if (SWIG_arg_fail(7)) SWIG_fail
;
8532 SWIG_null_ref("wxValidator");
8534 if (SWIG_arg_fail(7)) SWIG_fail
;
8539 arg8
= wxString_in_helper(obj7
);
8540 if (arg8
== NULL
) SWIG_fail
;
8545 if (!wxPyCheckForApp()) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8554 if (temp5
) delete arg5
;
8563 if (temp5
) delete arg5
;
8573 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
= NULL
;
8575 wxCheckListBox
*result
;
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8582 if (!wxPyCheckForApp()) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (wxCheckListBox
*)new wxCheckListBox();
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8596 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
= NULL
;
8598 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8599 wxWindow
*arg2
= (wxWindow
*) 0 ;
8600 int arg3
= (int) -1 ;
8601 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8602 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8603 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8604 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8605 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8606 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8607 long arg7
= (long) 0 ;
8608 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8609 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8610 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8611 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8615 bool temp6
= false ;
8616 bool temp9
= false ;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8619 PyObject
* obj2
= 0 ;
8620 PyObject
* obj3
= 0 ;
8621 PyObject
* obj4
= 0 ;
8622 PyObject
* obj5
= 0 ;
8623 PyObject
* obj6
= 0 ;
8624 PyObject
* obj7
= 0 ;
8625 PyObject
* obj8
= 0 ;
8627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8632 if (SWIG_arg_fail(1)) SWIG_fail
;
8633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8634 if (SWIG_arg_fail(2)) SWIG_fail
;
8637 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8638 if (SWIG_arg_fail(3)) SWIG_fail
;
8644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8655 if (! PySequence_Check(obj5
)) {
8656 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8659 arg6
= new wxArrayString
;
8661 int i
, len
=PySequence_Length(obj5
);
8662 for (i
=0; i
<len
; i
++) {
8663 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8664 wxString
* s
= wxString_in_helper(item
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8674 arg7
= static_cast<long >(SWIG_As_long(obj6
));
8675 if (SWIG_arg_fail(7)) SWIG_fail
;
8680 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8681 if (SWIG_arg_fail(8)) SWIG_fail
;
8683 SWIG_null_ref("wxValidator");
8685 if (SWIG_arg_fail(8)) SWIG_fail
;
8690 arg9
= wxString_in_helper(obj8
);
8691 if (arg9
== NULL
) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8706 if (temp6
) delete arg6
;
8715 if (temp6
) delete arg6
;
8725 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= NULL
;
8727 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8733 (char *) "self",(char *) "index", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8741 if (SWIG_arg_fail(2)) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= (bool)(arg1
)->IsChecked(arg2
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8759 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
= NULL
;
8761 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8763 int arg3
= (int) true ;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 PyObject
* obj2
= 0 ;
8768 (char *) "self",(char *) "index",(char *) "check", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8773 if (SWIG_arg_fail(1)) SWIG_fail
;
8775 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8776 if (SWIG_arg_fail(2)) SWIG_fail
;
8780 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8781 if (SWIG_arg_fail(3)) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->Check(arg2
,arg3
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
= NULL
;
8800 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8802 PyObject
* obj0
= 0 ;
8804 (char *) "self", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 result
= (int)(arg1
)->GetItemHeight();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_From_int(static_cast<int >(result
));
8826 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
= NULL
;
8828 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8835 (char *) "self",(char *) "pt", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail
;
8843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= SWIG_From_int(static_cast<int >(result
));
8861 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
= NULL
;
8863 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8867 PyObject
* obj0
= 0 ;
8868 PyObject
* obj1
= 0 ;
8869 PyObject
* obj2
= 0 ;
8871 (char *) "self",(char *) "x",(char *) "y", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8876 if (SWIG_arg_fail(1)) SWIG_fail
;
8878 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8879 if (SWIG_arg_fail(2)) SWIG_fail
;
8882 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8883 if (SWIG_arg_fail(3)) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= SWIG_From_int(static_cast<int >(result
));
8901 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8904 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8906 return Py_BuildValue((char *)"");
8908 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8909 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8914 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8915 PyObject
*pyobj
= NULL
;
8919 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8921 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8928 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
= NULL
;
8930 wxColour
const &arg1_defvalue
= wxNullColour
;
8931 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8932 wxColour
const &arg2_defvalue
= wxNullColour
;
8933 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8934 wxFont
const &arg3_defvalue
= wxNullFont
;
8935 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8936 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8940 PyObject
* obj0
= 0 ;
8941 PyObject
* obj1
= 0 ;
8942 PyObject
* obj2
= 0 ;
8943 PyObject
* obj3
= 0 ;
8945 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8952 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8958 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8963 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8964 if (SWIG_arg_fail(3)) SWIG_fail
;
8966 SWIG_null_ref("wxFont");
8968 if (SWIG_arg_fail(3)) SWIG_fail
;
8973 arg4
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj3
));
8974 if (SWIG_arg_fail(4)) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8991 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
= NULL
;
8993 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8994 PyObject
* obj0
= 0 ;
8996 (char *) "self", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
9000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9001 if (SWIG_arg_fail(1)) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 Py_INCREF(Py_None
); resultobj
= Py_None
;
9016 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
= NULL
;
9018 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9021 (char *) "self", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
9025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9026 if (SWIG_arg_fail(1)) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
= NULL
;
9043 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9044 wxColour
*arg2
= 0 ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9049 (char *) "self",(char *) "colText", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9054 if (SWIG_arg_fail(1)) SWIG_fail
;
9057 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 Py_INCREF(Py_None
); resultobj
= Py_None
;
9073 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
= NULL
;
9075 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9076 wxColour
*arg2
= 0 ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9081 (char *) "self",(char *) "colBack", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9086 if (SWIG_arg_fail(1)) SWIG_fail
;
9089 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 Py_INCREF(Py_None
); resultobj
= Py_None
;
9105 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
= NULL
;
9107 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9109 long arg3
= (long) wxTEXT_ATTR_FONT
;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9112 PyObject
* obj2
= 0 ;
9114 (char *) "self",(char *) "font",(char *) "flags", NULL
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9119 if (SWIG_arg_fail(1)) SWIG_fail
;
9121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9122 if (SWIG_arg_fail(2)) SWIG_fail
;
9124 SWIG_null_ref("wxFont");
9126 if (SWIG_arg_fail(2)) SWIG_fail
;
9130 arg3
= static_cast<long >(SWIG_As_long(obj2
));
9131 if (SWIG_arg_fail(3)) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 Py_INCREF(Py_None
); resultobj
= Py_None
;
9148 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
= NULL
;
9150 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9151 wxTextAttrAlignment arg2
;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9155 (char *) "self",(char *) "alignment", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9160 if (SWIG_arg_fail(1)) SWIG_fail
;
9162 arg2
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj1
));
9163 if (SWIG_arg_fail(2)) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 (arg1
)->SetAlignment(arg2
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 Py_INCREF(Py_None
); resultobj
= Py_None
;
9179 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
= NULL
;
9181 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9182 wxArrayInt
*arg2
= 0 ;
9183 bool temp2
= false ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9187 (char *) "self",(char *) "tabs", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
9191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail
;
9194 if (! PySequence_Check(obj1
)) {
9195 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
9198 arg2
= new wxArrayInt
;
9200 int i
, len
=PySequence_Length(obj1
);
9201 for (i
=0; i
<len
; i
++) {
9202 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9203 PyObject
* number
= PyNumber_Int(item
);
9204 arg2
->Add(PyInt_AS_LONG(number
));
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 Py_INCREF(Py_None
); resultobj
= Py_None
;
9218 if (temp2
) delete arg2
;
9223 if (temp2
) delete arg2
;
9229 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
= NULL
;
9231 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9233 int arg3
= (int) 0 ;
9234 PyObject
* obj0
= 0 ;
9235 PyObject
* obj1
= 0 ;
9236 PyObject
* obj2
= 0 ;
9238 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9243 if (SWIG_arg_fail(1)) SWIG_fail
;
9245 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9246 if (SWIG_arg_fail(2)) SWIG_fail
;
9250 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9251 if (SWIG_arg_fail(3)) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 (arg1
)->SetLeftIndent(arg2
,arg3
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 Py_INCREF(Py_None
); resultobj
= Py_None
;
9268 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
= NULL
;
9270 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9272 PyObject
* obj0
= 0 ;
9273 PyObject
* obj1
= 0 ;
9275 (char *) "self",(char *) "indent", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail
;
9282 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9283 if (SWIG_arg_fail(2)) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 (arg1
)->SetRightIndent(arg2
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 Py_INCREF(Py_None
); resultobj
= Py_None
;
9299 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
= NULL
;
9301 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9303 PyObject
* obj0
= 0 ;
9304 PyObject
* obj1
= 0 ;
9306 (char *) "self",(char *) "flags", NULL
9309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9311 if (SWIG_arg_fail(1)) SWIG_fail
;
9313 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9314 if (SWIG_arg_fail(2)) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 (arg1
)->SetFlags(arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 Py_INCREF(Py_None
); resultobj
= Py_None
;
9330 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
= NULL
;
9332 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9341 if (SWIG_arg_fail(1)) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9358 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
= NULL
;
9360 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9362 PyObject
* obj0
= 0 ;
9364 (char *) "self", NULL
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9369 if (SWIG_arg_fail(1)) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9386 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
= NULL
;
9388 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "self", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9397 if (SWIG_arg_fail(1)) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9414 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
= NULL
;
9416 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9420 (char *) "self", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9425 if (SWIG_arg_fail(1)) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9442 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
= NULL
;
9444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9453 if (SWIG_arg_fail(1)) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9470 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
= NULL
;
9472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9481 if (SWIG_arg_fail(1)) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9498 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= NULL
;
9500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9502 PyObject
* obj0
= 0 ;
9504 (char *) "self", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9509 if (SWIG_arg_fail(1)) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9526 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
= NULL
;
9528 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9531 PyObject
* obj0
= 0 ;
9532 PyObject
* obj1
= 0 ;
9534 (char *) "self",(char *) "flag", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9539 if (SWIG_arg_fail(1)) SWIG_fail
;
9541 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9542 if (SWIG_arg_fail(2)) SWIG_fail
;
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9560 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
= NULL
;
9562 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9566 (char *) "self", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9571 if (SWIG_arg_fail(1)) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9576 result
= (wxColour
*) &_result_ref
;
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9589 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
= NULL
;
9591 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9600 if (SWIG_arg_fail(1)) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9605 result
= (wxColour
*) &_result_ref
;
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9618 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
= NULL
;
9620 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "self", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9629 if (SWIG_arg_fail(1)) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9634 result
= (wxFont
*) &_result_ref
;
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9641 wxFont
* resultptr
= new wxFont(*result
);
9642 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9650 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
= NULL
;
9652 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9653 wxTextAttrAlignment result
;
9654 PyObject
* obj0
= 0 ;
9656 (char *) "self", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9661 if (SWIG_arg_fail(1)) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= SWIG_From_int((result
));
9676 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
= NULL
;
9678 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9680 PyObject
* obj0
= 0 ;
9682 (char *) "self", NULL
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9692 result
= (wxArrayInt
*) &_result_ref
;
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= PyList_New(0);
9701 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9702 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9703 PyList_Append(resultobj
, val
);
9713 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
= NULL
;
9715 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9719 (char *) "self", NULL
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9724 if (SWIG_arg_fail(1)) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_From_long(static_cast<long >(result
));
9741 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
= NULL
;
9743 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9752 if (SWIG_arg_fail(1)) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= SWIG_From_long(static_cast<long >(result
));
9769 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
= NULL
;
9771 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9773 PyObject
* obj0
= 0 ;
9775 (char *) "self", NULL
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9780 if (SWIG_arg_fail(1)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= SWIG_From_long(static_cast<long >(result
));
9797 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= NULL
;
9799 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_From_long(static_cast<long >(result
));
9825 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
= NULL
;
9827 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "self", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9853 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
= NULL
;
9855 wxTextAttr
*arg1
= 0 ;
9856 wxTextAttr
*arg2
= 0 ;
9857 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9859 PyObject
* obj0
= 0 ;
9860 PyObject
* obj1
= 0 ;
9861 PyObject
* obj2
= 0 ;
9863 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail
;
9871 SWIG_null_ref("wxTextAttr");
9873 if (SWIG_arg_fail(1)) SWIG_fail
;
9876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9877 if (SWIG_arg_fail(2)) SWIG_fail
;
9879 SWIG_null_ref("wxTextAttr");
9881 if (SWIG_arg_fail(2)) SWIG_fail
;
9883 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9884 if (SWIG_arg_fail(3)) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9893 wxTextAttr
* resultptr
;
9894 resultptr
= new wxTextAttr(static_cast<wxTextAttr
& >(result
));
9895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9903 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9906 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9908 return Py_BuildValue((char *)"");
9910 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
= NULL
;
9912 wxWindow
*arg1
= (wxWindow
*) 0 ;
9913 int arg2
= (int) -1 ;
9914 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9915 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9920 long arg6
= (long) 0 ;
9921 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9922 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9923 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9924 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9926 bool temp3
= false ;
9929 bool temp8
= false ;
9930 PyObject
* obj0
= 0 ;
9931 PyObject
* obj1
= 0 ;
9932 PyObject
* obj2
= 0 ;
9933 PyObject
* obj3
= 0 ;
9934 PyObject
* obj4
= 0 ;
9935 PyObject
* obj5
= 0 ;
9936 PyObject
* obj6
= 0 ;
9937 PyObject
* obj7
= 0 ;
9939 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9944 if (SWIG_arg_fail(1)) SWIG_fail
;
9947 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9948 if (SWIG_arg_fail(2)) SWIG_fail
;
9953 arg3
= wxString_in_helper(obj2
);
9954 if (arg3
== NULL
) SWIG_fail
;
9961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9972 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9973 if (SWIG_arg_fail(6)) SWIG_fail
;
9978 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9979 if (SWIG_arg_fail(7)) SWIG_fail
;
9981 SWIG_null_ref("wxValidator");
9983 if (SWIG_arg_fail(7)) SWIG_fail
;
9988 arg8
= wxString_in_helper(obj7
);
9989 if (arg8
== NULL
) SWIG_fail
;
9994 if (!wxPyCheckForApp()) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
10024 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
= NULL
;
10026 wxTextCtrl
*result
;
10027 char *kwnames
[] = {
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
10033 if (!wxPyCheckForApp()) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 result
= (wxTextCtrl
*)new wxTextCtrl();
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
10047 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
= NULL
;
10049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10050 wxWindow
*arg2
= (wxWindow
*) 0 ;
10051 int arg3
= (int) -1 ;
10052 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10053 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10054 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10055 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10056 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10057 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10058 long arg7
= (long) 0 ;
10059 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10060 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10061 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
10062 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10064 bool temp4
= false ;
10067 bool temp9
= false ;
10068 PyObject
* obj0
= 0 ;
10069 PyObject
* obj1
= 0 ;
10070 PyObject
* obj2
= 0 ;
10071 PyObject
* obj3
= 0 ;
10072 PyObject
* obj4
= 0 ;
10073 PyObject
* obj5
= 0 ;
10074 PyObject
* obj6
= 0 ;
10075 PyObject
* obj7
= 0 ;
10076 PyObject
* obj8
= 0 ;
10077 char *kwnames
[] = {
10078 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
10082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10083 if (SWIG_arg_fail(1)) SWIG_fail
;
10084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10085 if (SWIG_arg_fail(2)) SWIG_fail
;
10088 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10089 if (SWIG_arg_fail(3)) SWIG_fail
;
10094 arg4
= wxString_in_helper(obj3
);
10095 if (arg4
== NULL
) SWIG_fail
;
10102 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10108 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10113 arg7
= static_cast<long >(SWIG_As_long(obj6
));
10114 if (SWIG_arg_fail(7)) SWIG_fail
;
10119 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
10120 if (SWIG_arg_fail(8)) SWIG_fail
;
10121 if (arg8
== NULL
) {
10122 SWIG_null_ref("wxValidator");
10124 if (SWIG_arg_fail(8)) SWIG_fail
;
10129 arg9
= wxString_in_helper(obj8
);
10130 if (arg9
== NULL
) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10166 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
= NULL
;
10168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10177 if (SWIG_arg_fail(1)) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10198 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
= NULL
;
10200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10201 wxString
*arg2
= 0 ;
10202 bool temp2
= false ;
10203 PyObject
* obj0
= 0 ;
10204 PyObject
* obj1
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self",(char *) "value", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10211 if (SWIG_arg_fail(1)) SWIG_fail
;
10213 arg2
= wxString_in_helper(obj1
);
10214 if (arg2
== NULL
) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 (arg1
)->SetValue((wxString
const &)*arg2
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 Py_INCREF(Py_None
); resultobj
= Py_None
;
10239 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
= NULL
;
10241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10247 PyObject
* obj2
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self",(char *) "from",(char *) "to", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10254 if (SWIG_arg_fail(1)) SWIG_fail
;
10256 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10257 if (SWIG_arg_fail(2)) SWIG_fail
;
10260 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10261 if (SWIG_arg_fail(3)) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10283 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
= NULL
;
10285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self",(char *) "lineNo", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10296 if (SWIG_arg_fail(1)) SWIG_fail
;
10298 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10299 if (SWIG_arg_fail(2)) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_From_int(static_cast<int >(result
));
10317 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
= NULL
;
10319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self",(char *) "lineNo", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10330 if (SWIG_arg_fail(1)) SWIG_fail
;
10332 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10333 if (SWIG_arg_fail(2)) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10355 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
= NULL
;
10357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "self", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10366 if (SWIG_arg_fail(1)) SWIG_fail
;
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= SWIG_From_int(static_cast<int >(result
));
10383 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
= NULL
;
10385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10411 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
= NULL
;
10413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10422 if (SWIG_arg_fail(1)) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10439 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
= NULL
;
10441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10443 PyObject
* obj0
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10467 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
= NULL
;
10469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10471 PyObject
* obj0
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "self", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10478 if (SWIG_arg_fail(1)) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10495 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
= NULL
;
10497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10498 long *arg2
= (long *) 0 ;
10499 long *arg3
= (long *) 0 ;
10504 PyObject
* obj0
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self", NULL
10509 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10510 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10522 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10523 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10524 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10525 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10532 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
= NULL
;
10534 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10536 PyObject
* obj0
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10543 if (SWIG_arg_fail(1)) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10564 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
= NULL
;
10566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10567 PyObject
* obj0
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10574 if (SWIG_arg_fail(1)) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 Py_INCREF(Py_None
); resultobj
= Py_None
;
10589 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
= NULL
;
10591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10594 wxString
*arg4
= 0 ;
10595 bool temp4
= false ;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 PyObject
* obj2
= 0 ;
10599 PyObject
* obj3
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10606 if (SWIG_arg_fail(1)) SWIG_fail
;
10608 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10609 if (SWIG_arg_fail(2)) SWIG_fail
;
10612 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10613 if (SWIG_arg_fail(3)) SWIG_fail
;
10616 arg4
= wxString_in_helper(obj3
);
10617 if (arg4
== NULL
) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 Py_INCREF(Py_None
); resultobj
= Py_None
;
10642 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
= NULL
;
10644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 PyObject
* obj2
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self",(char *) "from",(char *) "to", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10656 if (SWIG_arg_fail(1)) SWIG_fail
;
10658 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10659 if (SWIG_arg_fail(2)) SWIG_fail
;
10662 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10663 if (SWIG_arg_fail(3)) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 (arg1
)->Remove(arg2
,arg3
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 Py_INCREF(Py_None
); resultobj
= Py_None
;
10679 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
= NULL
;
10681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10682 wxString
*arg2
= 0 ;
10684 bool temp2
= false ;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self",(char *) "file", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10693 if (SWIG_arg_fail(1)) SWIG_fail
;
10695 arg2
= wxString_in_helper(obj1
);
10696 if (arg2
== NULL
) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10723 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
= NULL
;
10725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10726 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10727 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10729 bool temp2
= false ;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self",(char *) "file", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10738 if (SWIG_arg_fail(1)) SWIG_fail
;
10741 arg2
= wxString_in_helper(obj1
);
10742 if (arg2
== NULL
) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10770 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
= NULL
;
10772 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10780 if (SWIG_arg_fail(1)) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 (arg1
)->MarkDirty();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 Py_INCREF(Py_None
); resultobj
= Py_None
;
10795 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
= NULL
;
10797 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10798 PyObject
* obj0
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10805 if (SWIG_arg_fail(1)) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->DiscardEdits();
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
= NULL
;
10822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10823 unsigned long arg2
;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self",(char *) "len", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10832 if (SWIG_arg_fail(1)) SWIG_fail
;
10834 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
10835 if (SWIG_arg_fail(2)) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 (arg1
)->SetMaxLength(arg2
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 Py_INCREF(Py_None
); resultobj
= Py_None
;
10851 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
= NULL
;
10853 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10854 wxString
*arg2
= 0 ;
10855 bool temp2
= false ;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self",(char *) "text", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10864 if (SWIG_arg_fail(1)) SWIG_fail
;
10866 arg2
= wxString_in_helper(obj1
);
10867 if (arg2
== NULL
) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->WriteText((wxString
const &)*arg2
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
= NULL
;
10894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10895 wxString
*arg2
= 0 ;
10896 bool temp2
= false ;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "text", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10905 if (SWIG_arg_fail(1)) SWIG_fail
;
10907 arg2
= wxString_in_helper(obj1
);
10908 if (arg2
== NULL
) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 (arg1
)->AppendText((wxString
const &)*arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 Py_INCREF(Py_None
); resultobj
= Py_None
;
10933 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
= NULL
;
10935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10936 wxKeyEvent
*arg2
= 0 ;
10938 PyObject
* obj0
= 0 ;
10939 PyObject
* obj1
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self",(char *) "event", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10946 if (SWIG_arg_fail(1)) SWIG_fail
;
10948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10949 if (SWIG_arg_fail(2)) SWIG_fail
;
10950 if (arg2
== NULL
) {
10951 SWIG_null_ref("wxKeyEvent");
10953 if (SWIG_arg_fail(2)) SWIG_fail
;
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10971 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
= NULL
;
10973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10976 wxTextAttr
*arg4
= 0 ;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 PyObject
* obj2
= 0 ;
10981 PyObject
* obj3
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10988 if (SWIG_arg_fail(1)) SWIG_fail
;
10990 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10991 if (SWIG_arg_fail(2)) SWIG_fail
;
10994 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10995 if (SWIG_arg_fail(3)) SWIG_fail
;
10998 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10999 if (SWIG_arg_fail(4)) SWIG_fail
;
11000 if (arg4
== NULL
) {
11001 SWIG_null_ref("wxTextAttr");
11003 if (SWIG_arg_fail(4)) SWIG_fail
;
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11021 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11022 PyObject
*resultobj
= NULL
;
11023 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11025 wxTextAttr
*arg3
= 0 ;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 PyObject
* obj2
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self",(char *) "position",(char *) "style", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11036 if (SWIG_arg_fail(1)) SWIG_fail
;
11038 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11039 if (SWIG_arg_fail(2)) SWIG_fail
;
11042 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
11043 if (SWIG_arg_fail(3)) SWIG_fail
;
11044 if (arg3
== NULL
) {
11045 SWIG_null_ref("wxTextAttr");
11047 if (SWIG_arg_fail(3)) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11065 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
= NULL
;
11067 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11068 wxTextAttr
*arg2
= 0 ;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "style", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11078 if (SWIG_arg_fail(1)) SWIG_fail
;
11080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
11081 if (SWIG_arg_fail(2)) SWIG_fail
;
11082 if (arg2
== NULL
) {
11083 SWIG_null_ref("wxTextAttr");
11085 if (SWIG_arg_fail(2)) SWIG_fail
;
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11103 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
= NULL
;
11105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11106 wxTextAttr
*result
;
11107 PyObject
* obj0
= 0 ;
11108 char *kwnames
[] = {
11109 (char *) "self", NULL
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
11113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11114 if (SWIG_arg_fail(1)) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
11119 result
= (wxTextAttr
*) &_result_ref
;
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
11132 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
= NULL
;
11134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 PyObject
* obj1
= 0 ;
11140 PyObject
* obj2
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self",(char *) "x",(char *) "y", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail
;
11149 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11150 if (SWIG_arg_fail(2)) SWIG_fail
;
11153 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11154 if (SWIG_arg_fail(3)) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= SWIG_From_long(static_cast<long >(result
));
11172 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
= NULL
;
11174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11176 long *arg3
= (long *) 0 ;
11177 long *arg4
= (long *) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 PyObject
* obj1
= 0 ;
11184 char *kwnames
[] = {
11185 (char *) "self",(char *) "pos", NULL
11188 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11189 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
11191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11192 if (SWIG_arg_fail(1)) SWIG_fail
;
11194 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11195 if (SWIG_arg_fail(2)) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 Py_INCREF(Py_None
); resultobj
= Py_None
;
11205 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11206 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11207 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11208 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11215 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
= NULL
;
11217 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self",(char *) "pos", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail
;
11229 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11230 if (SWIG_arg_fail(2)) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 (arg1
)->ShowPosition(arg2
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 Py_INCREF(Py_None
); resultobj
= Py_None
;
11246 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
= NULL
;
11248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11249 wxPoint
*arg2
= 0 ;
11250 long *arg3
= (long *) 0 ;
11251 long *arg4
= (long *) 0 ;
11252 wxTextCtrlHitTestResult result
;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "pt", NULL
11264 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11265 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11268 if (SWIG_arg_fail(1)) SWIG_fail
;
11271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_From_int((result
));
11281 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11282 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11283 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11284 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11291 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
= NULL
;
11293 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11294 wxPoint
*arg2
= 0 ;
11295 long *arg3
= (long *) 0 ;
11296 wxTextCtrlHitTestResult result
;
11300 PyObject
* obj0
= 0 ;
11301 PyObject
* obj1
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self",(char *) "pt", NULL
11306 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail
;
11312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= SWIG_From_int((result
));
11322 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11323 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11330 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
= NULL
;
11332 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11340 if (SWIG_arg_fail(1)) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 Py_INCREF(Py_None
); resultobj
= Py_None
;
11355 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
= NULL
;
11357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11365 if (SWIG_arg_fail(1)) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 Py_INCREF(Py_None
); resultobj
= Py_None
;
11380 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
= NULL
;
11382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11390 if (SWIG_arg_fail(1)) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 Py_INCREF(Py_None
); resultobj
= Py_None
;
11405 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
= NULL
;
11407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11409 PyObject
* obj0
= 0 ;
11410 char *kwnames
[] = {
11411 (char *) "self", NULL
11414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11416 if (SWIG_arg_fail(1)) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11433 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
= NULL
;
11435 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11444 if (SWIG_arg_fail(1)) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11461 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
= NULL
;
11463 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "self", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11472 if (SWIG_arg_fail(1)) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11489 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
= NULL
;
11491 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11499 if (SWIG_arg_fail(1)) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 Py_INCREF(Py_None
); resultobj
= Py_None
;
11514 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
= NULL
;
11516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11524 if (SWIG_arg_fail(1)) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 Py_INCREF(Py_None
); resultobj
= Py_None
;
11539 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
= NULL
;
11541 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11543 PyObject
* obj0
= 0 ;
11544 char *kwnames
[] = {
11545 (char *) "self", NULL
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11550 if (SWIG_arg_fail(1)) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11567 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
= NULL
;
11569 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11578 if (SWIG_arg_fail(1)) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11595 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
= NULL
;
11597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self",(char *) "pos", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail
;
11609 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11610 if (SWIG_arg_fail(2)) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 (arg1
)->SetInsertionPoint(arg2
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 Py_INCREF(Py_None
); resultobj
= Py_None
;
11626 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
= NULL
;
11628 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11636 if (SWIG_arg_fail(1)) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 (arg1
)->SetInsertionPointEnd();
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 Py_INCREF(Py_None
); resultobj
= Py_None
;
11651 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
= NULL
;
11653 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 char *kwnames
[] = {
11657 (char *) "self", NULL
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11662 if (SWIG_arg_fail(1)) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_From_long(static_cast<long >(result
));
11679 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
= NULL
;
11681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= SWIG_From_long(static_cast<long >(result
));
11707 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
= NULL
;
11709 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11712 PyObject
* obj0
= 0 ;
11713 PyObject
* obj1
= 0 ;
11714 PyObject
* obj2
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "self",(char *) "from",(char *) "to", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11721 if (SWIG_arg_fail(1)) SWIG_fail
;
11723 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11724 if (SWIG_arg_fail(2)) SWIG_fail
;
11727 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11728 if (SWIG_arg_fail(3)) SWIG_fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 (arg1
)->SetSelection(arg2
,arg3
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 Py_INCREF(Py_None
); resultobj
= Py_None
;
11744 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
= NULL
;
11746 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11747 PyObject
* obj0
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11754 if (SWIG_arg_fail(1)) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 (arg1
)->SelectAll();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 Py_INCREF(Py_None
); resultobj
= Py_None
;
11769 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
= NULL
;
11771 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11773 PyObject
* obj0
= 0 ;
11774 PyObject
* obj1
= 0 ;
11775 char *kwnames
[] = {
11776 (char *) "self",(char *) "editable", NULL
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11781 if (SWIG_arg_fail(1)) SWIG_fail
;
11783 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11784 if (SWIG_arg_fail(2)) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 (arg1
)->SetEditable(arg2
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 Py_INCREF(Py_None
); resultobj
= Py_None
;
11800 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
= NULL
;
11802 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11803 bool arg2
= (bool) true ;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self",(char *) "show", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11813 if (SWIG_arg_fail(1)) SWIG_fail
;
11816 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11817 if (SWIG_arg_fail(2)) SWIG_fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11836 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
= NULL
;
11838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11840 PyObject
* obj0
= 0 ;
11841 char *kwnames
[] = {
11842 (char *) "self", NULL
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11847 if (SWIG_arg_fail(1)) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (bool)(arg1
)->HideNativeCaret();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11864 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= NULL
;
11866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11867 wxString
*arg2
= 0 ;
11868 bool temp2
= false ;
11869 PyObject
* obj0
= 0 ;
11870 PyObject
* obj1
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self",(char *) "text", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11877 if (SWIG_arg_fail(1)) SWIG_fail
;
11879 arg2
= wxString_in_helper(obj1
);
11880 if (arg2
== NULL
) SWIG_fail
;
11884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11885 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 Py_INCREF(Py_None
); resultobj
= Py_None
;
11905 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
= NULL
;
11907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 PyObject
* obj2
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self",(char *) "from",(char *) "to", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail
;
11922 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11923 if (SWIG_arg_fail(2)) SWIG_fail
;
11926 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11927 if (SWIG_arg_fail(3)) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11949 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
= NULL
;
11951 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11952 wxVisualAttributes result
;
11953 PyObject
* obj0
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "variant", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11961 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
11962 if (SWIG_arg_fail(1)) SWIG_fail
;
11966 if (!wxPyCheckForApp()) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11974 wxVisualAttributes
* resultptr
;
11975 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
11976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11984 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11987 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11989 return Py_BuildValue((char *)"");
11991 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
= NULL
;
11994 wxMouseEvent
*arg2
= 0 ;
11997 wxTextUrlEvent
*result
;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 PyObject
* obj2
= 0 ;
12001 PyObject
* obj3
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12008 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12009 if (SWIG_arg_fail(1)) SWIG_fail
;
12012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
12013 if (SWIG_arg_fail(2)) SWIG_fail
;
12014 if (arg2
== NULL
) {
12015 SWIG_null_ref("wxMouseEvent");
12017 if (SWIG_arg_fail(2)) SWIG_fail
;
12020 arg3
= static_cast<long >(SWIG_As_long(obj2
));
12021 if (SWIG_arg_fail(3)) SWIG_fail
;
12024 arg4
= static_cast<long >(SWIG_As_long(obj3
));
12025 if (SWIG_arg_fail(4)) SWIG_fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
12041 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
= NULL
;
12043 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
12044 wxMouseEvent
*result
;
12045 PyObject
* obj0
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
12051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
12052 if (SWIG_arg_fail(1)) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
12057 result
= (wxMouseEvent
*) &_result_ref
;
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
12070 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
= NULL
;
12072 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
12074 PyObject
* obj0
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
12080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
12081 if (SWIG_arg_fail(1)) SWIG_fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= SWIG_From_long(static_cast<long >(result
));
12098 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
= NULL
;
12100 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
12102 PyObject
* obj0
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "self", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
12108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
12109 if (SWIG_arg_fail(1)) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= SWIG_From_long(static_cast<long >(result
));
12126 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
12128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12129 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
12131 return Py_BuildValue((char *)"");
12133 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
12134 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
12139 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
12140 PyObject
*pyobj
= NULL
;
12144 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
12146 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
12153 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
= NULL
;
12155 wxWindow
*arg1
= (wxWindow
*) 0 ;
12156 int arg2
= (int) -1 ;
12157 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12158 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12159 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12160 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12161 long arg5
= (long) wxSB_HORIZONTAL
;
12162 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
12163 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
12164 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
12165 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12166 wxScrollBar
*result
;
12169 bool temp7
= false ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 PyObject
* obj2
= 0 ;
12173 PyObject
* obj3
= 0 ;
12174 PyObject
* obj4
= 0 ;
12175 PyObject
* obj5
= 0 ;
12176 PyObject
* obj6
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12183 if (SWIG_arg_fail(1)) SWIG_fail
;
12186 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12187 if (SWIG_arg_fail(2)) SWIG_fail
;
12193 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12199 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12204 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12205 if (SWIG_arg_fail(5)) SWIG_fail
;
12210 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12211 if (SWIG_arg_fail(6)) SWIG_fail
;
12212 if (arg6
== NULL
) {
12213 SWIG_null_ref("wxValidator");
12215 if (SWIG_arg_fail(6)) SWIG_fail
;
12220 arg7
= wxString_in_helper(obj6
);
12221 if (arg7
== NULL
) SWIG_fail
;
12226 if (!wxPyCheckForApp()) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12248 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
= NULL
;
12250 wxScrollBar
*result
;
12251 char *kwnames
[] = {
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12257 if (!wxPyCheckForApp()) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (wxScrollBar
*)new wxScrollBar();
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12271 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
= NULL
;
12273 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12274 wxWindow
*arg2
= (wxWindow
*) 0 ;
12275 int arg3
= (int) -1 ;
12276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12280 long arg6
= (long) wxSB_HORIZONTAL
;
12281 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12282 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12283 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12284 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12288 bool temp8
= false ;
12289 PyObject
* obj0
= 0 ;
12290 PyObject
* obj1
= 0 ;
12291 PyObject
* obj2
= 0 ;
12292 PyObject
* obj3
= 0 ;
12293 PyObject
* obj4
= 0 ;
12294 PyObject
* obj5
= 0 ;
12295 PyObject
* obj6
= 0 ;
12296 PyObject
* obj7
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12303 if (SWIG_arg_fail(1)) SWIG_fail
;
12304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12305 if (SWIG_arg_fail(2)) SWIG_fail
;
12308 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12309 if (SWIG_arg_fail(3)) SWIG_fail
;
12315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12326 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12327 if (SWIG_arg_fail(6)) SWIG_fail
;
12332 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12333 if (SWIG_arg_fail(7)) SWIG_fail
;
12334 if (arg7
== NULL
) {
12335 SWIG_null_ref("wxValidator");
12337 if (SWIG_arg_fail(7)) SWIG_fail
;
12342 arg8
= wxString_in_helper(obj7
);
12343 if (arg8
== NULL
) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12371 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= NULL
;
12373 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12382 if (SWIG_arg_fail(1)) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_From_int(static_cast<int >(result
));
12399 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
= NULL
;
12401 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12403 PyObject
* obj0
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12410 if (SWIG_arg_fail(1)) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= SWIG_From_int(static_cast<int >(result
));
12427 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
= NULL
;
12429 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12431 PyObject
* obj0
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12438 if (SWIG_arg_fail(1)) SWIG_fail
;
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_From_int(static_cast<int >(result
));
12455 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
= NULL
;
12457 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_From_int(static_cast<int >(result
));
12483 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
= NULL
;
12485 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12494 if (SWIG_arg_fail(1)) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12511 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
= NULL
;
12513 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 char *kwnames
[] = {
12518 (char *) "self",(char *) "viewStart", NULL
12521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12523 if (SWIG_arg_fail(1)) SWIG_fail
;
12525 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12526 if (SWIG_arg_fail(2)) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 (arg1
)->SetThumbPosition(arg2
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 Py_INCREF(Py_None
); resultobj
= Py_None
;
12542 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
= NULL
;
12544 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12549 bool arg6
= (bool) true ;
12550 PyObject
* obj0
= 0 ;
12551 PyObject
* obj1
= 0 ;
12552 PyObject
* obj2
= 0 ;
12553 PyObject
* obj3
= 0 ;
12554 PyObject
* obj4
= 0 ;
12555 PyObject
* obj5
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail
;
12564 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12565 if (SWIG_arg_fail(2)) SWIG_fail
;
12568 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12569 if (SWIG_arg_fail(3)) SWIG_fail
;
12572 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12573 if (SWIG_arg_fail(4)) SWIG_fail
;
12576 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12577 if (SWIG_arg_fail(5)) SWIG_fail
;
12581 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
12582 if (SWIG_arg_fail(6)) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 Py_INCREF(Py_None
); resultobj
= Py_None
;
12599 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
= NULL
;
12601 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12602 wxVisualAttributes result
;
12603 PyObject
* obj0
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "variant", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12611 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
12612 if (SWIG_arg_fail(1)) SWIG_fail
;
12616 if (!wxPyCheckForApp()) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12624 wxVisualAttributes
* resultptr
;
12625 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
12626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12634 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12637 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12639 return Py_BuildValue((char *)"");
12641 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12642 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12647 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12648 PyObject
*pyobj
= NULL
;
12652 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12654 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12661 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12662 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12667 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12668 PyObject
*pyobj
= NULL
;
12672 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12674 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12681 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
= NULL
;
12683 wxWindow
*arg1
= (wxWindow
*) 0 ;
12684 int arg2
= (int) -1 ;
12685 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12686 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12687 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12688 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12689 long arg5
= (long) wxSP_HORIZONTAL
;
12690 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12691 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12692 wxSpinButton
*result
;
12695 bool temp6
= false ;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 PyObject
* obj2
= 0 ;
12699 PyObject
* obj3
= 0 ;
12700 PyObject
* obj4
= 0 ;
12701 PyObject
* obj5
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12708 if (SWIG_arg_fail(1)) SWIG_fail
;
12711 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12712 if (SWIG_arg_fail(2)) SWIG_fail
;
12718 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12724 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12729 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12730 if (SWIG_arg_fail(5)) SWIG_fail
;
12735 arg6
= wxString_in_helper(obj5
);
12736 if (arg6
== NULL
) SWIG_fail
;
12741 if (!wxPyCheckForApp()) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12763 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
= NULL
;
12765 wxSpinButton
*result
;
12766 char *kwnames
[] = {
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12772 if (!wxPyCheckForApp()) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (wxSpinButton
*)new wxSpinButton();
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12786 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
= NULL
;
12788 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12789 wxWindow
*arg2
= (wxWindow
*) 0 ;
12790 int arg3
= (int) -1 ;
12791 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12792 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12793 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12794 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12795 long arg6
= (long) wxSP_HORIZONTAL
;
12796 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12797 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12801 bool temp7
= false ;
12802 PyObject
* obj0
= 0 ;
12803 PyObject
* obj1
= 0 ;
12804 PyObject
* obj2
= 0 ;
12805 PyObject
* obj3
= 0 ;
12806 PyObject
* obj4
= 0 ;
12807 PyObject
* obj5
= 0 ;
12808 PyObject
* obj6
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12815 if (SWIG_arg_fail(1)) SWIG_fail
;
12816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12817 if (SWIG_arg_fail(2)) SWIG_fail
;
12820 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12821 if (SWIG_arg_fail(3)) SWIG_fail
;
12827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12833 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12838 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12839 if (SWIG_arg_fail(6)) SWIG_fail
;
12844 arg7
= wxString_in_helper(obj6
);
12845 if (arg7
== NULL
) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12873 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
= NULL
;
12875 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12884 if (SWIG_arg_fail(1)) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= SWIG_From_int(static_cast<int >(result
));
12901 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
= NULL
;
12903 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12912 if (SWIG_arg_fail(1)) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12921 resultobj
= SWIG_From_int(static_cast<int >(result
));
12929 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
= NULL
;
12931 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12940 if (SWIG_arg_fail(1)) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= SWIG_From_int(static_cast<int >(result
));
12957 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
= NULL
;
12959 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 PyObject
* obj1
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self",(char *) "val", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12969 if (SWIG_arg_fail(1)) SWIG_fail
;
12971 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12972 if (SWIG_arg_fail(2)) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 (arg1
)->SetValue(arg2
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 Py_INCREF(Py_None
); resultobj
= Py_None
;
12988 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
= NULL
;
12990 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 PyObject
* obj1
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self",(char *) "minVal", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
13000 if (SWIG_arg_fail(1)) SWIG_fail
;
13002 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13003 if (SWIG_arg_fail(2)) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 (arg1
)->SetMin(arg2
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 Py_INCREF(Py_None
); resultobj
= Py_None
;
13019 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
= NULL
;
13021 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self",(char *) "maxVal", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
13031 if (SWIG_arg_fail(1)) SWIG_fail
;
13033 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13034 if (SWIG_arg_fail(2)) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 (arg1
)->SetMax(arg2
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 Py_INCREF(Py_None
); resultobj
= Py_None
;
13050 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
= NULL
;
13052 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 PyObject
* obj2
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail
;
13066 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13067 if (SWIG_arg_fail(2)) SWIG_fail
;
13070 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13071 if (SWIG_arg_fail(3)) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 (arg1
)->SetRange(arg2
,arg3
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 Py_INCREF(Py_None
); resultobj
= Py_None
;
13087 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
= NULL
;
13089 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
13097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
13098 if (SWIG_arg_fail(1)) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13115 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
= NULL
;
13117 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13118 wxVisualAttributes result
;
13119 PyObject
* obj0
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "variant", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13127 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13128 if (SWIG_arg_fail(1)) SWIG_fail
;
13132 if (!wxPyCheckForApp()) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13140 wxVisualAttributes
* resultptr
;
13141 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13150 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
13152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13153 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
13155 return Py_BuildValue((char *)"");
13157 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
= NULL
;
13159 wxWindow
*arg1
= (wxWindow
*) 0 ;
13160 int arg2
= (int) -1 ;
13161 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13162 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13163 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13164 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13165 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13166 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13167 long arg6
= (long) wxSP_ARROW_KEYS
;
13168 int arg7
= (int) 0 ;
13169 int arg8
= (int) 100 ;
13170 int arg9
= (int) 0 ;
13171 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
13172 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13173 wxSpinCtrl
*result
;
13174 bool temp3
= false ;
13177 bool temp10
= false ;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 PyObject
* obj2
= 0 ;
13181 PyObject
* obj3
= 0 ;
13182 PyObject
* obj4
= 0 ;
13183 PyObject
* obj5
= 0 ;
13184 PyObject
* obj6
= 0 ;
13185 PyObject
* obj7
= 0 ;
13186 PyObject
* obj8
= 0 ;
13187 PyObject
* obj9
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13194 if (SWIG_arg_fail(1)) SWIG_fail
;
13197 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13198 if (SWIG_arg_fail(2)) SWIG_fail
;
13203 arg3
= wxString_in_helper(obj2
);
13204 if (arg3
== NULL
) SWIG_fail
;
13211 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13217 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13222 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13223 if (SWIG_arg_fail(6)) SWIG_fail
;
13228 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13229 if (SWIG_arg_fail(7)) SWIG_fail
;
13234 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13235 if (SWIG_arg_fail(8)) SWIG_fail
;
13240 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13241 if (SWIG_arg_fail(9)) SWIG_fail
;
13246 arg10
= wxString_in_helper(obj9
);
13247 if (arg10
== NULL
) SWIG_fail
;
13252 if (!wxPyCheckForApp()) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13282 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
= NULL
;
13284 wxSpinCtrl
*result
;
13285 char *kwnames
[] = {
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13291 if (!wxPyCheckForApp()) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13305 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
= NULL
;
13307 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13308 wxWindow
*arg2
= (wxWindow
*) 0 ;
13309 int arg3
= (int) -1 ;
13310 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13311 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13312 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13313 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13314 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13315 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13316 long arg7
= (long) wxSP_ARROW_KEYS
;
13317 int arg8
= (int) 0 ;
13318 int arg9
= (int) 100 ;
13319 int arg10
= (int) 0 ;
13320 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13321 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13323 bool temp4
= false ;
13326 bool temp11
= false ;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 PyObject
* obj2
= 0 ;
13330 PyObject
* obj3
= 0 ;
13331 PyObject
* obj4
= 0 ;
13332 PyObject
* obj5
= 0 ;
13333 PyObject
* obj6
= 0 ;
13334 PyObject
* obj7
= 0 ;
13335 PyObject
* obj8
= 0 ;
13336 PyObject
* obj9
= 0 ;
13337 PyObject
* obj10
= 0 ;
13338 char *kwnames
[] = {
13339 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13344 if (SWIG_arg_fail(1)) SWIG_fail
;
13345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13346 if (SWIG_arg_fail(2)) SWIG_fail
;
13349 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13350 if (SWIG_arg_fail(3)) SWIG_fail
;
13355 arg4
= wxString_in_helper(obj3
);
13356 if (arg4
== NULL
) SWIG_fail
;
13363 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13369 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13374 arg7
= static_cast<long >(SWIG_As_long(obj6
));
13375 if (SWIG_arg_fail(7)) SWIG_fail
;
13380 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13381 if (SWIG_arg_fail(8)) SWIG_fail
;
13386 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13387 if (SWIG_arg_fail(9)) SWIG_fail
;
13392 arg10
= static_cast<int >(SWIG_As_int(obj9
));
13393 if (SWIG_arg_fail(10)) SWIG_fail
;
13398 arg11
= wxString_in_helper(obj10
);
13399 if (arg11
== NULL
) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13435 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
= NULL
;
13437 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13446 if (SWIG_arg_fail(1)) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_From_int(static_cast<int >(result
));
13463 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
= NULL
;
13465 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 PyObject
* obj1
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self",(char *) "value", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13475 if (SWIG_arg_fail(1)) SWIG_fail
;
13477 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13478 if (SWIG_arg_fail(2)) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 (arg1
)->SetValue(arg2
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 Py_INCREF(Py_None
); resultobj
= Py_None
;
13494 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
= NULL
;
13496 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13497 wxString
*arg2
= 0 ;
13498 bool temp2
= false ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "text", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13507 if (SWIG_arg_fail(1)) SWIG_fail
;
13509 arg2
= wxString_in_helper(obj1
);
13510 if (arg2
== NULL
) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 (arg1
)->SetValue((wxString
const &)*arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 Py_INCREF(Py_None
); resultobj
= Py_None
;
13535 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
= NULL
;
13537 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13540 PyObject
* obj0
= 0 ;
13541 PyObject
* obj1
= 0 ;
13542 PyObject
* obj2
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13549 if (SWIG_arg_fail(1)) SWIG_fail
;
13551 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13552 if (SWIG_arg_fail(2)) SWIG_fail
;
13555 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13556 if (SWIG_arg_fail(3)) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 (arg1
)->SetRange(arg2
,arg3
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 Py_INCREF(Py_None
); resultobj
= Py_None
;
13572 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
= NULL
;
13574 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13576 PyObject
* obj0
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "self", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13583 if (SWIG_arg_fail(1)) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_From_int(static_cast<int >(result
));
13600 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
= NULL
;
13602 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13611 if (SWIG_arg_fail(1)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_From_int(static_cast<int >(result
));
13628 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
= NULL
;
13630 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 PyObject
* obj2
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self",(char *) "from",(char *) "to", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13642 if (SWIG_arg_fail(1)) SWIG_fail
;
13644 arg2
= static_cast<long >(SWIG_As_long(obj1
));
13645 if (SWIG_arg_fail(2)) SWIG_fail
;
13648 arg3
= static_cast<long >(SWIG_As_long(obj2
));
13649 if (SWIG_arg_fail(3)) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 (arg1
)->SetSelection(arg2
,arg3
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 Py_INCREF(Py_None
); resultobj
= Py_None
;
13665 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
= NULL
;
13667 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13668 wxVisualAttributes result
;
13669 PyObject
* obj0
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "variant", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13677 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13678 if (SWIG_arg_fail(1)) SWIG_fail
;
13682 if (!wxPyCheckForApp()) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13690 wxVisualAttributes
* resultptr
;
13691 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13700 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13703 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13705 return Py_BuildValue((char *)"");
13707 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
= NULL
;
13709 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13710 int arg2
= (int) 0 ;
13711 wxSpinEvent
*result
;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "commandType",(char *) "winid", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13721 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13722 if (SWIG_arg_fail(1)) SWIG_fail
;
13727 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13728 if (SWIG_arg_fail(2)) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13745 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13746 PyObject
*resultobj
= NULL
;
13747 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13749 PyObject
* obj0
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13756 if (SWIG_arg_fail(1)) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= SWIG_From_int(static_cast<int >(result
));
13773 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= NULL
;
13775 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self",(char *) "pos", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13785 if (SWIG_arg_fail(1)) SWIG_fail
;
13787 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13788 if (SWIG_arg_fail(2)) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 (arg1
)->SetPosition(arg2
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 Py_INCREF(Py_None
); resultobj
= Py_None
;
13804 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13807 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13809 return Py_BuildValue((char *)"");
13811 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13812 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13817 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13818 PyObject
*pyobj
= NULL
;
13822 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13824 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13831 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13832 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13837 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13838 PyObject
*pyobj
= NULL
;
13842 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13844 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13851 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
= NULL
;
13853 wxWindow
*arg1
= (wxWindow
*) 0 ;
13854 int arg2
= (int) -1 ;
13855 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13861 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13862 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13863 int arg7
= (int) 0 ;
13864 long arg8
= (long) wxRA_HORIZONTAL
;
13865 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13866 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13867 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13868 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13869 wxRadioBox
*result
;
13870 bool temp3
= false ;
13873 bool temp6
= false ;
13874 bool temp10
= false ;
13875 PyObject
* obj0
= 0 ;
13876 PyObject
* obj1
= 0 ;
13877 PyObject
* obj2
= 0 ;
13878 PyObject
* obj3
= 0 ;
13879 PyObject
* obj4
= 0 ;
13880 PyObject
* obj5
= 0 ;
13881 PyObject
* obj6
= 0 ;
13882 PyObject
* obj7
= 0 ;
13883 PyObject
* obj8
= 0 ;
13884 PyObject
* obj9
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail
;
13894 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13895 if (SWIG_arg_fail(2)) SWIG_fail
;
13900 arg3
= wxString_in_helper(obj2
);
13901 if (arg3
== NULL
) SWIG_fail
;
13908 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13914 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13919 if (! PySequence_Check(obj5
)) {
13920 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13923 arg6
= new wxArrayString
;
13925 int i
, len
=PySequence_Length(obj5
);
13926 for (i
=0; i
<len
; i
++) {
13927 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13928 wxString
* s
= wxString_in_helper(item
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13938 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13939 if (SWIG_arg_fail(7)) SWIG_fail
;
13944 arg8
= static_cast<long >(SWIG_As_long(obj7
));
13945 if (SWIG_arg_fail(8)) SWIG_fail
;
13950 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13951 if (SWIG_arg_fail(9)) SWIG_fail
;
13952 if (arg9
== NULL
) {
13953 SWIG_null_ref("wxValidator");
13955 if (SWIG_arg_fail(9)) SWIG_fail
;
13960 arg10
= wxString_in_helper(obj9
);
13961 if (arg10
== NULL
) SWIG_fail
;
13966 if (!wxPyCheckForApp()) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 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
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13979 if (temp6
) delete arg6
;
13992 if (temp6
) delete arg6
;
14002 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
= NULL
;
14004 wxRadioBox
*result
;
14005 char *kwnames
[] = {
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
14011 if (!wxPyCheckForApp()) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= (wxRadioBox
*)new wxRadioBox();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
14025 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
= NULL
;
14027 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14028 wxWindow
*arg2
= (wxWindow
*) 0 ;
14029 int arg3
= (int) -1 ;
14030 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14031 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14032 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14033 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14034 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14035 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14036 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
14037 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
14038 int arg8
= (int) 0 ;
14039 long arg9
= (long) wxRA_HORIZONTAL
;
14040 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14041 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14042 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
14043 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14045 bool temp4
= false ;
14048 bool temp7
= false ;
14049 bool temp11
= false ;
14050 PyObject
* obj0
= 0 ;
14051 PyObject
* obj1
= 0 ;
14052 PyObject
* obj2
= 0 ;
14053 PyObject
* obj3
= 0 ;
14054 PyObject
* obj4
= 0 ;
14055 PyObject
* obj5
= 0 ;
14056 PyObject
* obj6
= 0 ;
14057 PyObject
* obj7
= 0 ;
14058 PyObject
* obj8
= 0 ;
14059 PyObject
* obj9
= 0 ;
14060 PyObject
* obj10
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14067 if (SWIG_arg_fail(1)) SWIG_fail
;
14068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14069 if (SWIG_arg_fail(2)) SWIG_fail
;
14072 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14073 if (SWIG_arg_fail(3)) SWIG_fail
;
14078 arg4
= wxString_in_helper(obj3
);
14079 if (arg4
== NULL
) SWIG_fail
;
14086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14097 if (! PySequence_Check(obj6
)) {
14098 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14101 arg7
= new wxArrayString
;
14103 int i
, len
=PySequence_Length(obj6
);
14104 for (i
=0; i
<len
; i
++) {
14105 PyObject
* item
= PySequence_GetItem(obj6
, i
);
14106 wxString
* s
= wxString_in_helper(item
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14116 arg8
= static_cast<int >(SWIG_As_int(obj7
));
14117 if (SWIG_arg_fail(8)) SWIG_fail
;
14122 arg9
= static_cast<long >(SWIG_As_long(obj8
));
14123 if (SWIG_arg_fail(9)) SWIG_fail
;
14128 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14129 if (SWIG_arg_fail(10)) SWIG_fail
;
14130 if (arg10
== NULL
) {
14131 SWIG_null_ref("wxValidator");
14133 if (SWIG_arg_fail(10)) SWIG_fail
;
14138 arg11
= wxString_in_helper(obj10
);
14139 if (arg11
== NULL
) SWIG_fail
;
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 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
);
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14158 if (temp7
) delete arg7
;
14171 if (temp7
) delete arg7
;
14181 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14182 PyObject
*resultobj
= NULL
;
14183 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self",(char *) "n", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14193 if (SWIG_arg_fail(1)) SWIG_fail
;
14195 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14196 if (SWIG_arg_fail(2)) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 (arg1
)->SetSelection(arg2
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 Py_INCREF(Py_None
); resultobj
= Py_None
;
14212 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
= NULL
;
14214 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self", NULL
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
14222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14223 if (SWIG_arg_fail(1)) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14232 resultobj
= SWIG_From_int(static_cast<int >(result
));
14240 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14241 PyObject
*resultobj
= NULL
;
14242 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14244 PyObject
* obj0
= 0 ;
14245 char *kwnames
[] = {
14246 (char *) "self", NULL
14249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14251 if (SWIG_arg_fail(1)) SWIG_fail
;
14253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14254 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14272 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
= NULL
;
14274 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14275 wxString
*arg2
= 0 ;
14277 bool temp2
= false ;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "s", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14286 if (SWIG_arg_fail(1)) SWIG_fail
;
14288 arg2
= wxString_in_helper(obj1
);
14289 if (arg2
== NULL
) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14316 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
= NULL
;
14318 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14327 if (SWIG_arg_fail(1)) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_From_int(static_cast<int >(result
));
14344 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
= NULL
;
14346 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14347 wxString
*arg2
= 0 ;
14349 bool temp2
= false ;
14350 PyObject
* obj0
= 0 ;
14351 PyObject
* obj1
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self",(char *) "s", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14358 if (SWIG_arg_fail(1)) SWIG_fail
;
14360 arg2
= wxString_in_helper(obj1
);
14361 if (arg2
== NULL
) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= SWIG_From_int(static_cast<int >(result
));
14388 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
= NULL
;
14390 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 PyObject
* obj1
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self",(char *) "n", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14401 if (SWIG_arg_fail(1)) SWIG_fail
;
14403 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14404 if (SWIG_arg_fail(2)) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14426 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
= NULL
;
14428 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14430 wxString
*arg3
= 0 ;
14431 bool temp3
= false ;
14432 PyObject
* obj0
= 0 ;
14433 PyObject
* obj1
= 0 ;
14434 PyObject
* obj2
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "self",(char *) "n",(char *) "label", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14441 if (SWIG_arg_fail(1)) SWIG_fail
;
14443 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14444 if (SWIG_arg_fail(2)) SWIG_fail
;
14447 arg3
= wxString_in_helper(obj2
);
14448 if (arg3
== NULL
) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 Py_INCREF(Py_None
); resultobj
= Py_None
;
14473 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
= NULL
;
14475 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14477 bool arg3
= (bool) true ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 PyObject
* obj2
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self",(char *) "n",(char *) "enable", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14487 if (SWIG_arg_fail(1)) SWIG_fail
;
14489 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14490 if (SWIG_arg_fail(2)) SWIG_fail
;
14494 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14495 if (SWIG_arg_fail(3)) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 (arg1
)->Enable(arg2
,arg3
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 Py_INCREF(Py_None
); resultobj
= Py_None
;
14512 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
= NULL
;
14514 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14516 bool arg3
= (bool) true ;
14517 PyObject
* obj0
= 0 ;
14518 PyObject
* obj1
= 0 ;
14519 PyObject
* obj2
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "self",(char *) "n",(char *) "show", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14526 if (SWIG_arg_fail(1)) SWIG_fail
;
14528 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14529 if (SWIG_arg_fail(2)) SWIG_fail
;
14533 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14534 if (SWIG_arg_fail(3)) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 (arg1
)->Show(arg2
,arg3
);
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 Py_INCREF(Py_None
); resultobj
= Py_None
;
14551 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
= NULL
;
14553 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14555 PyObject
* obj0
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14562 if (SWIG_arg_fail(1)) SWIG_fail
;
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= SWIG_From_int(static_cast<int >(result
));
14579 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
= NULL
;
14581 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14583 PyObject
* obj0
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14590 if (SWIG_arg_fail(1)) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= SWIG_From_int(static_cast<int >(result
));
14607 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
= NULL
;
14609 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 PyObject
* obj2
= 0 ;
14617 PyObject
* obj3
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14624 if (SWIG_arg_fail(1)) SWIG_fail
;
14626 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14627 if (SWIG_arg_fail(2)) SWIG_fail
;
14630 arg3
= static_cast<wxDirection
>(SWIG_As_int(obj2
));
14631 if (SWIG_arg_fail(3)) SWIG_fail
;
14634 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14635 if (SWIG_arg_fail(4)) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_From_int(static_cast<int >(result
));
14653 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
= NULL
;
14655 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14656 wxVisualAttributes result
;
14657 PyObject
* obj0
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "variant", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14665 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14666 if (SWIG_arg_fail(1)) SWIG_fail
;
14670 if (!wxPyCheckForApp()) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14678 wxVisualAttributes
* resultptr
;
14679 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14688 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14691 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14693 return Py_BuildValue((char *)"");
14695 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
= NULL
;
14697 wxWindow
*arg1
= (wxWindow
*) 0 ;
14698 int arg2
= (int) -1 ;
14699 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14700 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14705 long arg6
= (long) 0 ;
14706 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14707 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14708 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14709 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14710 wxRadioButton
*result
;
14711 bool temp3
= false ;
14714 bool temp8
= false ;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 PyObject
* obj2
= 0 ;
14718 PyObject
* obj3
= 0 ;
14719 PyObject
* obj4
= 0 ;
14720 PyObject
* obj5
= 0 ;
14721 PyObject
* obj6
= 0 ;
14722 PyObject
* obj7
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14729 if (SWIG_arg_fail(1)) SWIG_fail
;
14732 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14733 if (SWIG_arg_fail(2)) SWIG_fail
;
14738 arg3
= wxString_in_helper(obj2
);
14739 if (arg3
== NULL
) SWIG_fail
;
14746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14752 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14757 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14758 if (SWIG_arg_fail(6)) SWIG_fail
;
14763 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14764 if (SWIG_arg_fail(7)) SWIG_fail
;
14765 if (arg7
== NULL
) {
14766 SWIG_null_ref("wxValidator");
14768 if (SWIG_arg_fail(7)) SWIG_fail
;
14773 arg8
= wxString_in_helper(obj7
);
14774 if (arg8
== NULL
) SWIG_fail
;
14779 if (!wxPyCheckForApp()) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14809 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
= NULL
;
14811 wxRadioButton
*result
;
14812 char *kwnames
[] = {
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14818 if (!wxPyCheckForApp()) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (wxRadioButton
*)new wxRadioButton();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14832 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
= NULL
;
14834 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14835 wxWindow
*arg2
= (wxWindow
*) 0 ;
14836 int arg3
= (int) -1 ;
14837 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14838 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14839 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14840 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14841 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14842 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14843 long arg7
= (long) 0 ;
14844 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14845 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14846 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14847 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14849 bool temp4
= false ;
14852 bool temp9
= false ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 PyObject
* obj2
= 0 ;
14856 PyObject
* obj3
= 0 ;
14857 PyObject
* obj4
= 0 ;
14858 PyObject
* obj5
= 0 ;
14859 PyObject
* obj6
= 0 ;
14860 PyObject
* obj7
= 0 ;
14861 PyObject
* obj8
= 0 ;
14862 char *kwnames
[] = {
14863 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14868 if (SWIG_arg_fail(1)) SWIG_fail
;
14869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14870 if (SWIG_arg_fail(2)) SWIG_fail
;
14873 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14874 if (SWIG_arg_fail(3)) SWIG_fail
;
14879 arg4
= wxString_in_helper(obj3
);
14880 if (arg4
== NULL
) SWIG_fail
;
14887 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14893 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14898 arg7
= static_cast<long >(SWIG_As_long(obj6
));
14899 if (SWIG_arg_fail(7)) SWIG_fail
;
14904 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14905 if (SWIG_arg_fail(8)) SWIG_fail
;
14906 if (arg8
== NULL
) {
14907 SWIG_null_ref("wxValidator");
14909 if (SWIG_arg_fail(8)) SWIG_fail
;
14914 arg9
= wxString_in_helper(obj8
);
14915 if (arg9
== NULL
) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14951 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
= NULL
;
14953 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14955 PyObject
* obj0
= 0 ;
14956 char *kwnames
[] = {
14957 (char *) "self", NULL
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14962 if (SWIG_arg_fail(1)) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= (bool)(arg1
)->GetValue();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14979 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
= NULL
;
14981 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14983 PyObject
* obj0
= 0 ;
14984 PyObject
* obj1
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self",(char *) "value", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14991 if (SWIG_arg_fail(1)) SWIG_fail
;
14993 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14994 if (SWIG_arg_fail(2)) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 (arg1
)->SetValue(arg2
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 Py_INCREF(Py_None
); resultobj
= Py_None
;
15010 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
= NULL
;
15012 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15013 wxVisualAttributes result
;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "variant", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15022 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
15023 if (SWIG_arg_fail(1)) SWIG_fail
;
15027 if (!wxPyCheckForApp()) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15035 wxVisualAttributes
* resultptr
;
15036 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
15037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15045 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
15047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15048 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
15050 return Py_BuildValue((char *)"");
15052 static int _wrap_SliderNameStr_set(PyObject
*) {
15053 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
15058 static PyObject
*_wrap_SliderNameStr_get(void) {
15059 PyObject
*pyobj
= NULL
;
15063 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
15065 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
15072 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
= NULL
;
15074 wxWindow
*arg1
= (wxWindow
*) 0 ;
15075 int arg2
= (int) -1 ;
15076 int arg3
= (int) 0 ;
15077 int arg4
= (int) 0 ;
15078 int arg5
= (int) 100 ;
15079 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15080 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15081 wxSize
const &arg7_defvalue
= wxDefaultSize
;
15082 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
15083 long arg8
= (long) wxSL_HORIZONTAL
;
15084 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15085 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15086 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
15087 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15091 bool temp10
= false ;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 PyObject
* obj2
= 0 ;
15095 PyObject
* obj3
= 0 ;
15096 PyObject
* obj4
= 0 ;
15097 PyObject
* obj5
= 0 ;
15098 PyObject
* obj6
= 0 ;
15099 PyObject
* obj7
= 0 ;
15100 PyObject
* obj8
= 0 ;
15101 PyObject
* obj9
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15108 if (SWIG_arg_fail(1)) SWIG_fail
;
15111 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15112 if (SWIG_arg_fail(2)) SWIG_fail
;
15117 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15118 if (SWIG_arg_fail(3)) SWIG_fail
;
15123 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15124 if (SWIG_arg_fail(4)) SWIG_fail
;
15129 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15130 if (SWIG_arg_fail(5)) SWIG_fail
;
15136 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15142 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
15147 arg8
= static_cast<long >(SWIG_As_long(obj7
));
15148 if (SWIG_arg_fail(8)) SWIG_fail
;
15153 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15154 if (SWIG_arg_fail(9)) SWIG_fail
;
15155 if (arg9
== NULL
) {
15156 SWIG_null_ref("wxValidator");
15158 if (SWIG_arg_fail(9)) SWIG_fail
;
15163 arg10
= wxString_in_helper(obj9
);
15164 if (arg10
== NULL
) SWIG_fail
;
15169 if (!wxPyCheckForApp()) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15191 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
= NULL
;
15194 char *kwnames
[] = {
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
15200 if (!wxPyCheckForApp()) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= (wxSlider
*)new wxSlider();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15214 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
= NULL
;
15216 wxSlider
*arg1
= (wxSlider
*) 0 ;
15217 wxWindow
*arg2
= (wxWindow
*) 0 ;
15218 int arg3
= (int) -1 ;
15219 int arg4
= (int) 0 ;
15220 int arg5
= (int) 0 ;
15221 int arg6
= (int) 100 ;
15222 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15223 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15224 wxSize
const &arg8_defvalue
= wxDefaultSize
;
15225 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
15226 long arg9
= (long) wxSL_HORIZONTAL
;
15227 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15228 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15229 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
15230 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15234 bool temp11
= false ;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 PyObject
* obj2
= 0 ;
15238 PyObject
* obj3
= 0 ;
15239 PyObject
* obj4
= 0 ;
15240 PyObject
* obj5
= 0 ;
15241 PyObject
* obj6
= 0 ;
15242 PyObject
* obj7
= 0 ;
15243 PyObject
* obj8
= 0 ;
15244 PyObject
* obj9
= 0 ;
15245 PyObject
* obj10
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15254 if (SWIG_arg_fail(2)) SWIG_fail
;
15257 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15258 if (SWIG_arg_fail(3)) SWIG_fail
;
15263 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15264 if (SWIG_arg_fail(4)) SWIG_fail
;
15269 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15270 if (SWIG_arg_fail(5)) SWIG_fail
;
15275 arg6
= static_cast<int >(SWIG_As_int(obj5
));
15276 if (SWIG_arg_fail(6)) SWIG_fail
;
15282 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15288 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15293 arg9
= static_cast<long >(SWIG_As_long(obj8
));
15294 if (SWIG_arg_fail(9)) SWIG_fail
;
15299 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15300 if (SWIG_arg_fail(10)) SWIG_fail
;
15301 if (arg10
== NULL
) {
15302 SWIG_null_ref("wxValidator");
15304 if (SWIG_arg_fail(10)) SWIG_fail
;
15309 arg11
= wxString_in_helper(obj10
);
15310 if (arg11
== NULL
) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15338 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
= NULL
;
15340 wxSlider
*arg1
= (wxSlider
*) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15349 if (SWIG_arg_fail(1)) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= SWIG_From_int(static_cast<int >(result
));
15366 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
= NULL
;
15368 wxSlider
*arg1
= (wxSlider
*) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self",(char *) "value", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15378 if (SWIG_arg_fail(1)) SWIG_fail
;
15380 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15381 if (SWIG_arg_fail(2)) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 (arg1
)->SetValue(arg2
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 Py_INCREF(Py_None
); resultobj
= Py_None
;
15397 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
= NULL
;
15399 wxSlider
*arg1
= (wxSlider
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 PyObject
* obj2
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail
;
15413 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15414 if (SWIG_arg_fail(2)) SWIG_fail
;
15417 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15418 if (SWIG_arg_fail(3)) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->SetRange(arg2
,arg3
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 Py_INCREF(Py_None
); resultobj
= Py_None
;
15434 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
= NULL
;
15436 wxSlider
*arg1
= (wxSlider
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15445 if (SWIG_arg_fail(1)) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_From_int(static_cast<int >(result
));
15462 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
= NULL
;
15464 wxSlider
*arg1
= (wxSlider
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_From_int(static_cast<int >(result
));
15490 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
= NULL
;
15492 wxSlider
*arg1
= (wxSlider
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 PyObject
* obj1
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self",(char *) "minValue", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15502 if (SWIG_arg_fail(1)) SWIG_fail
;
15504 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15505 if (SWIG_arg_fail(2)) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 (arg1
)->SetMin(arg2
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 Py_INCREF(Py_None
); resultobj
= Py_None
;
15521 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
= NULL
;
15523 wxSlider
*arg1
= (wxSlider
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "self",(char *) "maxValue", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15533 if (SWIG_arg_fail(1)) SWIG_fail
;
15535 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15536 if (SWIG_arg_fail(2)) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 (arg1
)->SetMax(arg2
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 Py_INCREF(Py_None
); resultobj
= Py_None
;
15552 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
= NULL
;
15554 wxSlider
*arg1
= (wxSlider
*) 0 ;
15556 PyObject
* obj0
= 0 ;
15557 PyObject
* obj1
= 0 ;
15558 char *kwnames
[] = {
15559 (char *) "self",(char *) "lineSize", NULL
15562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15564 if (SWIG_arg_fail(1)) SWIG_fail
;
15566 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15567 if (SWIG_arg_fail(2)) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 (arg1
)->SetLineSize(arg2
);
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 Py_INCREF(Py_None
); resultobj
= Py_None
;
15583 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
= NULL
;
15585 wxSlider
*arg1
= (wxSlider
*) 0 ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "pageSize", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail
;
15597 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15598 if (SWIG_arg_fail(2)) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 (arg1
)->SetPageSize(arg2
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 Py_INCREF(Py_None
); resultobj
= Py_None
;
15614 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
= NULL
;
15616 wxSlider
*arg1
= (wxSlider
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15625 if (SWIG_arg_fail(1)) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= SWIG_From_int(static_cast<int >(result
));
15642 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
= NULL
;
15644 wxSlider
*arg1
= (wxSlider
*) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15653 if (SWIG_arg_fail(1)) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_From_int(static_cast<int >(result
));
15670 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
= NULL
;
15672 wxSlider
*arg1
= (wxSlider
*) 0 ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self",(char *) "lenPixels", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15682 if (SWIG_arg_fail(1)) SWIG_fail
;
15684 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15685 if (SWIG_arg_fail(2)) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 (arg1
)->SetThumbLength(arg2
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 Py_INCREF(Py_None
); resultobj
= Py_None
;
15701 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
= NULL
;
15703 wxSlider
*arg1
= (wxSlider
*) 0 ;
15705 PyObject
* obj0
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15712 if (SWIG_arg_fail(1)) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_From_int(static_cast<int >(result
));
15729 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
= NULL
;
15731 wxSlider
*arg1
= (wxSlider
*) 0 ;
15733 int arg3
= (int) 1 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 PyObject
* obj2
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "self",(char *) "n",(char *) "pos", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15743 if (SWIG_arg_fail(1)) SWIG_fail
;
15745 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15746 if (SWIG_arg_fail(2)) SWIG_fail
;
15750 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15751 if (SWIG_arg_fail(3)) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 (arg1
)->SetTickFreq(arg2
,arg3
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 Py_INCREF(Py_None
); resultobj
= Py_None
;
15768 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
= NULL
;
15770 wxSlider
*arg1
= (wxSlider
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15779 if (SWIG_arg_fail(1)) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_From_int(static_cast<int >(result
));
15796 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
= NULL
;
15798 wxSlider
*arg1
= (wxSlider
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15806 if (SWIG_arg_fail(1)) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 (arg1
)->ClearTicks();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
= NULL
;
15823 wxSlider
*arg1
= (wxSlider
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self",(char *) "tickPos", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15833 if (SWIG_arg_fail(1)) SWIG_fail
;
15835 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15836 if (SWIG_arg_fail(2)) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 (arg1
)->SetTick(arg2
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 Py_INCREF(Py_None
); resultobj
= Py_None
;
15852 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
= NULL
;
15854 wxSlider
*arg1
= (wxSlider
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15862 if (SWIG_arg_fail(1)) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 (arg1
)->ClearSel();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 Py_INCREF(Py_None
); resultobj
= Py_None
;
15877 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= NULL
;
15879 wxSlider
*arg1
= (wxSlider
*) 0 ;
15881 PyObject
* obj0
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15888 if (SWIG_arg_fail(1)) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= SWIG_From_int(static_cast<int >(result
));
15905 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
= NULL
;
15907 wxSlider
*arg1
= (wxSlider
*) 0 ;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15916 if (SWIG_arg_fail(1)) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= SWIG_From_int(static_cast<int >(result
));
15933 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
= NULL
;
15935 wxSlider
*arg1
= (wxSlider
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 PyObject
* obj1
= 0 ;
15940 PyObject
* obj2
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self",(char *) "min",(char *) "max", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15947 if (SWIG_arg_fail(1)) SWIG_fail
;
15949 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15950 if (SWIG_arg_fail(2)) SWIG_fail
;
15953 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15954 if (SWIG_arg_fail(3)) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 (arg1
)->SetSelection(arg2
,arg3
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 Py_INCREF(Py_None
); resultobj
= Py_None
;
15970 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
= NULL
;
15972 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15973 wxVisualAttributes result
;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "variant", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15982 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
15983 if (SWIG_arg_fail(1)) SWIG_fail
;
15987 if (!wxPyCheckForApp()) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= wxSlider::GetClassDefaultAttributes(arg1
);
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 wxVisualAttributes
* resultptr
;
15996 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
15997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16005 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
16007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16008 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
16010 return Py_BuildValue((char *)"");
16012 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
16013 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
16018 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
16019 PyObject
*pyobj
= NULL
;
16023 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
16025 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
16032 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
= NULL
;
16034 wxWindow
*arg1
= (wxWindow
*) 0 ;
16035 int arg2
= (int) -1 ;
16036 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16037 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16038 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16039 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16040 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16041 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16042 long arg6
= (long) 0 ;
16043 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16044 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16045 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
16046 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16047 wxToggleButton
*result
;
16048 bool temp3
= false ;
16051 bool temp8
= false ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 PyObject
* obj2
= 0 ;
16055 PyObject
* obj3
= 0 ;
16056 PyObject
* obj4
= 0 ;
16057 PyObject
* obj5
= 0 ;
16058 PyObject
* obj6
= 0 ;
16059 PyObject
* obj7
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16066 if (SWIG_arg_fail(1)) SWIG_fail
;
16069 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16070 if (SWIG_arg_fail(2)) SWIG_fail
;
16075 arg3
= wxString_in_helper(obj2
);
16076 if (arg3
== NULL
) SWIG_fail
;
16083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16094 arg6
= static_cast<long >(SWIG_As_long(obj5
));
16095 if (SWIG_arg_fail(6)) SWIG_fail
;
16100 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16101 if (SWIG_arg_fail(7)) SWIG_fail
;
16102 if (arg7
== NULL
) {
16103 SWIG_null_ref("wxValidator");
16105 if (SWIG_arg_fail(7)) SWIG_fail
;
16110 arg8
= wxString_in_helper(obj7
);
16111 if (arg8
== NULL
) SWIG_fail
;
16116 if (!wxPyCheckForApp()) SWIG_fail
;
16117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
16146 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
= NULL
;
16148 wxToggleButton
*result
;
16149 char *kwnames
[] = {
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
16155 if (!wxPyCheckForApp()) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (wxToggleButton
*)new wxToggleButton();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
16169 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
= NULL
;
16171 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16172 wxWindow
*arg2
= (wxWindow
*) 0 ;
16173 int arg3
= (int) -1 ;
16174 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16175 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16176 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16177 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16178 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16179 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16180 long arg7
= (long) 0 ;
16181 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16182 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16183 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
16184 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16186 bool temp4
= false ;
16189 bool temp9
= false ;
16190 PyObject
* obj0
= 0 ;
16191 PyObject
* obj1
= 0 ;
16192 PyObject
* obj2
= 0 ;
16193 PyObject
* obj3
= 0 ;
16194 PyObject
* obj4
= 0 ;
16195 PyObject
* obj5
= 0 ;
16196 PyObject
* obj6
= 0 ;
16197 PyObject
* obj7
= 0 ;
16198 PyObject
* obj8
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16205 if (SWIG_arg_fail(1)) SWIG_fail
;
16206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16207 if (SWIG_arg_fail(2)) SWIG_fail
;
16210 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16211 if (SWIG_arg_fail(3)) SWIG_fail
;
16216 arg4
= wxString_in_helper(obj3
);
16217 if (arg4
== NULL
) SWIG_fail
;
16224 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16230 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16235 arg7
= static_cast<long >(SWIG_As_long(obj6
));
16236 if (SWIG_arg_fail(7)) SWIG_fail
;
16241 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16242 if (SWIG_arg_fail(8)) SWIG_fail
;
16243 if (arg8
== NULL
) {
16244 SWIG_null_ref("wxValidator");
16246 if (SWIG_arg_fail(8)) SWIG_fail
;
16251 arg9
= wxString_in_helper(obj8
);
16252 if (arg9
== NULL
) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16288 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
= NULL
;
16290 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 PyObject
* obj1
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self",(char *) "value", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail
;
16302 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16303 if (SWIG_arg_fail(2)) SWIG_fail
;
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 (arg1
)->SetValue(arg2
);
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16312 Py_INCREF(Py_None
); resultobj
= Py_None
;
16319 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
= NULL
;
16321 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16330 if (SWIG_arg_fail(1)) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16347 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
= NULL
;
16349 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16350 wxString
*arg2
= 0 ;
16351 bool temp2
= false ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self",(char *) "label", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16360 if (SWIG_arg_fail(1)) SWIG_fail
;
16362 arg2
= wxString_in_helper(obj1
);
16363 if (arg2
== NULL
) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 (arg1
)->SetLabel((wxString
const &)*arg2
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 Py_INCREF(Py_None
); resultobj
= Py_None
;
16388 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
= NULL
;
16390 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16391 wxVisualAttributes result
;
16392 PyObject
* obj0
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "variant", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16400 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16401 if (SWIG_arg_fail(1)) SWIG_fail
;
16405 if (!wxPyCheckForApp()) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16413 wxVisualAttributes
* resultptr
;
16414 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
16415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16423 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16426 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16428 return Py_BuildValue((char *)"");
16430 static int _wrap_NotebookNameStr_set(PyObject
*) {
16431 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16436 static PyObject
*_wrap_NotebookNameStr_get(void) {
16437 PyObject
*pyobj
= NULL
;
16441 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16443 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16450 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
= NULL
;
16452 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16454 PyObject
* obj0
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16461 if (SWIG_arg_fail(1)) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
16478 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
= NULL
;
16480 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 PyObject
* obj1
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self",(char *) "n", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16491 if (SWIG_arg_fail(1)) SWIG_fail
;
16493 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16494 if (SWIG_arg_fail(2)) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= wxPyMake_wxObject(result
, 0);
16512 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
= NULL
;
16514 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16516 PyObject
* obj0
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16523 if (SWIG_arg_fail(1)) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= wxPyMake_wxObject(result
, 0);
16540 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
= NULL
;
16542 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16544 PyObject
* obj0
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16551 if (SWIG_arg_fail(1)) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= SWIG_From_int(static_cast<int >(result
));
16568 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
= NULL
;
16570 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16572 wxString
*arg3
= 0 ;
16574 bool temp3
= false ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 PyObject
* obj2
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self",(char *) "n",(char *) "strText", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16584 if (SWIG_arg_fail(1)) SWIG_fail
;
16586 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16587 if (SWIG_arg_fail(2)) SWIG_fail
;
16590 arg3
= wxString_in_helper(obj2
);
16591 if (arg3
== NULL
) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16618 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
= NULL
;
16620 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 PyObject
* obj1
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "n", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16631 if (SWIG_arg_fail(1)) SWIG_fail
;
16633 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16634 if (SWIG_arg_fail(2)) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16656 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
= NULL
;
16658 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16659 wxImageList
*arg2
= (wxImageList
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self",(char *) "imageList", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16668 if (SWIG_arg_fail(1)) SWIG_fail
;
16669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16670 if (SWIG_arg_fail(2)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 (arg1
)->SetImageList(arg2
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 Py_INCREF(Py_None
); resultobj
= Py_None
;
16685 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
= NULL
;
16687 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16688 wxImageList
*arg2
= (wxImageList
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self",(char *) "imageList", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16697 if (SWIG_arg_fail(1)) SWIG_fail
;
16698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16699 if (SWIG_arg_fail(2)) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->AssignImageList(arg2
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 Py_INCREF(Py_None
); resultobj
= Py_None
;
16714 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
= NULL
;
16716 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16717 wxImageList
*result
;
16718 PyObject
* obj0
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16725 if (SWIG_arg_fail(1)) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16742 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
= NULL
;
16744 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self",(char *) "n", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16755 if (SWIG_arg_fail(1)) SWIG_fail
;
16757 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16758 if (SWIG_arg_fail(2)) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= SWIG_From_int(static_cast<int >(result
));
16776 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
= NULL
;
16778 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 PyObject
* obj2
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self",(char *) "n",(char *) "imageId", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail
;
16793 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16794 if (SWIG_arg_fail(2)) SWIG_fail
;
16797 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16798 if (SWIG_arg_fail(3)) SWIG_fail
;
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16816 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
= NULL
;
16818 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16821 PyObject
* obj0
= 0 ;
16822 PyObject
* obj1
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self",(char *) "size", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16829 if (SWIG_arg_fail(1)) SWIG_fail
;
16832 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16838 wxPyEndAllowThreads(__tstate
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16841 Py_INCREF(Py_None
); resultobj
= Py_None
;
16848 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
= NULL
;
16850 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 PyObject
* obj1
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "self",(char *) "sizePage", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16862 if (SWIG_arg_fail(1)) SWIG_fail
;
16865 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16875 wxSize
* resultptr
;
16876 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16885 static PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
= NULL
;
16887 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16888 unsigned int result
;
16889 PyObject
* obj0
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames
,&obj0
)) goto fail
;
16895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16896 if (SWIG_arg_fail(1)) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
16913 static PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
= NULL
;
16915 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16916 unsigned int arg2
;
16917 PyObject
* obj0
= 0 ;
16918 PyObject
* obj1
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "self",(char *) "internalBorder", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
16924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16925 if (SWIG_arg_fail(1)) SWIG_fail
;
16927 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
16928 if (SWIG_arg_fail(2)) SWIG_fail
;
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 (arg1
)->SetInternalBorder(arg2
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 Py_INCREF(Py_None
); resultobj
= Py_None
;
16944 static PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
= NULL
;
16946 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16948 PyObject
* obj0
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "self", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16955 if (SWIG_arg_fail(1)) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16972 static PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
= NULL
;
16974 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self",(char *) "fit", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16984 if (SWIG_arg_fail(1)) SWIG_fail
;
16986 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16987 if (SWIG_arg_fail(2)) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 (arg1
)->SetFitToCurrentPage(arg2
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16996 Py_INCREF(Py_None
); resultobj
= Py_None
;
17003 static PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
= NULL
;
17005 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17007 PyObject
* obj0
= 0 ;
17008 char *kwnames
[] = {
17009 (char *) "self", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames
,&obj0
)) goto fail
;
17013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17014 if (SWIG_arg_fail(1)) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17031 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
= NULL
;
17033 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "self",(char *) "n", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
17043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17044 if (SWIG_arg_fail(1)) SWIG_fail
;
17046 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17047 if (SWIG_arg_fail(2)) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 result
= (bool)(arg1
)->DeletePage(arg2
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17065 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
= NULL
;
17067 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17070 PyObject
* obj0
= 0 ;
17071 PyObject
* obj1
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self",(char *) "n", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
17077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17078 if (SWIG_arg_fail(1)) SWIG_fail
;
17080 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17081 if (SWIG_arg_fail(2)) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (bool)(arg1
)->RemovePage(arg2
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17099 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
= NULL
;
17101 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17103 PyObject
* obj0
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "self", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
17109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17110 if (SWIG_arg_fail(1)) SWIG_fail
;
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 result
= (bool)(arg1
)->DeleteAllPages();
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17127 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
= NULL
;
17129 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17130 wxWindow
*arg2
= (wxWindow
*) 0 ;
17131 wxString
*arg3
= 0 ;
17132 bool arg4
= (bool) false ;
17133 int arg5
= (int) -1 ;
17135 bool temp3
= false ;
17136 PyObject
* obj0
= 0 ;
17137 PyObject
* obj1
= 0 ;
17138 PyObject
* obj2
= 0 ;
17139 PyObject
* obj3
= 0 ;
17140 PyObject
* obj4
= 0 ;
17141 char *kwnames
[] = {
17142 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17147 if (SWIG_arg_fail(1)) SWIG_fail
;
17148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17149 if (SWIG_arg_fail(2)) SWIG_fail
;
17151 arg3
= wxString_in_helper(obj2
);
17152 if (arg3
== NULL
) SWIG_fail
;
17157 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
17158 if (SWIG_arg_fail(4)) SWIG_fail
;
17163 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17164 if (SWIG_arg_fail(5)) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17191 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= NULL
;
17193 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17195 wxWindow
*arg3
= (wxWindow
*) 0 ;
17196 wxString
*arg4
= 0 ;
17197 bool arg5
= (bool) false ;
17198 int arg6
= (int) -1 ;
17200 bool temp4
= false ;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 PyObject
* obj2
= 0 ;
17204 PyObject
* obj3
= 0 ;
17205 PyObject
* obj4
= 0 ;
17206 PyObject
* obj5
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17213 if (SWIG_arg_fail(1)) SWIG_fail
;
17215 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17216 if (SWIG_arg_fail(2)) SWIG_fail
;
17218 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17219 if (SWIG_arg_fail(3)) SWIG_fail
;
17221 arg4
= wxString_in_helper(obj3
);
17222 if (arg4
== NULL
) SWIG_fail
;
17227 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
17228 if (SWIG_arg_fail(5)) SWIG_fail
;
17233 arg6
= static_cast<int >(SWIG_As_int(obj5
));
17234 if (SWIG_arg_fail(6)) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17261 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
= NULL
;
17263 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17266 PyObject
* obj0
= 0 ;
17267 PyObject
* obj1
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self",(char *) "n", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail
;
17276 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17277 if (SWIG_arg_fail(2)) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (int)(arg1
)->SetSelection(arg2
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= SWIG_From_int(static_cast<int >(result
));
17295 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17296 PyObject
*resultobj
= NULL
;
17297 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17298 bool arg2
= (bool) true ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self",(char *) "forward", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17307 if (SWIG_arg_fail(1)) SWIG_fail
;
17310 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17311 if (SWIG_arg_fail(2)) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 (arg1
)->AdvanceSelection(arg2
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 Py_INCREF(Py_None
); resultobj
= Py_None
;
17328 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
= NULL
;
17330 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17331 wxVisualAttributes result
;
17332 PyObject
* obj0
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "variant", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17340 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17341 if (SWIG_arg_fail(1)) SWIG_fail
;
17345 if (!wxPyCheckForApp()) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 wxVisualAttributes
* resultptr
;
17354 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17363 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
17365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17366 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
17368 return Py_BuildValue((char *)"");
17370 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
= NULL
;
17372 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17373 int arg2
= (int) 0 ;
17374 int arg3
= (int) -1 ;
17375 int arg4
= (int) -1 ;
17376 wxBookCtrlBaseEvent
*result
;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 PyObject
* obj2
= 0 ;
17380 PyObject
* obj3
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17388 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17389 if (SWIG_arg_fail(1)) SWIG_fail
;
17394 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17395 if (SWIG_arg_fail(2)) SWIG_fail
;
17400 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17401 if (SWIG_arg_fail(3)) SWIG_fail
;
17406 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17407 if (SWIG_arg_fail(4)) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17424 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
= NULL
;
17426 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17435 if (SWIG_arg_fail(1)) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= SWIG_From_int(static_cast<int >(result
));
17452 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
= NULL
;
17454 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self",(char *) "nSel", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17464 if (SWIG_arg_fail(1)) SWIG_fail
;
17466 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17467 if (SWIG_arg_fail(2)) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->SetSelection(arg2
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
= NULL
;
17485 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17487 PyObject
* obj0
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17494 if (SWIG_arg_fail(1)) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= SWIG_From_int(static_cast<int >(result
));
17511 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
= NULL
;
17513 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 PyObject
* obj1
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "self",(char *) "nOldSel", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17523 if (SWIG_arg_fail(1)) SWIG_fail
;
17525 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17526 if (SWIG_arg_fail(2)) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 (arg1
)->SetOldSelection(arg2
);
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 Py_INCREF(Py_None
); resultobj
= Py_None
;
17542 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17545 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17547 return Py_BuildValue((char *)"");
17549 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
= NULL
;
17551 wxWindow
*arg1
= (wxWindow
*) 0 ;
17552 int arg2
= (int) -1 ;
17553 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17554 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17555 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17556 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17557 long arg5
= (long) 0 ;
17558 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17559 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17560 wxNotebook
*result
;
17563 bool temp6
= false ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 PyObject
* obj2
= 0 ;
17567 PyObject
* obj3
= 0 ;
17568 PyObject
* obj4
= 0 ;
17569 PyObject
* obj5
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17576 if (SWIG_arg_fail(1)) SWIG_fail
;
17579 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17580 if (SWIG_arg_fail(2)) SWIG_fail
;
17586 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17592 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17597 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17598 if (SWIG_arg_fail(5)) SWIG_fail
;
17603 arg6
= wxString_in_helper(obj5
);
17604 if (arg6
== NULL
) SWIG_fail
;
17609 if (!wxPyCheckForApp()) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17631 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
= NULL
;
17633 wxNotebook
*result
;
17634 char *kwnames
[] = {
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17640 if (!wxPyCheckForApp()) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= (wxNotebook
*)new wxNotebook();
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17654 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
= NULL
;
17656 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17657 wxWindow
*arg2
= (wxWindow
*) 0 ;
17658 int arg3
= (int) -1 ;
17659 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17660 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17661 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17662 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17663 long arg6
= (long) 0 ;
17664 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17665 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17669 bool temp7
= false ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 PyObject
* obj2
= 0 ;
17673 PyObject
* obj3
= 0 ;
17674 PyObject
* obj4
= 0 ;
17675 PyObject
* obj5
= 0 ;
17676 PyObject
* obj6
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17683 if (SWIG_arg_fail(1)) SWIG_fail
;
17684 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17685 if (SWIG_arg_fail(2)) SWIG_fail
;
17688 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17689 if (SWIG_arg_fail(3)) SWIG_fail
;
17695 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17701 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17706 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17707 if (SWIG_arg_fail(6)) SWIG_fail
;
17712 arg7
= wxString_in_helper(obj6
);
17713 if (arg7
== NULL
) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17741 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
= NULL
;
17743 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17745 PyObject
* obj0
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17752 if (SWIG_arg_fail(1)) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= SWIG_From_int(static_cast<int >(result
));
17769 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
= NULL
;
17771 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self",(char *) "padding", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17782 if (SWIG_arg_fail(1)) SWIG_fail
;
17785 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 Py_INCREF(Py_None
); resultobj
= Py_None
;
17801 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
= NULL
;
17803 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self",(char *) "sz", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17814 if (SWIG_arg_fail(1)) SWIG_fail
;
17817 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 Py_INCREF(Py_None
); resultobj
= Py_None
;
17833 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
= NULL
;
17835 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17836 wxPoint
*arg2
= 0 ;
17837 long *arg3
= (long *) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self",(char *) "pt", NULL
17848 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17851 if (SWIG_arg_fail(1)) SWIG_fail
;
17854 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= SWIG_From_int(static_cast<int >(result
));
17866 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17867 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17874 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
= NULL
;
17876 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 PyObject
* obj1
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self",(char *) "sizePage", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17888 if (SWIG_arg_fail(1)) SWIG_fail
;
17891 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17901 wxSize
* resultptr
;
17902 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17911 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
= NULL
;
17913 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17922 if (SWIG_arg_fail(1)) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 wxColour
* resultptr
;
17932 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
17933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17941 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
= NULL
;
17943 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17944 wxVisualAttributes result
;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "variant", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17953 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17954 if (SWIG_arg_fail(1)) SWIG_fail
;
17958 if (!wxPyCheckForApp()) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17966 wxVisualAttributes
* resultptr
;
17967 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17976 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17979 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17981 return Py_BuildValue((char *)"");
17983 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
= NULL
;
17985 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17986 int arg2
= (int) 0 ;
17987 int arg3
= (int) -1 ;
17988 int arg4
= (int) -1 ;
17989 wxNotebookEvent
*result
;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 PyObject
* obj2
= 0 ;
17993 PyObject
* obj3
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18001 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18002 if (SWIG_arg_fail(1)) SWIG_fail
;
18007 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18008 if (SWIG_arg_fail(2)) SWIG_fail
;
18013 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18014 if (SWIG_arg_fail(3)) SWIG_fail
;
18019 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18020 if (SWIG_arg_fail(4)) SWIG_fail
;
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
18037 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18040 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
18042 return Py_BuildValue((char *)"");
18044 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
= NULL
;
18046 wxWindow
*arg1
= (wxWindow
*) 0 ;
18047 int arg2
= (int) -1 ;
18048 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18049 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18050 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18051 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18052 long arg5
= (long) 0 ;
18053 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18054 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18055 wxListbook
*result
;
18058 bool temp6
= false ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 PyObject
* obj2
= 0 ;
18062 PyObject
* obj3
= 0 ;
18063 PyObject
* obj4
= 0 ;
18064 PyObject
* obj5
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18071 if (SWIG_arg_fail(1)) SWIG_fail
;
18074 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18075 if (SWIG_arg_fail(2)) SWIG_fail
;
18081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18092 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18093 if (SWIG_arg_fail(5)) SWIG_fail
;
18098 arg6
= wxString_in_helper(obj5
);
18099 if (arg6
== NULL
) SWIG_fail
;
18104 if (!wxPyCheckForApp()) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
18126 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18127 PyObject
*resultobj
= NULL
;
18128 wxListbook
*result
;
18129 char *kwnames
[] = {
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
18135 if (!wxPyCheckForApp()) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 result
= (wxListbook
*)new wxListbook();
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
18149 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
= NULL
;
18151 wxListbook
*arg1
= (wxListbook
*) 0 ;
18152 wxWindow
*arg2
= (wxWindow
*) 0 ;
18153 int arg3
= (int) -1 ;
18154 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18155 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18156 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18157 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18158 long arg6
= (long) 0 ;
18159 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18160 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18164 bool temp7
= false ;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18167 PyObject
* obj2
= 0 ;
18168 PyObject
* obj3
= 0 ;
18169 PyObject
* obj4
= 0 ;
18170 PyObject
* obj5
= 0 ;
18171 PyObject
* obj6
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18178 if (SWIG_arg_fail(1)) SWIG_fail
;
18179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18180 if (SWIG_arg_fail(2)) SWIG_fail
;
18183 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18184 if (SWIG_arg_fail(3)) SWIG_fail
;
18190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18196 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18201 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18202 if (SWIG_arg_fail(6)) SWIG_fail
;
18207 arg7
= wxString_in_helper(obj6
);
18208 if (arg7
== NULL
) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18236 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
= NULL
;
18238 wxListbook
*arg1
= (wxListbook
*) 0 ;
18239 wxListView
*result
;
18240 PyObject
* obj0
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
18246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18247 if (SWIG_arg_fail(1)) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (wxListView
*)(arg1
)->GetListView();
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
18262 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
18264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18265 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
18267 return Py_BuildValue((char *)"");
18269 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
= NULL
;
18271 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18272 int arg2
= (int) 0 ;
18273 int arg3
= (int) -1 ;
18274 int arg4
= (int) -1 ;
18275 wxListbookEvent
*result
;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 PyObject
* obj2
= 0 ;
18279 PyObject
* obj3
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18287 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18288 if (SWIG_arg_fail(1)) SWIG_fail
;
18293 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18294 if (SWIG_arg_fail(2)) SWIG_fail
;
18299 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18300 if (SWIG_arg_fail(3)) SWIG_fail
;
18305 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18306 if (SWIG_arg_fail(4)) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
18323 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
18325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18326 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
18328 return Py_BuildValue((char *)"");
18330 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
= NULL
;
18332 wxWindow
*arg1
= (wxWindow
*) 0 ;
18334 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18335 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18336 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18337 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18338 long arg5
= (long) 0 ;
18339 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18340 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18341 wxChoicebook
*result
;
18344 bool temp6
= false ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 PyObject
* obj2
= 0 ;
18348 PyObject
* obj3
= 0 ;
18349 PyObject
* obj4
= 0 ;
18350 PyObject
* obj5
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18357 if (SWIG_arg_fail(1)) SWIG_fail
;
18359 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18360 if (SWIG_arg_fail(2)) SWIG_fail
;
18365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18371 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18376 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18377 if (SWIG_arg_fail(5)) SWIG_fail
;
18382 arg6
= wxString_in_helper(obj5
);
18383 if (arg6
== NULL
) SWIG_fail
;
18388 if (!wxPyCheckForApp()) SWIG_fail
;
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18410 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
= NULL
;
18412 wxChoicebook
*result
;
18413 char *kwnames
[] = {
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18419 if (!wxPyCheckForApp()) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 result
= (wxChoicebook
*)new wxChoicebook();
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18433 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
= NULL
;
18435 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18436 wxWindow
*arg2
= (wxWindow
*) 0 ;
18438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18442 long arg6
= (long) 0 ;
18443 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18448 bool temp7
= false ;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 PyObject
* obj2
= 0 ;
18452 PyObject
* obj3
= 0 ;
18453 PyObject
* obj4
= 0 ;
18454 PyObject
* obj5
= 0 ;
18455 PyObject
* obj6
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18462 if (SWIG_arg_fail(1)) SWIG_fail
;
18463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18464 if (SWIG_arg_fail(2)) SWIG_fail
;
18466 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18467 if (SWIG_arg_fail(3)) SWIG_fail
;
18472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18483 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18484 if (SWIG_arg_fail(6)) SWIG_fail
;
18489 arg7
= wxString_in_helper(obj6
);
18490 if (arg7
== NULL
) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18518 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
= NULL
;
18520 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18544 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
= NULL
;
18546 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18555 if (SWIG_arg_fail(1)) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 result
= (bool)(arg1
)->DeleteAllPages();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18572 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18575 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18577 return Py_BuildValue((char *)"");
18579 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
= NULL
;
18581 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18582 int arg2
= (int) 0 ;
18583 int arg3
= (int) -1 ;
18584 int arg4
= (int) -1 ;
18585 wxChoicebookEvent
*result
;
18586 PyObject
* obj0
= 0 ;
18587 PyObject
* obj1
= 0 ;
18588 PyObject
* obj2
= 0 ;
18589 PyObject
* obj3
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18597 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18598 if (SWIG_arg_fail(1)) SWIG_fail
;
18603 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18604 if (SWIG_arg_fail(2)) SWIG_fail
;
18609 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18610 if (SWIG_arg_fail(3)) SWIG_fail
;
18615 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18616 if (SWIG_arg_fail(4)) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18633 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18636 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18638 return Py_BuildValue((char *)"");
18640 static PyObject
*_wrap_new_Treebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
= NULL
;
18642 wxWindow
*arg1
= (wxWindow
*) 0 ;
18644 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18645 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18646 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18647 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18648 long arg5
= (long) wxBK_DEFAULT
;
18649 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18650 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18651 wxTreebook
*result
;
18654 bool temp6
= false ;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 PyObject
* obj2
= 0 ;
18658 PyObject
* obj3
= 0 ;
18659 PyObject
* obj4
= 0 ;
18660 PyObject
* obj5
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail
;
18669 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18670 if (SWIG_arg_fail(2)) SWIG_fail
;
18675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18681 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18686 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18687 if (SWIG_arg_fail(5)) SWIG_fail
;
18692 arg6
= wxString_in_helper(obj5
);
18693 if (arg6
== NULL
) SWIG_fail
;
18698 if (!wxPyCheckForApp()) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebook
, 1);
18720 static PyObject
*_wrap_new_PreTreebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
= NULL
;
18722 wxTreebook
*result
;
18723 char *kwnames
[] = {
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreebook",kwnames
)) goto fail
;
18729 if (!wxPyCheckForApp()) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 result
= (wxTreebook
*)new wxTreebook();
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebook
, 1);
18743 static PyObject
*_wrap_Treebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
= NULL
;
18745 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18746 wxWindow
*arg2
= (wxWindow
*) 0 ;
18748 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18749 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18750 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18751 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18752 long arg6
= (long) wxBK_DEFAULT
;
18753 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18754 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18758 bool temp7
= false ;
18759 PyObject
* obj0
= 0 ;
18760 PyObject
* obj1
= 0 ;
18761 PyObject
* obj2
= 0 ;
18762 PyObject
* obj3
= 0 ;
18763 PyObject
* obj4
= 0 ;
18764 PyObject
* obj5
= 0 ;
18765 PyObject
* obj6
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18772 if (SWIG_arg_fail(1)) SWIG_fail
;
18773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18774 if (SWIG_arg_fail(2)) SWIG_fail
;
18776 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18777 if (SWIG_arg_fail(3)) SWIG_fail
;
18782 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18788 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18793 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18794 if (SWIG_arg_fail(6)) SWIG_fail
;
18799 arg7
= wxString_in_helper(obj6
);
18800 if (arg7
== NULL
) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18828 static PyObject
*_wrap_Treebook_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
= NULL
;
18830 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18832 wxWindow
*arg3
= (wxWindow
*) 0 ;
18833 wxString
*arg4
= 0 ;
18834 bool arg5
= (bool) false ;
18835 int arg6
= (int) wxNOT_FOUND
;
18837 bool temp4
= false ;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 PyObject
* obj2
= 0 ;
18841 PyObject
* obj3
= 0 ;
18842 PyObject
* obj4
= 0 ;
18843 PyObject
* obj5
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18850 if (SWIG_arg_fail(1)) SWIG_fail
;
18852 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18853 if (SWIG_arg_fail(2)) SWIG_fail
;
18855 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18856 if (SWIG_arg_fail(3)) SWIG_fail
;
18858 arg4
= wxString_in_helper(obj3
);
18859 if (arg4
== NULL
) SWIG_fail
;
18864 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
18865 if (SWIG_arg_fail(5)) SWIG_fail
;
18870 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18871 if (SWIG_arg_fail(6)) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18898 static PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
= NULL
;
18900 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18902 wxWindow
*arg3
= (wxWindow
*) 0 ;
18903 wxString
*arg4
= 0 ;
18904 bool arg5
= (bool) false ;
18905 int arg6
= (int) wxNOT_FOUND
;
18907 bool temp4
= false ;
18908 PyObject
* obj0
= 0 ;
18909 PyObject
* obj1
= 0 ;
18910 PyObject
* obj2
= 0 ;
18911 PyObject
* obj3
= 0 ;
18912 PyObject
* obj4
= 0 ;
18913 PyObject
* obj5
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18920 if (SWIG_arg_fail(1)) SWIG_fail
;
18922 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18923 if (SWIG_arg_fail(2)) SWIG_fail
;
18925 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18926 if (SWIG_arg_fail(3)) SWIG_fail
;
18928 arg4
= wxString_in_helper(obj3
);
18929 if (arg4
== NULL
) SWIG_fail
;
18934 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
18935 if (SWIG_arg_fail(5)) SWIG_fail
;
18940 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18941 if (SWIG_arg_fail(6)) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18968 static PyObject
*_wrap_Treebook_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
= NULL
;
18970 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18971 wxWindow
*arg2
= (wxWindow
*) 0 ;
18972 wxString
*arg3
= 0 ;
18973 bool arg4
= (bool) false ;
18974 int arg5
= (int) wxNOT_FOUND
;
18976 bool temp3
= false ;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 PyObject
* obj2
= 0 ;
18980 PyObject
* obj3
= 0 ;
18981 PyObject
* obj4
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail
;
18989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18990 if (SWIG_arg_fail(2)) SWIG_fail
;
18992 arg3
= wxString_in_helper(obj2
);
18993 if (arg3
== NULL
) SWIG_fail
;
18998 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
18999 if (SWIG_arg_fail(4)) SWIG_fail
;
19004 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19005 if (SWIG_arg_fail(5)) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19032 static PyObject
*_wrap_Treebook_AddSubPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
= NULL
;
19034 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19035 wxWindow
*arg2
= (wxWindow
*) 0 ;
19036 wxString
*arg3
= 0 ;
19037 bool arg4
= (bool) false ;
19038 int arg5
= (int) wxNOT_FOUND
;
19040 bool temp3
= false ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 PyObject
* obj2
= 0 ;
19044 PyObject
* obj3
= 0 ;
19045 PyObject
* obj4
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19052 if (SWIG_arg_fail(1)) SWIG_fail
;
19053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19054 if (SWIG_arg_fail(2)) SWIG_fail
;
19056 arg3
= wxString_in_helper(obj2
);
19057 if (arg3
== NULL
) SWIG_fail
;
19062 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
19063 if (SWIG_arg_fail(4)) SWIG_fail
;
19068 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19069 if (SWIG_arg_fail(5)) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19096 static PyObject
*_wrap_Treebook_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
= NULL
;
19098 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self",(char *) "pos", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
19108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19109 if (SWIG_arg_fail(1)) SWIG_fail
;
19111 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19112 if (SWIG_arg_fail(2)) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= (bool)(arg1
)->DeletePage(arg2
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19130 static PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
= NULL
;
19132 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "pos", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
19142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19143 if (SWIG_arg_fail(1)) SWIG_fail
;
19145 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19146 if (SWIG_arg_fail(2)) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19164 static PyObject
*_wrap_Treebook_ExpandNode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
= NULL
;
19166 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19168 bool arg3
= (bool) true ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 PyObject
* obj2
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "pos",(char *) "expand", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19179 if (SWIG_arg_fail(1)) SWIG_fail
;
19181 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19182 if (SWIG_arg_fail(2)) SWIG_fail
;
19186 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19187 if (SWIG_arg_fail(3)) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19206 static PyObject
*_wrap_Treebook_CollapseNode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
= NULL
;
19208 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self",(char *) "pos", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) goto fail
;
19218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19219 if (SWIG_arg_fail(1)) SWIG_fail
;
19221 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19222 if (SWIG_arg_fail(2)) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 result
= (bool)(arg1
)->CollapseNode(arg2
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19240 static PyObject
*_wrap_Treebook_GetPageParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
= NULL
;
19242 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self",(char *) "pos", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) goto fail
;
19252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19253 if (SWIG_arg_fail(1)) SWIG_fail
;
19255 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19256 if (SWIG_arg_fail(2)) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_From_int(static_cast<int >(result
));
19274 static PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
= NULL
;
19276 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19277 wxTreeCtrl
*result
;
19278 PyObject
* obj0
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Treebook_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
19284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19285 if (SWIG_arg_fail(1)) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeCtrl
, 0);
19300 static PyObject
* Treebook_swigregister(PyObject
*, PyObject
*args
) {
19302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19303 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook
, obj
);
19305 return Py_BuildValue((char *)"");
19307 static PyObject
*_wrap_new_TreebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
= NULL
;
19309 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19310 int arg2
= (int) 0 ;
19311 int arg3
= (int) wxNOT_FOUND
;
19312 int arg4
= (int) wxNOT_FOUND
;
19313 wxTreebookEvent
*result
;
19314 PyObject
* obj0
= 0 ;
19315 PyObject
* obj1
= 0 ;
19316 PyObject
* obj2
= 0 ;
19317 PyObject
* obj3
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19325 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
19326 if (SWIG_arg_fail(1)) SWIG_fail
;
19331 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19332 if (SWIG_arg_fail(2)) SWIG_fail
;
19337 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19338 if (SWIG_arg_fail(3)) SWIG_fail
;
19343 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19344 if (SWIG_arg_fail(4)) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebookEvent
, 1);
19361 static PyObject
* TreebookEvent_swigregister(PyObject
*, PyObject
*args
) {
19363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19364 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent
, obj
);
19366 return Py_BuildValue((char *)"");
19368 static PyObject
*_wrap_new_Toolbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= NULL
;
19370 wxWindow
*arg1
= (wxWindow
*) 0 ;
19372 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19373 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19374 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19375 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19376 long arg5
= (long) wxBK_DEFAULT
;
19377 wxString
const &arg6_defvalue
= wxPyEmptyString
;
19378 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19379 wxToolbook
*result
;
19382 bool temp6
= false ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 PyObject
* obj2
= 0 ;
19386 PyObject
* obj3
= 0 ;
19387 PyObject
* obj4
= 0 ;
19388 PyObject
* obj5
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19395 if (SWIG_arg_fail(1)) SWIG_fail
;
19397 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19398 if (SWIG_arg_fail(2)) SWIG_fail
;
19403 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19409 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19414 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19415 if (SWIG_arg_fail(5)) SWIG_fail
;
19420 arg6
= wxString_in_helper(obj5
);
19421 if (arg6
== NULL
) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbook
, 1);
19447 static PyObject
*_wrap_new_PreToolbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
= NULL
;
19449 wxToolbook
*result
;
19450 char *kwnames
[] = {
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolbook",kwnames
)) goto fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (wxToolbook
*)new wxToolbook();
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbook
, 1);
19469 static PyObject
*_wrap_Toolbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
= NULL
;
19471 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19472 wxWindow
*arg2
= (wxWindow
*) 0 ;
19474 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19475 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19476 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19477 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19478 long arg6
= (long) 0 ;
19479 wxString
const &arg7_defvalue
= wxEmptyString
;
19480 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19484 bool temp7
= false ;
19485 PyObject
* obj0
= 0 ;
19486 PyObject
* obj1
= 0 ;
19487 PyObject
* obj2
= 0 ;
19488 PyObject
* obj3
= 0 ;
19489 PyObject
* obj4
= 0 ;
19490 PyObject
* obj5
= 0 ;
19491 PyObject
* obj6
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19498 if (SWIG_arg_fail(1)) SWIG_fail
;
19499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19500 if (SWIG_arg_fail(2)) SWIG_fail
;
19502 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19503 if (SWIG_arg_fail(3)) SWIG_fail
;
19508 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19514 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19519 arg6
= static_cast<long >(SWIG_As_long(obj5
));
19520 if (SWIG_arg_fail(6)) SWIG_fail
;
19525 arg7
= wxString_in_helper(obj6
);
19526 if (arg7
== NULL
) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19554 static PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
= NULL
;
19556 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19557 wxToolBarBase
*result
;
19558 PyObject
* obj0
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Toolbook_GetToolBar",kwnames
,&obj0
)) goto fail
;
19564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19565 if (SWIG_arg_fail(1)) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19574 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19582 static PyObject
*_wrap_Toolbook_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
= NULL
;
19584 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19585 PyObject
* obj0
= 0 ;
19586 char *kwnames
[] = {
19587 (char *) "self", NULL
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Toolbook_Realize",kwnames
,&obj0
)) goto fail
;
19591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19592 if (SWIG_arg_fail(1)) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 Py_INCREF(Py_None
); resultobj
= Py_None
;
19607 static PyObject
* Toolbook_swigregister(PyObject
*, PyObject
*args
) {
19609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19610 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook
, obj
);
19612 return Py_BuildValue((char *)"");
19614 static PyObject
*_wrap_new_ToolbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= NULL
;
19616 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19617 int arg2
= (int) 0 ;
19618 int arg3
= (int) wxNOT_FOUND
;
19619 int arg4
= (int) wxNOT_FOUND
;
19620 wxToolbookEvent
*result
;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 PyObject
* obj2
= 0 ;
19624 PyObject
* obj3
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19632 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
19633 if (SWIG_arg_fail(1)) SWIG_fail
;
19638 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19639 if (SWIG_arg_fail(2)) SWIG_fail
;
19644 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19645 if (SWIG_arg_fail(3)) SWIG_fail
;
19650 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19651 if (SWIG_arg_fail(4)) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbookEvent
, 1);
19668 static PyObject
* ToolbookEvent_swigregister(PyObject
*, PyObject
*args
) {
19670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19671 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent
, obj
);
19673 return Py_BuildValue((char *)"");
19675 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
= NULL
;
19677 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
19685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (int)(arg1
)->GetId();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19695 resultobj
= SWIG_From_int(static_cast<int >(result
));
19703 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
= NULL
;
19705 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19707 PyObject
* obj0
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
19713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19714 if (SWIG_arg_fail(1)) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 result
= (wxControl
*)(arg1
)->GetControl();
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= wxPyMake_wxObject(result
, 0);
19731 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
= NULL
;
19733 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19734 wxToolBarBase
*result
;
19735 PyObject
* obj0
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
19741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19742 if (SWIG_arg_fail(1)) SWIG_fail
;
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19759 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
= NULL
;
19761 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
19769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19770 if (SWIG_arg_fail(1)) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (int)(arg1
)->IsButton();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19779 resultobj
= SWIG_From_int(static_cast<int >(result
));
19787 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
= NULL
;
19789 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19791 PyObject
* obj0
= 0 ;
19792 char *kwnames
[] = {
19793 (char *) "self", NULL
19796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
19797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19798 if (SWIG_arg_fail(1)) SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (int)(arg1
)->IsControl();
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_From_int(static_cast<int >(result
));
19815 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
= NULL
;
19817 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19819 PyObject
* obj0
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
19825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19826 if (SWIG_arg_fail(1)) SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 result
= (int)(arg1
)->IsSeparator();
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= SWIG_From_int(static_cast<int >(result
));
19843 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
= NULL
;
19845 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19847 PyObject
* obj0
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19854 if (SWIG_arg_fail(1)) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 result
= (int)(arg1
)->GetStyle();
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= SWIG_From_int(static_cast<int >(result
));
19871 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
= NULL
;
19873 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19875 PyObject
* obj0
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
19881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19882 if (SWIG_arg_fail(1)) SWIG_fail
;
19884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19885 result
= (wxItemKind
)(arg1
)->GetKind();
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= SWIG_From_int((result
));
19897 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
= NULL
;
19899 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
19907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19908 if (SWIG_arg_fail(1)) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (bool)(arg1
)->IsEnabled();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19925 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
= NULL
;
19927 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19929 PyObject
* obj0
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "self", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
19935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19936 if (SWIG_arg_fail(1)) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= (bool)(arg1
)->IsToggled();
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19953 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
= NULL
;
19955 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19957 PyObject
* obj0
= 0 ;
19958 char *kwnames
[] = {
19959 (char *) "self", NULL
19962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
19963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19964 if (SWIG_arg_fail(1)) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 result
= (bool)(arg1
)->CanBeToggled();
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19981 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
= NULL
;
19983 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self", NULL
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
19991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
19997 result
= (wxBitmap
*) &_result_ref
;
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20004 wxBitmap
* resultptr
= new wxBitmap(*result
);
20005 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
20013 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
= NULL
;
20015 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 char *kwnames
[] = {
20019 (char *) "self", NULL
20022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
20023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20024 if (SWIG_arg_fail(1)) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
20029 result
= (wxBitmap
*) &_result_ref
;
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20036 wxBitmap
* resultptr
= new wxBitmap(*result
);
20037 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
20045 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
= NULL
;
20047 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
20055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20056 if (SWIG_arg_fail(1)) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (arg1
)->GetBitmap();
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20065 wxBitmap
* resultptr
;
20066 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
20067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
20075 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
= NULL
;
20077 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20079 PyObject
* obj0
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
20085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 result
= (arg1
)->GetLabel();
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20107 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
= NULL
;
20109 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20111 PyObject
* obj0
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "self", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
20117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20118 if (SWIG_arg_fail(1)) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 result
= (arg1
)->GetShortHelp();
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20139 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
= NULL
;
20141 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20143 PyObject
* obj0
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
20149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 result
= (arg1
)->GetLongHelp();
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20171 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
= NULL
;
20173 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self",(char *) "enable", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail
;
20186 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
20187 if (SWIG_arg_fail(2)) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= (bool)(arg1
)->Enable(arg2
);
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20205 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
= NULL
;
20207 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
20214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20215 if (SWIG_arg_fail(1)) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20223 Py_INCREF(Py_None
); resultobj
= Py_None
;
20230 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
= NULL
;
20232 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self",(char *) "toggle", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
20242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20243 if (SWIG_arg_fail(1)) SWIG_fail
;
20245 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
20246 if (SWIG_arg_fail(2)) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= (bool)(arg1
)->SetToggle(arg2
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20264 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
= NULL
;
20266 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20267 wxString
*arg2
= 0 ;
20269 bool temp2
= false ;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20272 char *kwnames
[] = {
20273 (char *) "self",(char *) "help", NULL
20276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20278 if (SWIG_arg_fail(1)) SWIG_fail
;
20280 arg2
= wxString_in_helper(obj1
);
20281 if (arg2
== NULL
) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20308 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
= NULL
;
20310 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20311 wxString
*arg2
= 0 ;
20313 bool temp2
= false ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self",(char *) "help", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20322 if (SWIG_arg_fail(1)) SWIG_fail
;
20324 arg2
= wxString_in_helper(obj1
);
20325 if (arg2
== NULL
) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20352 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
= NULL
;
20354 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20355 wxBitmap
*arg2
= 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self",(char *) "bmp", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
20363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20364 if (SWIG_arg_fail(1)) SWIG_fail
;
20366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20367 if (SWIG_arg_fail(2)) SWIG_fail
;
20368 if (arg2
== NULL
) {
20369 SWIG_null_ref("wxBitmap");
20371 if (SWIG_arg_fail(2)) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 Py_INCREF(Py_None
); resultobj
= Py_None
;
20387 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
= NULL
;
20389 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20390 wxBitmap
*arg2
= 0 ;
20391 PyObject
* obj0
= 0 ;
20392 PyObject
* obj1
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self",(char *) "bmp", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
20398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20399 if (SWIG_arg_fail(1)) SWIG_fail
;
20401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20402 if (SWIG_arg_fail(2)) SWIG_fail
;
20403 if (arg2
== NULL
) {
20404 SWIG_null_ref("wxBitmap");
20406 if (SWIG_arg_fail(2)) SWIG_fail
;
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20415 Py_INCREF(Py_None
); resultobj
= Py_None
;
20422 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
= NULL
;
20424 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20425 wxString
*arg2
= 0 ;
20426 bool temp2
= false ;
20427 PyObject
* obj0
= 0 ;
20428 PyObject
* obj1
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "self",(char *) "label", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20435 if (SWIG_arg_fail(1)) SWIG_fail
;
20437 arg2
= wxString_in_helper(obj1
);
20438 if (arg2
== NULL
) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 (arg1
)->SetLabel((wxString
const &)*arg2
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 Py_INCREF(Py_None
); resultobj
= Py_None
;
20463 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
= NULL
;
20465 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20466 PyObject
* obj0
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
20472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 Py_INCREF(Py_None
); resultobj
= Py_None
;
20488 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
= NULL
;
20490 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20491 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self",(char *) "tbar", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
20499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20500 if (SWIG_arg_fail(1)) SWIG_fail
;
20501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20502 if (SWIG_arg_fail(2)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 (arg1
)->Attach(arg2
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 Py_INCREF(Py_None
); resultobj
= Py_None
;
20517 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
= NULL
;
20519 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
20527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= result
;
20543 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
= NULL
;
20545 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20546 PyObject
*arg2
= (PyObject
*) 0 ;
20547 PyObject
* obj0
= 0 ;
20548 PyObject
* obj1
= 0 ;
20549 char *kwnames
[] = {
20550 (char *) "self",(char *) "clientData", NULL
20553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20555 if (SWIG_arg_fail(1)) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 wxToolBarToolBase_SetClientData(arg1
,arg2
);
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 Py_INCREF(Py_None
); resultobj
= Py_None
;
20571 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
20573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20574 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
20576 return Py_BuildValue((char *)"");
20578 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
= NULL
;
20580 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20582 wxString
*arg3
= 0 ;
20583 wxBitmap
*arg4
= 0 ;
20584 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
20585 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
20586 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
20587 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20588 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20589 wxString
const &arg8_defvalue
= wxPyEmptyString
;
20590 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20591 PyObject
*arg9
= (PyObject
*) NULL
;
20592 wxToolBarToolBase
*result
;
20593 bool temp3
= false ;
20594 bool temp7
= false ;
20595 bool temp8
= false ;
20596 PyObject
* obj0
= 0 ;
20597 PyObject
* obj1
= 0 ;
20598 PyObject
* obj2
= 0 ;
20599 PyObject
* obj3
= 0 ;
20600 PyObject
* obj4
= 0 ;
20601 PyObject
* obj5
= 0 ;
20602 PyObject
* obj6
= 0 ;
20603 PyObject
* obj7
= 0 ;
20604 PyObject
* obj8
= 0 ;
20605 char *kwnames
[] = {
20606 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
20610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20611 if (SWIG_arg_fail(1)) SWIG_fail
;
20613 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20614 if (SWIG_arg_fail(2)) SWIG_fail
;
20617 arg3
= wxString_in_helper(obj2
);
20618 if (arg3
== NULL
) SWIG_fail
;
20622 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20623 if (SWIG_arg_fail(4)) SWIG_fail
;
20624 if (arg4
== NULL
) {
20625 SWIG_null_ref("wxBitmap");
20627 if (SWIG_arg_fail(4)) SWIG_fail
;
20631 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20632 if (SWIG_arg_fail(5)) SWIG_fail
;
20633 if (arg5
== NULL
) {
20634 SWIG_null_ref("wxBitmap");
20636 if (SWIG_arg_fail(5)) SWIG_fail
;
20641 arg6
= static_cast<wxItemKind
>(SWIG_As_int(obj5
));
20642 if (SWIG_arg_fail(6)) SWIG_fail
;
20647 arg7
= wxString_in_helper(obj6
);
20648 if (arg7
== NULL
) SWIG_fail
;
20654 arg8
= wxString_in_helper(obj7
);
20655 if (arg8
== NULL
) SWIG_fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20702 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
= NULL
;
20704 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20707 wxString
*arg4
= 0 ;
20708 wxBitmap
*arg5
= 0 ;
20709 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
20710 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
20711 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
20712 wxString
const &arg8_defvalue
= wxPyEmptyString
;
20713 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20714 wxString
const &arg9_defvalue
= wxPyEmptyString
;
20715 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
20716 PyObject
*arg10
= (PyObject
*) NULL
;
20717 wxToolBarToolBase
*result
;
20718 bool temp4
= false ;
20719 bool temp8
= false ;
20720 bool temp9
= false ;
20721 PyObject
* obj0
= 0 ;
20722 PyObject
* obj1
= 0 ;
20723 PyObject
* obj2
= 0 ;
20724 PyObject
* obj3
= 0 ;
20725 PyObject
* obj4
= 0 ;
20726 PyObject
* obj5
= 0 ;
20727 PyObject
* obj6
= 0 ;
20728 PyObject
* obj7
= 0 ;
20729 PyObject
* obj8
= 0 ;
20730 PyObject
* obj9
= 0 ;
20731 char *kwnames
[] = {
20732 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
20736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20737 if (SWIG_arg_fail(1)) SWIG_fail
;
20739 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20740 if (SWIG_arg_fail(2)) SWIG_fail
;
20743 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20744 if (SWIG_arg_fail(3)) SWIG_fail
;
20747 arg4
= wxString_in_helper(obj3
);
20748 if (arg4
== NULL
) SWIG_fail
;
20752 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20753 if (SWIG_arg_fail(5)) SWIG_fail
;
20754 if (arg5
== NULL
) {
20755 SWIG_null_ref("wxBitmap");
20757 if (SWIG_arg_fail(5)) SWIG_fail
;
20761 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20762 if (SWIG_arg_fail(6)) SWIG_fail
;
20763 if (arg6
== NULL
) {
20764 SWIG_null_ref("wxBitmap");
20766 if (SWIG_arg_fail(6)) SWIG_fail
;
20771 arg7
= static_cast<wxItemKind
>(SWIG_As_int(obj6
));
20772 if (SWIG_arg_fail(7)) SWIG_fail
;
20777 arg8
= wxString_in_helper(obj7
);
20778 if (arg8
== NULL
) SWIG_fail
;
20784 arg9
= wxString_in_helper(obj8
);
20785 if (arg9
== NULL
) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20832 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
= NULL
;
20834 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20835 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
20836 wxToolBarToolBase
*result
;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self",(char *) "tool", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20845 if (SWIG_arg_fail(1)) SWIG_fail
;
20846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20847 if (SWIG_arg_fail(2)) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20864 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
= NULL
;
20866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20868 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
20869 wxToolBarToolBase
*result
;
20870 PyObject
* obj0
= 0 ;
20871 PyObject
* obj1
= 0 ;
20872 PyObject
* obj2
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self",(char *) "pos",(char *) "tool", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20879 if (SWIG_arg_fail(1)) SWIG_fail
;
20881 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20882 if (SWIG_arg_fail(2)) SWIG_fail
;
20884 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20885 if (SWIG_arg_fail(3)) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20902 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
= NULL
;
20904 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20905 wxControl
*arg2
= (wxControl
*) 0 ;
20906 wxToolBarToolBase
*result
;
20907 PyObject
* obj0
= 0 ;
20908 PyObject
* obj1
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self",(char *) "control", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail
;
20916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
20917 if (SWIG_arg_fail(2)) SWIG_fail
;
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20934 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
= NULL
;
20936 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20938 wxControl
*arg3
= (wxControl
*) 0 ;
20939 wxToolBarToolBase
*result
;
20940 PyObject
* obj0
= 0 ;
20941 PyObject
* obj1
= 0 ;
20942 PyObject
* obj2
= 0 ;
20943 char *kwnames
[] = {
20944 (char *) "self",(char *) "pos",(char *) "control", NULL
20947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20949 if (SWIG_arg_fail(1)) SWIG_fail
;
20951 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20952 if (SWIG_arg_fail(2)) SWIG_fail
;
20954 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
20955 if (SWIG_arg_fail(3)) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20964 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20972 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
= NULL
;
20974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self",(char *) "id", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20985 if (SWIG_arg_fail(1)) SWIG_fail
;
20987 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20988 if (SWIG_arg_fail(2)) SWIG_fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= wxPyMake_wxObject(result
, 0);
21006 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
= NULL
;
21008 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21009 wxToolBarToolBase
*result
;
21010 PyObject
* obj0
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
21016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21017 if (SWIG_arg_fail(1)) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21034 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
= NULL
;
21036 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21038 wxToolBarToolBase
*result
;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 char *kwnames
[] = {
21042 (char *) "self",(char *) "pos", NULL
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
21046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21047 if (SWIG_arg_fail(1)) SWIG_fail
;
21049 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
21050 if (SWIG_arg_fail(2)) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21068 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
= NULL
;
21070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21072 wxToolBarToolBase
*result
;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self",(char *) "id", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
21080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail
;
21083 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21084 if (SWIG_arg_fail(2)) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21102 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
= NULL
;
21104 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "self",(char *) "pos", NULL
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
21114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21115 if (SWIG_arg_fail(1)) SWIG_fail
;
21117 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
21118 if (SWIG_arg_fail(2)) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21136 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
= NULL
;
21138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 PyObject
* obj1
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self",(char *) "id", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
21148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21149 if (SWIG_arg_fail(1)) SWIG_fail
;
21151 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21152 if (SWIG_arg_fail(2)) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= (bool)(arg1
)->DeleteTool(arg2
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21170 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
= NULL
;
21172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21173 PyObject
* obj0
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
21179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21180 if (SWIG_arg_fail(1)) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 (arg1
)->ClearTools();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 Py_INCREF(Py_None
); resultobj
= Py_None
;
21195 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
= NULL
;
21197 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
21205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21206 if (SWIG_arg_fail(1)) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (bool)(arg1
)->Realize();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21223 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
= NULL
;
21225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 PyObject
* obj2
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self",(char *) "id",(char *) "enable", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21237 if (SWIG_arg_fail(1)) SWIG_fail
;
21239 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21240 if (SWIG_arg_fail(2)) SWIG_fail
;
21243 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21244 if (SWIG_arg_fail(3)) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 (arg1
)->EnableTool(arg2
,arg3
);
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 Py_INCREF(Py_None
); resultobj
= Py_None
;
21260 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
= NULL
;
21262 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 PyObject
* obj2
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "id",(char *) "toggle", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21274 if (SWIG_arg_fail(1)) SWIG_fail
;
21276 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21277 if (SWIG_arg_fail(2)) SWIG_fail
;
21280 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21281 if (SWIG_arg_fail(3)) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 (arg1
)->ToggleTool(arg2
,arg3
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 Py_INCREF(Py_None
); resultobj
= Py_None
;
21297 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
= NULL
;
21299 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21302 PyObject
* obj0
= 0 ;
21303 PyObject
* obj1
= 0 ;
21304 PyObject
* obj2
= 0 ;
21305 char *kwnames
[] = {
21306 (char *) "self",(char *) "id",(char *) "toggle", NULL
21309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21311 if (SWIG_arg_fail(1)) SWIG_fail
;
21313 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21314 if (SWIG_arg_fail(2)) SWIG_fail
;
21317 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21318 if (SWIG_arg_fail(3)) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 (arg1
)->SetToggle(arg2
,arg3
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 Py_INCREF(Py_None
); resultobj
= Py_None
;
21334 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
= NULL
;
21336 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self",(char *) "id", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
21346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21347 if (SWIG_arg_fail(1)) SWIG_fail
;
21349 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21350 if (SWIG_arg_fail(2)) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= result
;
21366 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
= NULL
;
21368 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21370 PyObject
*arg3
= (PyObject
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 PyObject
* obj2
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self",(char *) "id",(char *) "clientData", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21380 if (SWIG_arg_fail(1)) SWIG_fail
;
21382 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21383 if (SWIG_arg_fail(2)) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 Py_INCREF(Py_None
); resultobj
= Py_None
;
21400 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
= NULL
;
21402 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "id", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
21412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21413 if (SWIG_arg_fail(1)) SWIG_fail
;
21415 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21416 if (SWIG_arg_fail(2)) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= SWIG_From_int(static_cast<int >(result
));
21434 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
= NULL
;
21436 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self",(char *) "id", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
21446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21447 if (SWIG_arg_fail(1)) SWIG_fail
;
21449 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21450 if (SWIG_arg_fail(2)) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= (bool)(arg1
)->GetToolState(arg2
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21468 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
= NULL
;
21470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "id", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21481 if (SWIG_arg_fail(1)) SWIG_fail
;
21483 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21484 if (SWIG_arg_fail(2)) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21502 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
= NULL
;
21504 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21506 wxString
*arg3
= 0 ;
21507 bool temp3
= false ;
21508 PyObject
* obj0
= 0 ;
21509 PyObject
* obj1
= 0 ;
21510 PyObject
* obj2
= 0 ;
21511 char *kwnames
[] = {
21512 (char *) "self",(char *) "id",(char *) "helpString", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21517 if (SWIG_arg_fail(1)) SWIG_fail
;
21519 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21520 if (SWIG_arg_fail(2)) SWIG_fail
;
21523 arg3
= wxString_in_helper(obj2
);
21524 if (arg3
== NULL
) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 Py_INCREF(Py_None
); resultobj
= Py_None
;
21549 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
= NULL
;
21551 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self",(char *) "id", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21562 if (SWIG_arg_fail(1)) SWIG_fail
;
21564 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21565 if (SWIG_arg_fail(2)) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (arg1
)->GetToolShortHelp(arg2
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21587 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
= NULL
;
21589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21591 wxString
*arg3
= 0 ;
21592 bool temp3
= false ;
21593 PyObject
* obj0
= 0 ;
21594 PyObject
* obj1
= 0 ;
21595 PyObject
* obj2
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self",(char *) "id",(char *) "helpString", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail
;
21604 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21605 if (SWIG_arg_fail(2)) SWIG_fail
;
21608 arg3
= wxString_in_helper(obj2
);
21609 if (arg3
== NULL
) SWIG_fail
;
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 Py_INCREF(Py_None
); resultobj
= Py_None
;
21634 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
= NULL
;
21636 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21639 PyObject
* obj0
= 0 ;
21640 PyObject
* obj1
= 0 ;
21641 char *kwnames
[] = {
21642 (char *) "self",(char *) "id", NULL
21645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21647 if (SWIG_arg_fail(1)) SWIG_fail
;
21649 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21650 if (SWIG_arg_fail(2)) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (arg1
)->GetToolLongHelp(arg2
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21672 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
= NULL
;
21674 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21677 PyObject
* obj0
= 0 ;
21678 PyObject
* obj1
= 0 ;
21679 PyObject
* obj2
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self",(char *) "x",(char *) "y", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21686 if (SWIG_arg_fail(1)) SWIG_fail
;
21688 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21689 if (SWIG_arg_fail(2)) SWIG_fail
;
21692 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21693 if (SWIG_arg_fail(3)) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 (arg1
)->SetMargins(arg2
,arg3
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 Py_INCREF(Py_None
); resultobj
= Py_None
;
21709 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
= NULL
;
21711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self",(char *) "size", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21722 if (SWIG_arg_fail(1)) SWIG_fail
;
21725 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 (arg1
)->SetMargins((wxSize
const &)*arg2
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 Py_INCREF(Py_None
); resultobj
= Py_None
;
21741 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
= NULL
;
21743 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self",(char *) "packing", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
21752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail
;
21755 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21756 if (SWIG_arg_fail(2)) SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 (arg1
)->SetToolPacking(arg2
);
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 Py_INCREF(Py_None
); resultobj
= Py_None
;
21772 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
= NULL
;
21774 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "self",(char *) "separation", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
21783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21784 if (SWIG_arg_fail(1)) SWIG_fail
;
21786 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21787 if (SWIG_arg_fail(2)) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 (arg1
)->SetToolSeparation(arg2
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 Py_INCREF(Py_None
); resultobj
= Py_None
;
21803 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
= NULL
;
21805 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21807 PyObject
* obj0
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
21813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21814 if (SWIG_arg_fail(1)) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (arg1
)->GetToolMargins();
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 wxSize
* resultptr
;
21824 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21833 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
= NULL
;
21835 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21837 PyObject
* obj0
= 0 ;
21838 char *kwnames
[] = {
21839 (char *) "self", NULL
21842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
21843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21844 if (SWIG_arg_fail(1)) SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (arg1
)->GetMargins();
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21853 wxSize
* resultptr
;
21854 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21863 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
= NULL
;
21865 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
21873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21874 if (SWIG_arg_fail(1)) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (int)(arg1
)->GetToolPacking();
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= SWIG_From_int(static_cast<int >(result
));
21891 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
= NULL
;
21893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21895 PyObject
* obj0
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "self", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
21901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21902 if (SWIG_arg_fail(1)) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (int)(arg1
)->GetToolSeparation();
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= SWIG_From_int(static_cast<int >(result
));
21919 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
= NULL
;
21921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21923 PyObject
* obj0
= 0 ;
21924 PyObject
* obj1
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "self",(char *) "nRows", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
21930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21931 if (SWIG_arg_fail(1)) SWIG_fail
;
21933 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21934 if (SWIG_arg_fail(2)) SWIG_fail
;
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 (arg1
)->SetRows(arg2
);
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21943 Py_INCREF(Py_None
); resultobj
= Py_None
;
21950 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
= NULL
;
21952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 PyObject
* obj2
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self",(char *) "rows",(char *) "cols", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21964 if (SWIG_arg_fail(1)) SWIG_fail
;
21966 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21967 if (SWIG_arg_fail(2)) SWIG_fail
;
21970 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21971 if (SWIG_arg_fail(3)) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 Py_INCREF(Py_None
); resultobj
= Py_None
;
21987 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
= NULL
;
21989 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21991 PyObject
* obj0
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
21997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21998 if (SWIG_arg_fail(1)) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (int)(arg1
)->GetMaxRows();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_From_int(static_cast<int >(result
));
22015 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
= NULL
;
22017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22019 PyObject
* obj0
= 0 ;
22020 char *kwnames
[] = {
22021 (char *) "self", NULL
22024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
22025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22026 if (SWIG_arg_fail(1)) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 result
= (int)(arg1
)->GetMaxCols();
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= SWIG_From_int(static_cast<int >(result
));
22043 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
= NULL
;
22045 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self",(char *) "size", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22056 if (SWIG_arg_fail(1)) SWIG_fail
;
22059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 Py_INCREF(Py_None
); resultobj
= Py_None
;
22075 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
= NULL
;
22077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22079 PyObject
* obj0
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
22085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 result
= (arg1
)->GetToolBitmapSize();
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22095 wxSize
* resultptr
;
22096 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22105 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
= NULL
;
22107 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
22115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22116 if (SWIG_arg_fail(1)) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (arg1
)->GetToolSize();
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 wxSize
* resultptr
;
22126 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22135 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
= NULL
;
22137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22140 wxToolBarToolBase
*result
;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 PyObject
* obj2
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self",(char *) "x",(char *) "y", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22150 if (SWIG_arg_fail(1)) SWIG_fail
;
22152 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22153 if (SWIG_arg_fail(2)) SWIG_fail
;
22156 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22157 if (SWIG_arg_fail(3)) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22175 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
= NULL
;
22177 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22179 wxToolBarToolBase
*result
;
22180 PyObject
* obj0
= 0 ;
22181 PyObject
* obj1
= 0 ;
22182 char *kwnames
[] = {
22183 (char *) "self",(char *) "toolid", NULL
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
22187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22188 if (SWIG_arg_fail(1)) SWIG_fail
;
22190 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22191 if (SWIG_arg_fail(2)) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22201 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22209 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
= NULL
;
22211 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22213 PyObject
* obj0
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
22219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail
;
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= (bool)(arg1
)->IsVertical();
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22237 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
22239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22240 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
22242 return Py_BuildValue((char *)"");
22244 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
= NULL
;
22246 wxWindow
*arg1
= (wxWindow
*) 0 ;
22247 int arg2
= (int) -1 ;
22248 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22249 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22250 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22251 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22252 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
22253 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
22254 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22258 bool temp6
= false ;
22259 PyObject
* obj0
= 0 ;
22260 PyObject
* obj1
= 0 ;
22261 PyObject
* obj2
= 0 ;
22262 PyObject
* obj3
= 0 ;
22263 PyObject
* obj4
= 0 ;
22264 PyObject
* obj5
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22271 if (SWIG_arg_fail(1)) SWIG_fail
;
22274 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22275 if (SWIG_arg_fail(2)) SWIG_fail
;
22281 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22287 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22292 arg5
= static_cast<long >(SWIG_As_long(obj4
));
22293 if (SWIG_arg_fail(5)) SWIG_fail
;
22298 arg6
= wxString_in_helper(obj5
);
22299 if (arg6
== NULL
) SWIG_fail
;
22304 if (!wxPyCheckForApp()) SWIG_fail
;
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
22326 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
= NULL
;
22329 char *kwnames
[] = {
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
22335 if (!wxPyCheckForApp()) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 result
= (wxToolBar
*)new wxToolBar();
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
22349 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
= NULL
;
22351 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
22352 wxWindow
*arg2
= (wxWindow
*) 0 ;
22353 int arg3
= (int) -1 ;
22354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22358 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
22359 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
22360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22364 bool temp7
= false ;
22365 PyObject
* obj0
= 0 ;
22366 PyObject
* obj1
= 0 ;
22367 PyObject
* obj2
= 0 ;
22368 PyObject
* obj3
= 0 ;
22369 PyObject
* obj4
= 0 ;
22370 PyObject
* obj5
= 0 ;
22371 PyObject
* obj6
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail
;
22379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22380 if (SWIG_arg_fail(2)) SWIG_fail
;
22383 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22384 if (SWIG_arg_fail(3)) SWIG_fail
;
22390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22401 arg6
= static_cast<long >(SWIG_As_long(obj5
));
22402 if (SWIG_arg_fail(6)) SWIG_fail
;
22407 arg7
= wxString_in_helper(obj6
);
22408 if (arg7
== NULL
) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22436 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
= NULL
;
22438 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
22441 wxToolBarToolBase
*result
;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 PyObject
* obj2
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self",(char *) "x",(char *) "y", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
22451 if (SWIG_arg_fail(1)) SWIG_fail
;
22453 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22454 if (SWIG_arg_fail(2)) SWIG_fail
;
22457 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22458 if (SWIG_arg_fail(3)) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22476 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
= NULL
;
22478 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
22479 wxVisualAttributes result
;
22480 PyObject
* obj0
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "variant", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22488 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
22489 if (SWIG_arg_fail(1)) SWIG_fail
;
22493 if (!wxPyCheckForApp()) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22501 wxVisualAttributes
* resultptr
;
22502 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
22503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22511 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
22513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22514 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
22516 return Py_BuildValue((char *)"");
22518 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
22519 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
22524 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
22525 PyObject
*pyobj
= NULL
;
22529 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
22531 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
22538 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
= NULL
;
22540 wxColour
const &arg1_defvalue
= wxNullColour
;
22541 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
22542 wxColour
const &arg2_defvalue
= wxNullColour
;
22543 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
22544 wxFont
const &arg3_defvalue
= wxNullFont
;
22545 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
22546 wxListItemAttr
*result
;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 PyObject
* obj2
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22560 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
22566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22571 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22572 if (SWIG_arg_fail(3)) SWIG_fail
;
22573 if (arg3
== NULL
) {
22574 SWIG_null_ref("wxFont");
22576 if (SWIG_arg_fail(3)) SWIG_fail
;
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
22593 static PyObject
*_wrap_delete_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
= NULL
;
22595 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22596 PyObject
* obj0
= 0 ;
22597 char *kwnames
[] = {
22598 (char *) "self", NULL
22601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItemAttr",kwnames
,&obj0
)) goto fail
;
22602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22603 if (SWIG_arg_fail(1)) SWIG_fail
;
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 Py_INCREF(Py_None
); resultobj
= Py_None
;
22618 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22619 PyObject
*resultobj
= NULL
;
22620 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22621 wxColour
*arg2
= 0 ;
22623 PyObject
* obj0
= 0 ;
22624 PyObject
* obj1
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self",(char *) "colText", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22631 if (SWIG_arg_fail(1)) SWIG_fail
;
22634 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 Py_INCREF(Py_None
); resultobj
= Py_None
;
22650 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
= NULL
;
22652 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22653 wxColour
*arg2
= 0 ;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "colBack", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail
;
22666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 Py_INCREF(Py_None
); resultobj
= Py_None
;
22682 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
= NULL
;
22684 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 char *kwnames
[] = {
22689 (char *) "self",(char *) "font", NULL
22692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22694 if (SWIG_arg_fail(1)) SWIG_fail
;
22696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22697 if (SWIG_arg_fail(2)) SWIG_fail
;
22698 if (arg2
== NULL
) {
22699 SWIG_null_ref("wxFont");
22701 if (SWIG_arg_fail(2)) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 (arg1
)->SetFont((wxFont
const &)*arg2
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 Py_INCREF(Py_None
); resultobj
= Py_None
;
22717 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
= NULL
;
22719 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22721 PyObject
* obj0
= 0 ;
22722 char *kwnames
[] = {
22723 (char *) "self", NULL
22726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
22727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22728 if (SWIG_arg_fail(1)) SWIG_fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 result
= (bool)(arg1
)->HasTextColour();
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22745 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
= NULL
;
22747 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22749 PyObject
* obj0
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
22755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22756 if (SWIG_arg_fail(1)) SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 result
= (bool)(arg1
)->HasBackgroundColour();
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22773 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
= NULL
;
22775 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
22783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22784 if (SWIG_arg_fail(1)) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= (bool)(arg1
)->HasFont();
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22801 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
= NULL
;
22803 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22805 PyObject
* obj0
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
22811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (arg1
)->GetTextColour();
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22821 wxColour
* resultptr
;
22822 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22831 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
= NULL
;
22833 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22835 PyObject
* obj0
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 result
= (arg1
)->GetBackgroundColour();
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22851 wxColour
* resultptr
;
22852 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22861 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
= NULL
;
22863 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22865 PyObject
* obj0
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
22871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22872 if (SWIG_arg_fail(1)) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (arg1
)->GetFont();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22881 wxFont
* resultptr
;
22882 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
22883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22891 static PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
= NULL
;
22893 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22894 wxListItemAttr
*arg2
= 0 ;
22895 PyObject
* obj0
= 0 ;
22896 PyObject
* obj1
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self",(char *) "source", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
22902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22903 if (SWIG_arg_fail(1)) SWIG_fail
;
22905 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22906 if (SWIG_arg_fail(2)) SWIG_fail
;
22907 if (arg2
== NULL
) {
22908 SWIG_null_ref("wxListItemAttr");
22910 if (SWIG_arg_fail(2)) SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 Py_INCREF(Py_None
); resultobj
= Py_None
;
22926 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
= NULL
;
22928 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22929 PyObject
* obj0
= 0 ;
22930 char *kwnames
[] = {
22931 (char *) "self", NULL
22934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
22935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22936 if (SWIG_arg_fail(1)) SWIG_fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 wxListItemAttr_Destroy(arg1
);
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 Py_INCREF(Py_None
); resultobj
= Py_None
;
22951 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
22953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22954 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
22956 return Py_BuildValue((char *)"");
22958 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
= NULL
;
22960 wxListItem
*result
;
22961 char *kwnames
[] = {
22965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 result
= (wxListItem
*)new wxListItem();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= wxPyMake_wxObject(result
, (bool)1);
22982 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
= NULL
;
22984 wxListItem
*arg1
= (wxListItem
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
22991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22992 if (SWIG_arg_fail(1)) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 Py_INCREF(Py_None
); resultobj
= Py_None
;
23007 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
= NULL
;
23009 wxListItem
*arg1
= (wxListItem
*) 0 ;
23010 PyObject
* obj0
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
23016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23017 if (SWIG_arg_fail(1)) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 Py_INCREF(Py_None
); resultobj
= Py_None
;
23032 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
= NULL
;
23034 wxListItem
*arg1
= (wxListItem
*) 0 ;
23035 PyObject
* obj0
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "self", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
23041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23042 if (SWIG_arg_fail(1)) SWIG_fail
;
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 (arg1
)->ClearAttributes();
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 Py_INCREF(Py_None
); resultobj
= Py_None
;
23057 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23058 PyObject
*resultobj
= NULL
;
23059 wxListItem
*arg1
= (wxListItem
*) 0 ;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj1
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self",(char *) "mask", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
23068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23069 if (SWIG_arg_fail(1)) SWIG_fail
;
23071 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23072 if (SWIG_arg_fail(2)) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 (arg1
)->SetMask(arg2
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 Py_INCREF(Py_None
); resultobj
= Py_None
;
23088 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
= NULL
;
23090 wxListItem
*arg1
= (wxListItem
*) 0 ;
23092 PyObject
* obj0
= 0 ;
23093 PyObject
* obj1
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "self",(char *) "id", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23100 if (SWIG_arg_fail(1)) SWIG_fail
;
23102 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23103 if (SWIG_arg_fail(2)) SWIG_fail
;
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 (arg1
)->SetId(arg2
);
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 Py_INCREF(Py_None
); resultobj
= Py_None
;
23119 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
= NULL
;
23121 wxListItem
*arg1
= (wxListItem
*) 0 ;
23123 PyObject
* obj0
= 0 ;
23124 PyObject
* obj1
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self",(char *) "col", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23131 if (SWIG_arg_fail(1)) SWIG_fail
;
23133 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23134 if (SWIG_arg_fail(2)) SWIG_fail
;
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 (arg1
)->SetColumn(arg2
);
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 Py_INCREF(Py_None
); resultobj
= Py_None
;
23150 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
= NULL
;
23152 wxListItem
*arg1
= (wxListItem
*) 0 ;
23154 PyObject
* obj0
= 0 ;
23155 PyObject
* obj1
= 0 ;
23156 char *kwnames
[] = {
23157 (char *) "self",(char *) "state", NULL
23160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
23161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23162 if (SWIG_arg_fail(1)) SWIG_fail
;
23164 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23165 if (SWIG_arg_fail(2)) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 (arg1
)->SetState(arg2
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 Py_INCREF(Py_None
); resultobj
= Py_None
;
23181 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
= NULL
;
23183 wxListItem
*arg1
= (wxListItem
*) 0 ;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self",(char *) "stateMask", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
23192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23193 if (SWIG_arg_fail(1)) SWIG_fail
;
23195 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23196 if (SWIG_arg_fail(2)) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 (arg1
)->SetStateMask(arg2
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 Py_INCREF(Py_None
); resultobj
= Py_None
;
23212 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
= NULL
;
23214 wxListItem
*arg1
= (wxListItem
*) 0 ;
23215 wxString
*arg2
= 0 ;
23216 bool temp2
= false ;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self",(char *) "text", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
23224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail
;
23227 arg2
= wxString_in_helper(obj1
);
23228 if (arg2
== NULL
) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 (arg1
)->SetText((wxString
const &)*arg2
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 Py_INCREF(Py_None
); resultobj
= Py_None
;
23253 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
= NULL
;
23255 wxListItem
*arg1
= (wxListItem
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 PyObject
* obj1
= 0 ;
23259 char *kwnames
[] = {
23260 (char *) "self",(char *) "image", NULL
23263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23265 if (SWIG_arg_fail(1)) SWIG_fail
;
23267 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23268 if (SWIG_arg_fail(2)) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 (arg1
)->SetImage(arg2
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 Py_INCREF(Py_None
); resultobj
= Py_None
;
23284 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
= NULL
;
23286 wxListItem
*arg1
= (wxListItem
*) 0 ;
23288 PyObject
* obj0
= 0 ;
23289 PyObject
* obj1
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "self",(char *) "data", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23296 if (SWIG_arg_fail(1)) SWIG_fail
;
23298 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23299 if (SWIG_arg_fail(2)) SWIG_fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 (arg1
)->SetData(arg2
);
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23308 Py_INCREF(Py_None
); resultobj
= Py_None
;
23315 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
= NULL
;
23317 wxListItem
*arg1
= (wxListItem
*) 0 ;
23319 PyObject
* obj0
= 0 ;
23320 PyObject
* obj1
= 0 ;
23321 char *kwnames
[] = {
23322 (char *) "self",(char *) "width", NULL
23325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
23326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23327 if (SWIG_arg_fail(1)) SWIG_fail
;
23329 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23330 if (SWIG_arg_fail(2)) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 (arg1
)->SetWidth(arg2
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 Py_INCREF(Py_None
); resultobj
= Py_None
;
23346 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
= NULL
;
23348 wxListItem
*arg1
= (wxListItem
*) 0 ;
23349 wxListColumnFormat arg2
;
23350 PyObject
* obj0
= 0 ;
23351 PyObject
* obj1
= 0 ;
23352 char *kwnames
[] = {
23353 (char *) "self",(char *) "align", NULL
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
23357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail
;
23360 arg2
= static_cast<wxListColumnFormat
>(SWIG_As_int(obj1
));
23361 if (SWIG_arg_fail(2)) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 (arg1
)->SetAlign(arg2
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 Py_INCREF(Py_None
); resultobj
= Py_None
;
23377 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
= NULL
;
23379 wxListItem
*arg1
= (wxListItem
*) 0 ;
23380 wxColour
*arg2
= 0 ;
23382 PyObject
* obj0
= 0 ;
23383 PyObject
* obj1
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self",(char *) "colText", NULL
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23390 if (SWIG_arg_fail(1)) SWIG_fail
;
23393 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23402 Py_INCREF(Py_None
); resultobj
= Py_None
;
23409 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23410 PyObject
*resultobj
= NULL
;
23411 wxListItem
*arg1
= (wxListItem
*) 0 ;
23412 wxColour
*arg2
= 0 ;
23414 PyObject
* obj0
= 0 ;
23415 PyObject
* obj1
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "self",(char *) "colBack", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23422 if (SWIG_arg_fail(1)) SWIG_fail
;
23425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 Py_INCREF(Py_None
); resultobj
= Py_None
;
23441 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
= NULL
;
23443 wxListItem
*arg1
= (wxListItem
*) 0 ;
23445 PyObject
* obj0
= 0 ;
23446 PyObject
* obj1
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self",(char *) "font", NULL
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
23452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23453 if (SWIG_arg_fail(1)) SWIG_fail
;
23455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
23456 if (SWIG_arg_fail(2)) SWIG_fail
;
23457 if (arg2
== NULL
) {
23458 SWIG_null_ref("wxFont");
23460 if (SWIG_arg_fail(2)) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 (arg1
)->SetFont((wxFont
const &)*arg2
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 Py_INCREF(Py_None
); resultobj
= Py_None
;
23476 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
= NULL
;
23478 wxListItem
*arg1
= (wxListItem
*) 0 ;
23480 PyObject
* obj0
= 0 ;
23481 char *kwnames
[] = {
23482 (char *) "self", NULL
23485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
23486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23487 if (SWIG_arg_fail(1)) SWIG_fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (long)(arg1
)->GetMask();
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= SWIG_From_long(static_cast<long >(result
));
23504 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
= NULL
;
23506 wxListItem
*arg1
= (wxListItem
*) 0 ;
23508 PyObject
* obj0
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
23514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23515 if (SWIG_arg_fail(1)) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (long)(arg1
)->GetId();
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= SWIG_From_long(static_cast<long >(result
));
23532 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
= NULL
;
23534 wxListItem
*arg1
= (wxListItem
*) 0 ;
23536 PyObject
* obj0
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "self", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
23542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23543 if (SWIG_arg_fail(1)) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= (int)(arg1
)->GetColumn();
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= SWIG_From_int(static_cast<int >(result
));
23560 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
= NULL
;
23562 wxListItem
*arg1
= (wxListItem
*) 0 ;
23564 PyObject
* obj0
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "self", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
23570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23571 if (SWIG_arg_fail(1)) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (long)(arg1
)->GetState();
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= SWIG_From_long(static_cast<long >(result
));
23588 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
= NULL
;
23590 wxListItem
*arg1
= (wxListItem
*) 0 ;
23592 PyObject
* obj0
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
23598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23599 if (SWIG_arg_fail(1)) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 wxString
const &_result_ref
= (arg1
)->GetText();
23604 result
= (wxString
*) &_result_ref
;
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23614 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23623 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
= NULL
;
23625 wxListItem
*arg1
= (wxListItem
*) 0 ;
23627 PyObject
* obj0
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
23633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23634 if (SWIG_arg_fail(1)) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (int)(arg1
)->GetImage();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= SWIG_From_int(static_cast<int >(result
));
23651 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
= NULL
;
23653 wxListItem
*arg1
= (wxListItem
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
23661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23662 if (SWIG_arg_fail(1)) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (long)(arg1
)->GetData();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_From_long(static_cast<long >(result
));
23679 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
= NULL
;
23681 wxListItem
*arg1
= (wxListItem
*) 0 ;
23683 PyObject
* obj0
= 0 ;
23684 char *kwnames
[] = {
23685 (char *) "self", NULL
23688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
23689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23690 if (SWIG_arg_fail(1)) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= (int)(arg1
)->GetWidth();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_From_int(static_cast<int >(result
));
23707 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
= NULL
;
23709 wxListItem
*arg1
= (wxListItem
*) 0 ;
23710 wxListColumnFormat result
;
23711 PyObject
* obj0
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "self", NULL
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
23717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23718 if (SWIG_arg_fail(1)) SWIG_fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= SWIG_From_int((result
));
23733 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
= NULL
;
23735 wxListItem
*arg1
= (wxListItem
*) 0 ;
23736 wxListItemAttr
*result
;
23737 PyObject
* obj0
= 0 ;
23738 char *kwnames
[] = {
23739 (char *) "self", NULL
23742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
23743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23744 if (SWIG_arg_fail(1)) SWIG_fail
;
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
23759 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
= NULL
;
23761 wxListItem
*arg1
= (wxListItem
*) 0 ;
23763 PyObject
* obj0
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "self", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
23769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23770 if (SWIG_arg_fail(1)) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (bool)(arg1
)->HasAttributes();
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23787 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
= NULL
;
23789 wxListItem
*arg1
= (wxListItem
*) 0 ;
23791 PyObject
* obj0
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
23797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23798 if (SWIG_arg_fail(1)) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= ((wxListItem
const *)arg1
)->GetTextColour();
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23807 wxColour
* resultptr
;
23808 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
23809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23817 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
= NULL
;
23819 wxListItem
*arg1
= (wxListItem
*) 0 ;
23821 PyObject
* obj0
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
23827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23828 if (SWIG_arg_fail(1)) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23837 wxColour
* resultptr
;
23838 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
23839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23847 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
= NULL
;
23849 wxListItem
*arg1
= (wxListItem
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
23857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23858 if (SWIG_arg_fail(1)) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= ((wxListItem
const *)arg1
)->GetFont();
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23867 wxFont
* resultptr
;
23868 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
23869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
23877 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
= NULL
;
23879 wxListItem
*arg1
= (wxListItem
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self",(char *) "m_mask", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23889 if (SWIG_arg_fail(1)) SWIG_fail
;
23891 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23892 if (SWIG_arg_fail(2)) SWIG_fail
;
23894 if (arg1
) (arg1
)->m_mask
= arg2
;
23896 Py_INCREF(Py_None
); resultobj
= Py_None
;
23903 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
= NULL
;
23905 wxListItem
*arg1
= (wxListItem
*) 0 ;
23907 PyObject
* obj0
= 0 ;
23908 char *kwnames
[] = {
23909 (char *) "self", NULL
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
23913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23914 if (SWIG_arg_fail(1)) SWIG_fail
;
23915 result
= (long) ((arg1
)->m_mask
);
23918 resultobj
= SWIG_From_long(static_cast<long >(result
));
23926 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
= NULL
;
23928 wxListItem
*arg1
= (wxListItem
*) 0 ;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self",(char *) "m_itemId", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23938 if (SWIG_arg_fail(1)) SWIG_fail
;
23940 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23941 if (SWIG_arg_fail(2)) SWIG_fail
;
23943 if (arg1
) (arg1
)->m_itemId
= arg2
;
23945 Py_INCREF(Py_None
); resultobj
= Py_None
;
23952 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
= NULL
;
23954 wxListItem
*arg1
= (wxListItem
*) 0 ;
23956 PyObject
* obj0
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "self", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
23962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23963 if (SWIG_arg_fail(1)) SWIG_fail
;
23964 result
= (long) ((arg1
)->m_itemId
);
23967 resultobj
= SWIG_From_long(static_cast<long >(result
));
23975 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
= NULL
;
23977 wxListItem
*arg1
= (wxListItem
*) 0 ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 char *kwnames
[] = {
23982 (char *) "self",(char *) "m_col", NULL
23985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23987 if (SWIG_arg_fail(1)) SWIG_fail
;
23989 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23990 if (SWIG_arg_fail(2)) SWIG_fail
;
23992 if (arg1
) (arg1
)->m_col
= arg2
;
23994 Py_INCREF(Py_None
); resultobj
= Py_None
;
24001 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
= NULL
;
24003 wxListItem
*arg1
= (wxListItem
*) 0 ;
24005 PyObject
* obj0
= 0 ;
24006 char *kwnames
[] = {
24007 (char *) "self", NULL
24010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
24011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24012 if (SWIG_arg_fail(1)) SWIG_fail
;
24013 result
= (int) ((arg1
)->m_col
);
24016 resultobj
= SWIG_From_int(static_cast<int >(result
));
24024 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
= NULL
;
24026 wxListItem
*arg1
= (wxListItem
*) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 PyObject
* obj1
= 0 ;
24030 char *kwnames
[] = {
24031 (char *) "self",(char *) "m_state", NULL
24034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24036 if (SWIG_arg_fail(1)) SWIG_fail
;
24038 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24039 if (SWIG_arg_fail(2)) SWIG_fail
;
24041 if (arg1
) (arg1
)->m_state
= arg2
;
24043 Py_INCREF(Py_None
); resultobj
= Py_None
;
24050 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
= NULL
;
24052 wxListItem
*arg1
= (wxListItem
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "self", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
24060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24061 if (SWIG_arg_fail(1)) SWIG_fail
;
24062 result
= (long) ((arg1
)->m_state
);
24065 resultobj
= SWIG_From_long(static_cast<long >(result
));
24073 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
= NULL
;
24075 wxListItem
*arg1
= (wxListItem
*) 0 ;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self",(char *) "m_stateMask", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24085 if (SWIG_arg_fail(1)) SWIG_fail
;
24087 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24088 if (SWIG_arg_fail(2)) SWIG_fail
;
24090 if (arg1
) (arg1
)->m_stateMask
= arg2
;
24092 Py_INCREF(Py_None
); resultobj
= Py_None
;
24099 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
= NULL
;
24101 wxListItem
*arg1
= (wxListItem
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
24109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24110 if (SWIG_arg_fail(1)) SWIG_fail
;
24111 result
= (long) ((arg1
)->m_stateMask
);
24114 resultobj
= SWIG_From_long(static_cast<long >(result
));
24122 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
= NULL
;
24124 wxListItem
*arg1
= (wxListItem
*) 0 ;
24125 wxString
*arg2
= (wxString
*) 0 ;
24126 bool temp2
= false ;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self",(char *) "m_text", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24135 if (SWIG_arg_fail(1)) SWIG_fail
;
24137 arg2
= wxString_in_helper(obj1
);
24138 if (arg2
== NULL
) SWIG_fail
;
24141 if (arg1
) (arg1
)->m_text
= *arg2
;
24143 Py_INCREF(Py_None
); resultobj
= Py_None
;
24158 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
= NULL
;
24160 wxListItem
*arg1
= (wxListItem
*) 0 ;
24162 PyObject
* obj0
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
24168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24169 if (SWIG_arg_fail(1)) SWIG_fail
;
24170 result
= (wxString
*)& ((arg1
)->m_text
);
24174 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24176 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24185 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
= NULL
;
24187 wxListItem
*arg1
= (wxListItem
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self",(char *) "m_image", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24197 if (SWIG_arg_fail(1)) SWIG_fail
;
24199 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24200 if (SWIG_arg_fail(2)) SWIG_fail
;
24202 if (arg1
) (arg1
)->m_image
= arg2
;
24204 Py_INCREF(Py_None
); resultobj
= Py_None
;
24211 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
= NULL
;
24213 wxListItem
*arg1
= (wxListItem
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "self", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
24221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24222 if (SWIG_arg_fail(1)) SWIG_fail
;
24223 result
= (int) ((arg1
)->m_image
);
24226 resultobj
= SWIG_From_int(static_cast<int >(result
));
24234 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
= NULL
;
24236 wxListItem
*arg1
= (wxListItem
*) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "m_data", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail
;
24248 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24249 if (SWIG_arg_fail(2)) SWIG_fail
;
24251 if (arg1
) (arg1
)->m_data
= arg2
;
24253 Py_INCREF(Py_None
); resultobj
= Py_None
;
24260 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24261 PyObject
*resultobj
= NULL
;
24262 wxListItem
*arg1
= (wxListItem
*) 0 ;
24264 PyObject
* obj0
= 0 ;
24265 char *kwnames
[] = {
24266 (char *) "self", NULL
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
24270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24271 if (SWIG_arg_fail(1)) SWIG_fail
;
24272 result
= (long) ((arg1
)->m_data
);
24275 resultobj
= SWIG_From_long(static_cast<long >(result
));
24283 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
= NULL
;
24285 wxListItem
*arg1
= (wxListItem
*) 0 ;
24287 PyObject
* obj0
= 0 ;
24288 PyObject
* obj1
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self",(char *) "m_format", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24295 if (SWIG_arg_fail(1)) SWIG_fail
;
24297 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24298 if (SWIG_arg_fail(2)) SWIG_fail
;
24300 if (arg1
) (arg1
)->m_format
= arg2
;
24302 Py_INCREF(Py_None
); resultobj
= Py_None
;
24309 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
= NULL
;
24311 wxListItem
*arg1
= (wxListItem
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
24319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24320 if (SWIG_arg_fail(1)) SWIG_fail
;
24321 result
= (int) ((arg1
)->m_format
);
24324 resultobj
= SWIG_From_int(static_cast<int >(result
));
24332 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
= NULL
;
24334 wxListItem
*arg1
= (wxListItem
*) 0 ;
24336 PyObject
* obj0
= 0 ;
24337 PyObject
* obj1
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self",(char *) "m_width", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24344 if (SWIG_arg_fail(1)) SWIG_fail
;
24346 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24347 if (SWIG_arg_fail(2)) SWIG_fail
;
24349 if (arg1
) (arg1
)->m_width
= arg2
;
24351 Py_INCREF(Py_None
); resultobj
= Py_None
;
24358 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
= NULL
;
24360 wxListItem
*arg1
= (wxListItem
*) 0 ;
24362 PyObject
* obj0
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
24368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24369 if (SWIG_arg_fail(1)) SWIG_fail
;
24370 result
= (int) ((arg1
)->m_width
);
24373 resultobj
= SWIG_From_int(static_cast<int >(result
));
24381 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
24383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24384 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
24386 return Py_BuildValue((char *)"");
24388 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= NULL
;
24390 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24391 int arg2
= (int) 0 ;
24392 wxListEvent
*result
;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "commandType",(char *) "id", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24402 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
24403 if (SWIG_arg_fail(1)) SWIG_fail
;
24408 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24409 if (SWIG_arg_fail(2)) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
24426 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
= NULL
;
24428 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "self",(char *) "m_code", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24438 if (SWIG_arg_fail(1)) SWIG_fail
;
24440 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24441 if (SWIG_arg_fail(2)) SWIG_fail
;
24443 if (arg1
) (arg1
)->m_code
= arg2
;
24445 Py_INCREF(Py_None
); resultobj
= Py_None
;
24452 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
= NULL
;
24454 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24456 PyObject
* obj0
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
24462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24463 if (SWIG_arg_fail(1)) SWIG_fail
;
24464 result
= (int) ((arg1
)->m_code
);
24467 resultobj
= SWIG_From_int(static_cast<int >(result
));
24475 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
= NULL
;
24477 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self",(char *) "m_oldItemIndex", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24487 if (SWIG_arg_fail(1)) SWIG_fail
;
24489 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24490 if (SWIG_arg_fail(2)) SWIG_fail
;
24492 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
24494 Py_INCREF(Py_None
); resultobj
= Py_None
;
24501 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
= NULL
;
24503 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
24511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24512 if (SWIG_arg_fail(1)) SWIG_fail
;
24513 result
= (long) ((arg1
)->m_oldItemIndex
);
24516 resultobj
= SWIG_From_long(static_cast<long >(result
));
24524 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
= NULL
;
24526 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "self",(char *) "m_itemIndex", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24536 if (SWIG_arg_fail(1)) SWIG_fail
;
24538 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24539 if (SWIG_arg_fail(2)) SWIG_fail
;
24541 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
24543 Py_INCREF(Py_None
); resultobj
= Py_None
;
24550 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
= NULL
;
24552 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
24560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24561 if (SWIG_arg_fail(1)) SWIG_fail
;
24562 result
= (long) ((arg1
)->m_itemIndex
);
24565 resultobj
= SWIG_From_long(static_cast<long >(result
));
24573 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
= NULL
;
24575 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self",(char *) "m_col", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24585 if (SWIG_arg_fail(1)) SWIG_fail
;
24587 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24588 if (SWIG_arg_fail(2)) SWIG_fail
;
24590 if (arg1
) (arg1
)->m_col
= arg2
;
24592 Py_INCREF(Py_None
); resultobj
= Py_None
;
24599 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
= NULL
;
24601 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
24609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24610 if (SWIG_arg_fail(1)) SWIG_fail
;
24611 result
= (int) ((arg1
)->m_col
);
24614 resultobj
= SWIG_From_int(static_cast<int >(result
));
24622 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
= NULL
;
24624 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24625 wxPoint
*arg2
= (wxPoint
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self",(char *) "m_pointDrag", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24634 if (SWIG_arg_fail(1)) SWIG_fail
;
24635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
24636 if (SWIG_arg_fail(2)) SWIG_fail
;
24637 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
24639 Py_INCREF(Py_None
); resultobj
= Py_None
;
24646 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= NULL
;
24648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24650 PyObject
* obj0
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
24656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail
;
24658 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
24660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
24667 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
= NULL
;
24669 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24670 wxListItem
*result
;
24671 PyObject
* obj0
= 0 ;
24672 char *kwnames
[] = {
24673 (char *) "self", NULL
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
24677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24678 if (SWIG_arg_fail(1)) SWIG_fail
;
24679 result
= (wxListItem
*)& ((arg1
)->m_item
);
24682 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24690 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
= NULL
;
24692 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24694 PyObject
* obj0
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24701 if (SWIG_arg_fail(1)) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= (int)(arg1
)->GetKeyCode();
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= SWIG_From_int(static_cast<int >(result
));
24718 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
= NULL
;
24720 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24722 PyObject
* obj0
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
24728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24729 if (SWIG_arg_fail(1)) SWIG_fail
;
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 result
= (long)(arg1
)->GetIndex();
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= SWIG_From_long(static_cast<long >(result
));
24746 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
= NULL
;
24748 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
24756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24757 if (SWIG_arg_fail(1)) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (int)(arg1
)->GetColumn();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= SWIG_From_int(static_cast<int >(result
));
24774 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
= NULL
;
24776 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24785 if (SWIG_arg_fail(1)) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (arg1
)->GetPoint();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24794 wxPoint
* resultptr
;
24795 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
24796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24804 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
= NULL
;
24806 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24815 if (SWIG_arg_fail(1)) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 wxString
const &_result_ref
= (arg1
)->GetLabel();
24820 result
= (wxString
*) &_result_ref
;
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24828 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24830 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24839 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
= NULL
;
24841 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
24849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24850 if (SWIG_arg_fail(1)) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 wxString
const &_result_ref
= (arg1
)->GetText();
24855 result
= (wxString
*) &_result_ref
;
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24865 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24874 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
= NULL
;
24876 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24878 PyObject
* obj0
= 0 ;
24879 char *kwnames
[] = {
24880 (char *) "self", NULL
24883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
24884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24885 if (SWIG_arg_fail(1)) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= (int)(arg1
)->GetImage();
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= SWIG_From_int(static_cast<int >(result
));
24902 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
= NULL
;
24904 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self", NULL
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
24912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24913 if (SWIG_arg_fail(1)) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= (long)(arg1
)->GetData();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_From_long(static_cast<long >(result
));
24930 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
= NULL
;
24932 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24934 PyObject
* obj0
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
24940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (long)(arg1
)->GetMask();
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= SWIG_From_long(static_cast<long >(result
));
24958 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24959 PyObject
*resultobj
= NULL
;
24960 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24961 wxListItem
*result
;
24962 PyObject
* obj0
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24969 if (SWIG_arg_fail(1)) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 wxListItem
const &_result_ref
= (arg1
)->GetItem();
24974 result
= (wxListItem
*) &_result_ref
;
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
24987 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
= NULL
;
24989 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24991 PyObject
* obj0
= 0 ;
24992 char *kwnames
[] = {
24993 (char *) "self", NULL
24996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
24997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24998 if (SWIG_arg_fail(1)) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= (long)(arg1
)->GetCacheFrom();
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= SWIG_From_long(static_cast<long >(result
));
25015 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
= NULL
;
25017 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
25019 PyObject
* obj0
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
25025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= (long)(arg1
)->GetCacheTo();
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= SWIG_From_long(static_cast<long >(result
));
25043 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
= NULL
;
25045 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25071 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25072 PyObject
*resultobj
= NULL
;
25073 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 PyObject
* obj1
= 0 ;
25077 char *kwnames
[] = {
25078 (char *) "self",(char *) "editCancelled", NULL
25081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
25083 if (SWIG_arg_fail(1)) SWIG_fail
;
25085 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
25086 if (SWIG_arg_fail(2)) SWIG_fail
;
25089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25090 (arg1
)->SetEditCanceled(arg2
);
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25095 Py_INCREF(Py_None
); resultobj
= Py_None
;
25102 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
25104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25105 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
25107 return Py_BuildValue((char *)"");
25109 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
= NULL
;
25111 wxWindow
*arg1
= (wxWindow
*) 0 ;
25112 int arg2
= (int) -1 ;
25113 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25114 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25115 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25116 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25117 long arg5
= (long) wxLC_ICON
;
25118 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25119 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25120 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
25121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25122 wxPyListCtrl
*result
;
25125 bool temp7
= false ;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj1
= 0 ;
25128 PyObject
* obj2
= 0 ;
25129 PyObject
* obj3
= 0 ;
25130 PyObject
* obj4
= 0 ;
25131 PyObject
* obj5
= 0 ;
25132 PyObject
* obj6
= 0 ;
25133 char *kwnames
[] = {
25134 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25139 if (SWIG_arg_fail(1)) SWIG_fail
;
25142 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25143 if (SWIG_arg_fail(2)) SWIG_fail
;
25149 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25155 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25160 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25161 if (SWIG_arg_fail(5)) SWIG_fail
;
25166 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
25167 if (SWIG_arg_fail(6)) SWIG_fail
;
25168 if (arg6
== NULL
) {
25169 SWIG_null_ref("wxValidator");
25171 if (SWIG_arg_fail(6)) SWIG_fail
;
25176 arg7
= wxString_in_helper(obj6
);
25177 if (arg7
== NULL
) SWIG_fail
;
25182 if (!wxPyCheckForApp()) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
25204 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
= NULL
;
25206 wxPyListCtrl
*result
;
25207 char *kwnames
[] = {
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
25213 if (!wxPyCheckForApp()) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (wxPyListCtrl
*)new wxPyListCtrl();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
25227 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
= NULL
;
25229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25230 wxWindow
*arg2
= (wxWindow
*) 0 ;
25231 int arg3
= (int) -1 ;
25232 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25233 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25234 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25235 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25236 long arg6
= (long) wxLC_ICON
;
25237 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25238 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25239 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
25240 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25244 bool temp8
= false ;
25245 PyObject
* obj0
= 0 ;
25246 PyObject
* obj1
= 0 ;
25247 PyObject
* obj2
= 0 ;
25248 PyObject
* obj3
= 0 ;
25249 PyObject
* obj4
= 0 ;
25250 PyObject
* obj5
= 0 ;
25251 PyObject
* obj6
= 0 ;
25252 PyObject
* obj7
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25259 if (SWIG_arg_fail(1)) SWIG_fail
;
25260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25261 if (SWIG_arg_fail(2)) SWIG_fail
;
25264 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25265 if (SWIG_arg_fail(3)) SWIG_fail
;
25271 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25277 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25282 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25283 if (SWIG_arg_fail(6)) SWIG_fail
;
25288 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
25289 if (SWIG_arg_fail(7)) SWIG_fail
;
25290 if (arg7
== NULL
) {
25291 SWIG_null_ref("wxValidator");
25293 if (SWIG_arg_fail(7)) SWIG_fail
;
25298 arg8
= wxString_in_helper(obj7
);
25299 if (arg8
== NULL
) SWIG_fail
;
25304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25305 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25327 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
= NULL
;
25329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25330 PyObject
*arg2
= (PyObject
*) 0 ;
25331 PyObject
*arg3
= (PyObject
*) 0 ;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 PyObject
* obj2
= 0 ;
25335 char *kwnames
[] = {
25336 (char *) "self",(char *) "self",(char *) "_class", NULL
25339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25341 if (SWIG_arg_fail(1)) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 Py_INCREF(Py_None
); resultobj
= Py_None
;
25358 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
= NULL
;
25360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25361 wxColour
*arg2
= 0 ;
25364 PyObject
* obj0
= 0 ;
25365 PyObject
* obj1
= 0 ;
25366 char *kwnames
[] = {
25367 (char *) "self",(char *) "col", NULL
25370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25372 if (SWIG_arg_fail(1)) SWIG_fail
;
25375 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25393 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25394 PyObject
*resultobj
= NULL
;
25395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25396 wxColour
*arg2
= 0 ;
25399 PyObject
* obj0
= 0 ;
25400 PyObject
* obj1
= 0 ;
25401 char *kwnames
[] = {
25402 (char *) "self",(char *) "col", NULL
25405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25407 if (SWIG_arg_fail(1)) SWIG_fail
;
25410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25428 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
= NULL
;
25430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25432 wxListItem
*result
;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj1
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self",(char *) "col", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25441 if (SWIG_arg_fail(1)) SWIG_fail
;
25443 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25444 if (SWIG_arg_fail(2)) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25462 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25463 PyObject
*resultobj
= NULL
;
25464 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25466 wxListItem
*arg3
= 0 ;
25468 PyObject
* obj0
= 0 ;
25469 PyObject
* obj1
= 0 ;
25470 PyObject
* obj2
= 0 ;
25471 char *kwnames
[] = {
25472 (char *) "self",(char *) "col",(char *) "item", NULL
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail
;
25479 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25480 if (SWIG_arg_fail(2)) SWIG_fail
;
25483 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25484 if (SWIG_arg_fail(3)) SWIG_fail
;
25485 if (arg3
== NULL
) {
25486 SWIG_null_ref("wxListItem");
25488 if (SWIG_arg_fail(3)) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25506 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
= NULL
;
25508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25511 PyObject
* obj0
= 0 ;
25512 PyObject
* obj1
= 0 ;
25513 char *kwnames
[] = {
25514 (char *) "self",(char *) "col", NULL
25517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
25518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25519 if (SWIG_arg_fail(1)) SWIG_fail
;
25521 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25522 if (SWIG_arg_fail(2)) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= SWIG_From_int(static_cast<int >(result
));
25540 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
= NULL
;
25542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25546 PyObject
* obj0
= 0 ;
25547 PyObject
* obj1
= 0 ;
25548 PyObject
* obj2
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self",(char *) "col",(char *) "width", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25555 if (SWIG_arg_fail(1)) SWIG_fail
;
25557 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25558 if (SWIG_arg_fail(2)) SWIG_fail
;
25561 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25562 if (SWIG_arg_fail(3)) SWIG_fail
;
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25580 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
= NULL
;
25582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25584 PyObject
* obj0
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
25590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25591 if (SWIG_arg_fail(1)) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= SWIG_From_int(static_cast<int >(result
));
25608 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
= NULL
;
25610 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25612 PyObject
* obj0
= 0 ;
25613 char *kwnames
[] = {
25614 (char *) "self", NULL
25617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
25618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25619 if (SWIG_arg_fail(1)) SWIG_fail
;
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25628 wxRect
* resultptr
;
25629 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
25630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25638 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
= NULL
;
25640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25641 wxTextCtrl
*result
;
25642 PyObject
* obj0
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
25648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25649 if (SWIG_arg_fail(1)) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= wxPyMake_wxObject(result
, 0);
25666 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
= NULL
;
25668 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25670 int arg3
= (int) 0 ;
25671 wxListItem
*result
;
25672 PyObject
* obj0
= 0 ;
25673 PyObject
* obj1
= 0 ;
25674 PyObject
* obj2
= 0 ;
25675 char *kwnames
[] = {
25676 (char *) "self",(char *) "itemId",(char *) "col", NULL
25679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25681 if (SWIG_arg_fail(1)) SWIG_fail
;
25683 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25684 if (SWIG_arg_fail(2)) SWIG_fail
;
25688 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25689 if (SWIG_arg_fail(3)) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25700 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25708 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
= NULL
;
25710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25711 wxListItem
*arg2
= 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self",(char *) "info", NULL
25719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25721 if (SWIG_arg_fail(1)) SWIG_fail
;
25723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25724 if (SWIG_arg_fail(2)) SWIG_fail
;
25725 if (arg2
== NULL
) {
25726 SWIG_null_ref("wxListItem");
25728 if (SWIG_arg_fail(2)) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 result
= (bool)(arg1
)->SetItem(*arg2
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25746 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
= NULL
;
25748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25751 wxString
*arg4
= 0 ;
25752 int arg5
= (int) -1 ;
25754 bool temp4
= false ;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 PyObject
* obj3
= 0 ;
25759 PyObject
* obj4
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25766 if (SWIG_arg_fail(1)) SWIG_fail
;
25768 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25769 if (SWIG_arg_fail(2)) SWIG_fail
;
25772 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25773 if (SWIG_arg_fail(3)) SWIG_fail
;
25776 arg4
= wxString_in_helper(obj3
);
25777 if (arg4
== NULL
) SWIG_fail
;
25782 arg5
= static_cast<int >(SWIG_As_int(obj4
));
25783 if (SWIG_arg_fail(5)) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= SWIG_From_long(static_cast<long >(result
));
25810 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
= NULL
;
25812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25816 PyObject
* obj0
= 0 ;
25817 PyObject
* obj1
= 0 ;
25818 PyObject
* obj2
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= static_cast<long >(SWIG_As_long(obj2
));
25832 if (SWIG_arg_fail(3)) SWIG_fail
;
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= SWIG_From_int(static_cast<int >(result
));
25850 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
= NULL
;
25852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 PyObject
* obj2
= 0 ;
25860 PyObject
* obj3
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25867 if (SWIG_arg_fail(1)) SWIG_fail
;
25869 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25870 if (SWIG_arg_fail(2)) SWIG_fail
;
25873 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25874 if (SWIG_arg_fail(3)) SWIG_fail
;
25877 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25878 if (SWIG_arg_fail(4)) SWIG_fail
;
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25896 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
= NULL
;
25898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25901 int arg4
= (int) -1 ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 PyObject
* obj2
= 0 ;
25906 PyObject
* obj3
= 0 ;
25907 char *kwnames
[] = {
25908 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail
;
25915 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25916 if (SWIG_arg_fail(2)) SWIG_fail
;
25919 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25920 if (SWIG_arg_fail(3)) SWIG_fail
;
25924 arg4
= static_cast<int >(SWIG_As_int(obj3
));
25925 if (SWIG_arg_fail(4)) SWIG_fail
;
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25944 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
= NULL
;
25946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25949 PyObject
* obj0
= 0 ;
25950 PyObject
* obj1
= 0 ;
25951 char *kwnames
[] = {
25952 (char *) "self",(char *) "item", NULL
25955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25957 if (SWIG_arg_fail(1)) SWIG_fail
;
25959 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25960 if (SWIG_arg_fail(2)) SWIG_fail
;
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
25966 wxPyEndAllowThreads(__tstate
);
25967 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25982 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
= NULL
;
25984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25986 wxString
*arg3
= 0 ;
25987 bool temp3
= false ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 PyObject
* obj2
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self",(char *) "item",(char *) "str", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail
;
25999 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26000 if (SWIG_arg_fail(2)) SWIG_fail
;
26003 arg3
= wxString_in_helper(obj2
);
26004 if (arg3
== NULL
) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 Py_INCREF(Py_None
); resultobj
= Py_None
;
26029 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
= NULL
;
26031 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self",(char *) "item", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
26041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26042 if (SWIG_arg_fail(1)) SWIG_fail
;
26044 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26045 if (SWIG_arg_fail(2)) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= SWIG_From_long(static_cast<long >(result
));
26063 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
= NULL
;
26065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 PyObject
* obj2
= 0 ;
26072 char *kwnames
[] = {
26073 (char *) "self",(char *) "item",(char *) "data", NULL
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26078 if (SWIG_arg_fail(1)) SWIG_fail
;
26080 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26081 if (SWIG_arg_fail(2)) SWIG_fail
;
26084 arg3
= static_cast<long >(SWIG_As_long(obj2
));
26085 if (SWIG_arg_fail(3)) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26103 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26104 PyObject
*resultobj
= NULL
;
26105 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 PyObject
* obj1
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "self",(char *) "item", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26116 if (SWIG_arg_fail(1)) SWIG_fail
;
26118 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26119 if (SWIG_arg_fail(2)) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26129 wxPoint
* resultptr
;
26130 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
26131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26139 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
= NULL
;
26141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26143 int arg3
= (int) wxLIST_RECT_BOUNDS
;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 PyObject
* obj2
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self",(char *) "item",(char *) "code", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26154 if (SWIG_arg_fail(1)) SWIG_fail
;
26156 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26157 if (SWIG_arg_fail(2)) SWIG_fail
;
26161 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26162 if (SWIG_arg_fail(3)) SWIG_fail
;
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26173 wxRect
* resultptr
;
26174 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
26175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26183 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
= NULL
;
26185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26187 wxPoint
*arg3
= 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 PyObject
* obj2
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "item",(char *) "pos", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail
;
26201 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26202 if (SWIG_arg_fail(2)) SWIG_fail
;
26206 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26224 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
= NULL
;
26226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26228 PyObject
* obj0
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
26234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= SWIG_From_int(static_cast<int >(result
));
26252 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
= NULL
;
26254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26256 PyObject
* obj0
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
26262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26263 if (SWIG_arg_fail(1)) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= SWIG_From_int(static_cast<int >(result
));
26280 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
= NULL
;
26282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
26290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26291 if (SWIG_arg_fail(1)) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26300 wxSize
* resultptr
;
26301 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
26302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26310 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
= NULL
;
26312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26314 PyObject
* obj0
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
26320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26321 if (SWIG_arg_fail(1)) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= SWIG_From_int(static_cast<int >(result
));
26338 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
= NULL
;
26340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26342 PyObject
* obj0
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
26348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26349 if (SWIG_arg_fail(1)) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 wxColour
* resultptr
;
26359 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
26360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26368 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
= NULL
;
26370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26371 wxColour
*arg2
= 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "col", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail
;
26384 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 Py_INCREF(Py_None
); resultobj
= Py_None
;
26400 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
= NULL
;
26402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26404 PyObject
* obj0
= 0 ;
26405 char *kwnames
[] = {
26406 (char *) "self", NULL
26409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
26410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26411 if (SWIG_arg_fail(1)) SWIG_fail
;
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= SWIG_From_long(static_cast<long >(result
));
26428 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
= NULL
;
26430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26432 bool arg3
= (bool) true ;
26433 PyObject
* obj0
= 0 ;
26434 PyObject
* obj1
= 0 ;
26435 PyObject
* obj2
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self",(char *) "style",(char *) "add", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26442 if (SWIG_arg_fail(1)) SWIG_fail
;
26444 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26445 if (SWIG_arg_fail(2)) SWIG_fail
;
26449 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
26450 if (SWIG_arg_fail(3)) SWIG_fail
;
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 (arg1
)->SetSingleStyle(arg2
,arg3
);
26457 wxPyEndAllowThreads(__tstate
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26460 Py_INCREF(Py_None
); resultobj
= Py_None
;
26467 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
= NULL
;
26469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 char *kwnames
[] = {
26474 (char *) "self",(char *) "style", NULL
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail
;
26481 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26482 if (SWIG_arg_fail(2)) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 (arg1
)->SetWindowStyleFlag(arg2
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 Py_INCREF(Py_None
); resultobj
= Py_None
;
26498 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
= NULL
;
26500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26502 int arg3
= (int) wxLIST_NEXT_ALL
;
26503 int arg4
= (int) wxLIST_STATE_DONTCARE
;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 PyObject
* obj2
= 0 ;
26508 PyObject
* obj3
= 0 ;
26509 char *kwnames
[] = {
26510 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26515 if (SWIG_arg_fail(1)) SWIG_fail
;
26517 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26518 if (SWIG_arg_fail(2)) SWIG_fail
;
26522 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26523 if (SWIG_arg_fail(3)) SWIG_fail
;
26528 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26529 if (SWIG_arg_fail(4)) SWIG_fail
;
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SWIG_From_long(static_cast<long >(result
));
26548 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
= NULL
;
26550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26552 wxImageList
*result
;
26553 PyObject
* obj0
= 0 ;
26554 PyObject
* obj1
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self",(char *) "which", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26561 if (SWIG_arg_fail(1)) SWIG_fail
;
26563 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26564 if (SWIG_arg_fail(2)) SWIG_fail
;
26567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26568 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
26570 wxPyEndAllowThreads(__tstate
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26574 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26582 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
= NULL
;
26584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26585 wxImageList
*arg2
= (wxImageList
*) 0 ;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 PyObject
* obj2
= 0 ;
26590 char *kwnames
[] = {
26591 (char *) "self",(char *) "imageList",(char *) "which", NULL
26594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26596 if (SWIG_arg_fail(1)) SWIG_fail
;
26597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
26598 if (SWIG_arg_fail(2)) SWIG_fail
;
26600 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26601 if (SWIG_arg_fail(3)) SWIG_fail
;
26604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 (arg1
)->SetImageList(arg2
,arg3
);
26607 wxPyEndAllowThreads(__tstate
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26610 Py_INCREF(Py_None
); resultobj
= Py_None
;
26617 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
= NULL
;
26619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26620 wxImageList
*arg2
= (wxImageList
*) 0 ;
26622 PyObject
* obj0
= 0 ;
26623 PyObject
* obj1
= 0 ;
26624 PyObject
* obj2
= 0 ;
26625 char *kwnames
[] = {
26626 (char *) "self",(char *) "imageList",(char *) "which", NULL
26629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26631 if (SWIG_arg_fail(1)) SWIG_fail
;
26632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26633 if (SWIG_arg_fail(2)) SWIG_fail
;
26635 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26636 if (SWIG_arg_fail(3)) SWIG_fail
;
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 (arg1
)->AssignImageList(arg2
,arg3
);
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 Py_INCREF(Py_None
); resultobj
= Py_None
;
26652 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
= NULL
;
26654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26656 PyObject
* obj0
= 0 ;
26657 char *kwnames
[] = {
26658 (char *) "self", NULL
26661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
26662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26663 if (SWIG_arg_fail(1)) SWIG_fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26680 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
= NULL
;
26682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26684 PyObject
* obj0
= 0 ;
26685 char *kwnames
[] = {
26686 (char *) "self", NULL
26689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
26690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26691 if (SWIG_arg_fail(1)) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26708 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
= NULL
;
26710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26712 PyObject
* obj0
= 0 ;
26713 PyObject
* obj1
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self",(char *) "item", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26720 if (SWIG_arg_fail(1)) SWIG_fail
;
26722 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26723 if (SWIG_arg_fail(2)) SWIG_fail
;
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 (arg1
)->RefreshItem(arg2
);
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26732 Py_INCREF(Py_None
); resultobj
= Py_None
;
26739 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
= NULL
;
26741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 PyObject
* obj2
= 0 ;
26747 char *kwnames
[] = {
26748 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26753 if (SWIG_arg_fail(1)) SWIG_fail
;
26755 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26756 if (SWIG_arg_fail(2)) SWIG_fail
;
26759 arg3
= static_cast<long >(SWIG_As_long(obj2
));
26760 if (SWIG_arg_fail(3)) SWIG_fail
;
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 (arg1
)->RefreshItems(arg2
,arg3
);
26766 wxPyEndAllowThreads(__tstate
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26769 Py_INCREF(Py_None
); resultobj
= Py_None
;
26776 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26777 PyObject
*resultobj
= NULL
;
26778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26779 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
26781 PyObject
* obj0
= 0 ;
26782 PyObject
* obj1
= 0 ;
26783 char *kwnames
[] = {
26784 (char *) "self",(char *) "flag", NULL
26787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
26788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26789 if (SWIG_arg_fail(1)) SWIG_fail
;
26792 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26793 if (SWIG_arg_fail(2)) SWIG_fail
;
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= (bool)(arg1
)->Arrange(arg2
);
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26812 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
= NULL
;
26814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26817 PyObject
* obj0
= 0 ;
26818 PyObject
* obj1
= 0 ;
26819 char *kwnames
[] = {
26820 (char *) "self",(char *) "item", NULL
26823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26825 if (SWIG_arg_fail(1)) SWIG_fail
;
26827 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26828 if (SWIG_arg_fail(2)) SWIG_fail
;
26831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26832 result
= (bool)(arg1
)->DeleteItem(arg2
);
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26846 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
= NULL
;
26848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26857 if (SWIG_arg_fail(1)) SWIG_fail
;
26859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26860 result
= (bool)(arg1
)->DeleteAllItems();
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26874 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
= NULL
;
26876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 char *kwnames
[] = {
26882 (char *) "self",(char *) "col", NULL
26885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
26886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26887 if (SWIG_arg_fail(1)) SWIG_fail
;
26889 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26890 if (SWIG_arg_fail(2)) SWIG_fail
;
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 result
= (bool)(arg1
)->DeleteColumn(arg2
);
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26908 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
= NULL
;
26910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26912 PyObject
* obj0
= 0 ;
26913 char *kwnames
[] = {
26914 (char *) "self", NULL
26917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
26918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26919 if (SWIG_arg_fail(1)) SWIG_fail
;
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 result
= (bool)(arg1
)->DeleteAllColumns();
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26936 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26937 PyObject
*resultobj
= NULL
;
26938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26939 PyObject
* obj0
= 0 ;
26940 char *kwnames
[] = {
26941 (char *) "self", NULL
26944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
26945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26946 if (SWIG_arg_fail(1)) SWIG_fail
;
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 (arg1
)->ClearAll();
26951 wxPyEndAllowThreads(__tstate
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26954 Py_INCREF(Py_None
); resultobj
= Py_None
;
26961 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26962 PyObject
*resultobj
= NULL
;
26963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26965 wxTextCtrl
*result
;
26966 PyObject
* obj0
= 0 ;
26967 PyObject
* obj1
= 0 ;
26968 char *kwnames
[] = {
26969 (char *) "self",(char *) "item", NULL
26972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26974 if (SWIG_arg_fail(1)) SWIG_fail
;
26976 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26977 if (SWIG_arg_fail(2)) SWIG_fail
;
26980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26981 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= wxPyMake_wxObject(result
, 0);
26995 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26996 PyObject
*resultobj
= NULL
;
26997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27000 PyObject
* obj0
= 0 ;
27001 PyObject
* obj1
= 0 ;
27002 char *kwnames
[] = {
27003 (char *) "self",(char *) "cancel", NULL
27006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27008 if (SWIG_arg_fail(1)) SWIG_fail
;
27010 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
27011 if (SWIG_arg_fail(2)) SWIG_fail
;
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 result
= (bool)(arg1
)->EndEditLabel(arg2
);
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27029 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
= NULL
;
27031 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27034 PyObject
* obj0
= 0 ;
27035 PyObject
* obj1
= 0 ;
27036 char *kwnames
[] = {
27037 (char *) "self",(char *) "item", NULL
27040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27042 if (SWIG_arg_fail(1)) SWIG_fail
;
27044 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27045 if (SWIG_arg_fail(2)) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 result
= (bool)(arg1
)->EnsureVisible(arg2
);
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27063 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27064 PyObject
*resultobj
= NULL
;
27065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27067 wxString
*arg3
= 0 ;
27068 bool arg4
= (bool) false ;
27070 bool temp3
= false ;
27071 PyObject
* obj0
= 0 ;
27072 PyObject
* obj1
= 0 ;
27073 PyObject
* obj2
= 0 ;
27074 PyObject
* obj3
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27081 if (SWIG_arg_fail(1)) SWIG_fail
;
27083 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27084 if (SWIG_arg_fail(2)) SWIG_fail
;
27087 arg3
= wxString_in_helper(obj2
);
27088 if (arg3
== NULL
) SWIG_fail
;
27093 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
27094 if (SWIG_arg_fail(4)) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_From_long(static_cast<long >(result
));
27121 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
= NULL
;
27123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 PyObject
* obj1
= 0 ;
27129 PyObject
* obj2
= 0 ;
27130 char *kwnames
[] = {
27131 (char *) "self",(char *) "start",(char *) "data", NULL
27134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27136 if (SWIG_arg_fail(1)) SWIG_fail
;
27138 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27139 if (SWIG_arg_fail(2)) SWIG_fail
;
27142 arg3
= static_cast<long >(SWIG_As_long(obj2
));
27143 if (SWIG_arg_fail(3)) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_From_long(static_cast<long >(result
));
27161 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
= NULL
;
27163 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27165 wxPoint
*arg3
= 0 ;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 PyObject
* obj2
= 0 ;
27172 PyObject
* obj3
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27179 if (SWIG_arg_fail(1)) SWIG_fail
;
27181 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27182 if (SWIG_arg_fail(2)) SWIG_fail
;
27186 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27189 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27190 if (SWIG_arg_fail(4)) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= SWIG_From_long(static_cast<long >(result
));
27208 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
= NULL
;
27210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27211 wxPoint
*arg2
= 0 ;
27217 PyObject
* obj0
= 0 ;
27218 PyObject
* obj1
= 0 ;
27219 char *kwnames
[] = {
27220 (char *) "self",(char *) "point", NULL
27223 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27226 if (SWIG_arg_fail(1)) SWIG_fail
;
27229 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= SWIG_From_long(static_cast<long >(result
));
27241 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27242 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27249 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
= NULL
;
27251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27252 wxListItem
*arg2
= 0 ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 char *kwnames
[] = {
27257 (char *) "self",(char *) "info", NULL
27260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27262 if (SWIG_arg_fail(1)) SWIG_fail
;
27264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
27265 if (SWIG_arg_fail(2)) SWIG_fail
;
27266 if (arg2
== NULL
) {
27267 SWIG_null_ref("wxListItem");
27269 if (SWIG_arg_fail(2)) SWIG_fail
;
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 result
= (long)(arg1
)->InsertItem(*arg2
);
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27279 resultobj
= SWIG_From_long(static_cast<long >(result
));
27287 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
= NULL
;
27289 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27291 wxString
*arg3
= 0 ;
27292 int arg4
= (int) -1 ;
27294 bool temp3
= false ;
27295 PyObject
* obj0
= 0 ;
27296 PyObject
* obj1
= 0 ;
27297 PyObject
* obj2
= 0 ;
27298 PyObject
* obj3
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27305 if (SWIG_arg_fail(1)) SWIG_fail
;
27307 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27308 if (SWIG_arg_fail(2)) SWIG_fail
;
27311 arg3
= wxString_in_helper(obj2
);
27312 if (arg3
== NULL
) SWIG_fail
;
27317 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27318 if (SWIG_arg_fail(4)) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27329 resultobj
= SWIG_From_long(static_cast<long >(result
));
27345 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
= NULL
;
27347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27351 PyObject
* obj0
= 0 ;
27352 PyObject
* obj1
= 0 ;
27353 PyObject
* obj2
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27360 if (SWIG_arg_fail(1)) SWIG_fail
;
27362 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27363 if (SWIG_arg_fail(2)) SWIG_fail
;
27366 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27367 if (SWIG_arg_fail(3)) SWIG_fail
;
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27377 resultobj
= SWIG_From_long(static_cast<long >(result
));
27385 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
= NULL
;
27387 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27389 wxString
*arg3
= 0 ;
27392 bool temp3
= false ;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 PyObject
* obj2
= 0 ;
27396 PyObject
* obj3
= 0 ;
27397 char *kwnames
[] = {
27398 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27403 if (SWIG_arg_fail(1)) SWIG_fail
;
27405 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27406 if (SWIG_arg_fail(2)) SWIG_fail
;
27409 arg3
= wxString_in_helper(obj2
);
27410 if (arg3
== NULL
) SWIG_fail
;
27414 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27415 if (SWIG_arg_fail(4)) SWIG_fail
;
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_From_long(static_cast<long >(result
));
27441 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27442 PyObject
*resultobj
= NULL
;
27443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27445 wxListItem
*arg3
= 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 PyObject
* obj2
= 0 ;
27450 char *kwnames
[] = {
27451 (char *) "self",(char *) "col",(char *) "info", NULL
27454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27456 if (SWIG_arg_fail(1)) SWIG_fail
;
27458 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27459 if (SWIG_arg_fail(2)) SWIG_fail
;
27462 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
27463 if (SWIG_arg_fail(3)) SWIG_fail
;
27464 if (arg3
== NULL
) {
27465 SWIG_null_ref("wxListItem");
27467 if (SWIG_arg_fail(3)) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= SWIG_From_long(static_cast<long >(result
));
27485 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
= NULL
;
27487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27489 wxString
*arg3
= 0 ;
27490 int arg4
= (int) wxLIST_FORMAT_LEFT
;
27491 int arg5
= (int) -1 ;
27493 bool temp3
= false ;
27494 PyObject
* obj0
= 0 ;
27495 PyObject
* obj1
= 0 ;
27496 PyObject
* obj2
= 0 ;
27497 PyObject
* obj3
= 0 ;
27498 PyObject
* obj4
= 0 ;
27499 char *kwnames
[] = {
27500 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27505 if (SWIG_arg_fail(1)) SWIG_fail
;
27507 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27508 if (SWIG_arg_fail(2)) SWIG_fail
;
27511 arg3
= wxString_in_helper(obj2
);
27512 if (arg3
== NULL
) SWIG_fail
;
27517 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27518 if (SWIG_arg_fail(4)) SWIG_fail
;
27523 arg5
= static_cast<int >(SWIG_As_int(obj4
));
27524 if (SWIG_arg_fail(5)) SWIG_fail
;
27528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27529 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27535 resultobj
= SWIG_From_long(static_cast<long >(result
));
27551 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
= NULL
;
27553 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27555 PyObject
* obj0
= 0 ;
27556 PyObject
* obj1
= 0 ;
27557 char *kwnames
[] = {
27558 (char *) "self",(char *) "count", NULL
27561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27563 if (SWIG_arg_fail(1)) SWIG_fail
;
27565 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27566 if (SWIG_arg_fail(2)) SWIG_fail
;
27569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27570 (arg1
)->SetItemCount(arg2
);
27572 wxPyEndAllowThreads(__tstate
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27575 Py_INCREF(Py_None
); resultobj
= Py_None
;
27582 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27583 PyObject
*resultobj
= NULL
;
27584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27588 PyObject
* obj0
= 0 ;
27589 PyObject
* obj1
= 0 ;
27590 PyObject
* obj2
= 0 ;
27591 char *kwnames
[] = {
27592 (char *) "self",(char *) "dx",(char *) "dy", NULL
27595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27597 if (SWIG_arg_fail(1)) SWIG_fail
;
27599 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27600 if (SWIG_arg_fail(2)) SWIG_fail
;
27603 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27604 if (SWIG_arg_fail(3)) SWIG_fail
;
27607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
27610 wxPyEndAllowThreads(__tstate
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27622 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27623 PyObject
*resultobj
= NULL
;
27624 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27626 wxColour
*arg3
= 0 ;
27628 PyObject
* obj0
= 0 ;
27629 PyObject
* obj1
= 0 ;
27630 PyObject
* obj2
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "self",(char *) "item",(char *) "col", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27637 if (SWIG_arg_fail(1)) SWIG_fail
;
27639 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27640 if (SWIG_arg_fail(2)) SWIG_fail
;
27644 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 Py_INCREF(Py_None
); resultobj
= Py_None
;
27660 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
= NULL
;
27662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27665 PyObject
* obj0
= 0 ;
27666 PyObject
* obj1
= 0 ;
27667 char *kwnames
[] = {
27668 (char *) "self",(char *) "item", NULL
27671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27673 if (SWIG_arg_fail(1)) SWIG_fail
;
27675 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27676 if (SWIG_arg_fail(2)) SWIG_fail
;
27679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27680 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27686 wxColour
* resultptr
;
27687 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
27688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27696 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
= NULL
;
27698 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27700 wxColour
*arg3
= 0 ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 PyObject
* obj2
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "self",(char *) "item",(char *) "col", NULL
27709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27711 if (SWIG_arg_fail(1)) SWIG_fail
;
27713 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27714 if (SWIG_arg_fail(2)) SWIG_fail
;
27718 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 Py_INCREF(Py_None
); resultobj
= Py_None
;
27734 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
= NULL
;
27736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self",(char *) "item", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27747 if (SWIG_arg_fail(1)) SWIG_fail
;
27749 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27750 if (SWIG_arg_fail(2)) SWIG_fail
;
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27760 wxColour
* resultptr
;
27761 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
27762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27770 static PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
= NULL
;
27772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27775 PyObject
* obj0
= 0 ;
27776 PyObject
* obj1
= 0 ;
27777 PyObject
* obj2
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self",(char *) "item",(char *) "f", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27784 if (SWIG_arg_fail(1)) SWIG_fail
;
27786 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27787 if (SWIG_arg_fail(2)) SWIG_fail
;
27790 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
27791 if (SWIG_arg_fail(3)) SWIG_fail
;
27792 if (arg3
== NULL
) {
27793 SWIG_null_ref("wxFont");
27795 if (SWIG_arg_fail(3)) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 Py_INCREF(Py_None
); resultobj
= Py_None
;
27811 static PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
= NULL
;
27813 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27816 PyObject
* obj0
= 0 ;
27817 PyObject
* obj1
= 0 ;
27818 char *kwnames
[] = {
27819 (char *) "self",(char *) "item", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27824 if (SWIG_arg_fail(1)) SWIG_fail
;
27826 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27827 if (SWIG_arg_fail(2)) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27837 wxFont
* resultptr
;
27838 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
27839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27847 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
= NULL
;
27849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27850 PyObject
*arg2
= (PyObject
*) 0 ;
27852 PyObject
* obj0
= 0 ;
27853 PyObject
* obj1
= 0 ;
27854 char *kwnames
[] = {
27855 (char *) "self",(char *) "func", NULL
27858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
27859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27860 if (SWIG_arg_fail(1)) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27878 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27879 PyObject
*resultobj
= NULL
;
27880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27882 PyObject
* obj0
= 0 ;
27883 char *kwnames
[] = {
27884 (char *) "self", NULL
27887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
27888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27889 if (SWIG_arg_fail(1)) SWIG_fail
;
27891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27892 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
27894 wxPyEndAllowThreads(__tstate
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27898 resultobj
= wxPyMake_wxObject(result
, 0);
27906 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
= NULL
;
27908 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
27909 wxVisualAttributes result
;
27910 PyObject
* obj0
= 0 ;
27911 char *kwnames
[] = {
27912 (char *) "variant", NULL
27915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27918 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
27919 if (SWIG_arg_fail(1)) SWIG_fail
;
27923 if (!wxPyCheckForApp()) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27931 wxVisualAttributes
* resultptr
;
27932 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
27933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27941 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27944 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
27946 return Py_BuildValue((char *)"");
27948 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
= NULL
;
27950 wxWindow
*arg1
= (wxWindow
*) 0 ;
27951 int arg2
= (int) -1 ;
27952 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27953 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27954 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27955 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27956 long arg5
= (long) wxLC_REPORT
;
27957 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27958 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27959 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
27960 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27961 wxListView
*result
;
27964 bool temp7
= false ;
27965 PyObject
* obj0
= 0 ;
27966 PyObject
* obj1
= 0 ;
27967 PyObject
* obj2
= 0 ;
27968 PyObject
* obj3
= 0 ;
27969 PyObject
* obj4
= 0 ;
27970 PyObject
* obj5
= 0 ;
27971 PyObject
* obj6
= 0 ;
27972 char *kwnames
[] = {
27973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27978 if (SWIG_arg_fail(1)) SWIG_fail
;
27981 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27982 if (SWIG_arg_fail(2)) SWIG_fail
;
27988 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27994 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27999 arg5
= static_cast<long >(SWIG_As_long(obj4
));
28000 if (SWIG_arg_fail(5)) SWIG_fail
;
28005 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28006 if (SWIG_arg_fail(6)) SWIG_fail
;
28007 if (arg6
== NULL
) {
28008 SWIG_null_ref("wxValidator");
28010 if (SWIG_arg_fail(6)) SWIG_fail
;
28015 arg7
= wxString_in_helper(obj6
);
28016 if (arg7
== NULL
) SWIG_fail
;
28021 if (!wxPyCheckForApp()) SWIG_fail
;
28022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28023 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28025 wxPyEndAllowThreads(__tstate
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
28043 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
= NULL
;
28045 wxListView
*result
;
28046 char *kwnames
[] = {
28050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
28052 if (!wxPyCheckForApp()) SWIG_fail
;
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 result
= (wxListView
*)new wxListView();
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
28066 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28067 PyObject
*resultobj
= NULL
;
28068 wxListView
*arg1
= (wxListView
*) 0 ;
28069 wxWindow
*arg2
= (wxWindow
*) 0 ;
28070 int arg3
= (int) -1 ;
28071 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28072 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28073 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28074 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28075 long arg6
= (long) wxLC_REPORT
;
28076 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28077 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28078 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28079 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28083 bool temp8
= false ;
28084 PyObject
* obj0
= 0 ;
28085 PyObject
* obj1
= 0 ;
28086 PyObject
* obj2
= 0 ;
28087 PyObject
* obj3
= 0 ;
28088 PyObject
* obj4
= 0 ;
28089 PyObject
* obj5
= 0 ;
28090 PyObject
* obj6
= 0 ;
28091 PyObject
* obj7
= 0 ;
28092 char *kwnames
[] = {
28093 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28098 if (SWIG_arg_fail(1)) SWIG_fail
;
28099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28100 if (SWIG_arg_fail(2)) SWIG_fail
;
28103 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28104 if (SWIG_arg_fail(3)) SWIG_fail
;
28110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28116 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28121 arg6
= static_cast<long >(SWIG_As_long(obj5
));
28122 if (SWIG_arg_fail(6)) SWIG_fail
;
28127 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28128 if (SWIG_arg_fail(7)) SWIG_fail
;
28129 if (arg7
== NULL
) {
28130 SWIG_null_ref("wxValidator");
28132 if (SWIG_arg_fail(7)) SWIG_fail
;
28137 arg8
= wxString_in_helper(obj7
);
28138 if (arg8
== NULL
) SWIG_fail
;
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28166 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
= NULL
;
28168 wxListView
*arg1
= (wxListView
*) 0 ;
28170 bool arg3
= (bool) true ;
28171 PyObject
* obj0
= 0 ;
28172 PyObject
* obj1
= 0 ;
28173 PyObject
* obj2
= 0 ;
28174 char *kwnames
[] = {
28175 (char *) "self",(char *) "n",(char *) "on", NULL
28178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28180 if (SWIG_arg_fail(1)) SWIG_fail
;
28182 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28183 if (SWIG_arg_fail(2)) SWIG_fail
;
28187 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28188 if (SWIG_arg_fail(3)) SWIG_fail
;
28192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28193 (arg1
)->Select(arg2
,arg3
);
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28198 Py_INCREF(Py_None
); resultobj
= Py_None
;
28205 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28206 PyObject
*resultobj
= NULL
;
28207 wxListView
*arg1
= (wxListView
*) 0 ;
28209 PyObject
* obj0
= 0 ;
28210 PyObject
* obj1
= 0 ;
28211 char *kwnames
[] = {
28212 (char *) "self",(char *) "index", NULL
28215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
28216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28217 if (SWIG_arg_fail(1)) SWIG_fail
;
28219 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28220 if (SWIG_arg_fail(2)) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 (arg1
)->Focus(arg2
);
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 Py_INCREF(Py_None
); resultobj
= Py_None
;
28236 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
= NULL
;
28238 wxListView
*arg1
= (wxListView
*) 0 ;
28240 PyObject
* obj0
= 0 ;
28241 char *kwnames
[] = {
28242 (char *) "self", NULL
28245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
28246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28247 if (SWIG_arg_fail(1)) SWIG_fail
;
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_From_long(static_cast<long >(result
));
28264 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28265 PyObject
*resultobj
= NULL
;
28266 wxListView
*arg1
= (wxListView
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 PyObject
* obj1
= 0 ;
28271 char *kwnames
[] = {
28272 (char *) "self",(char *) "item", NULL
28275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
28276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28277 if (SWIG_arg_fail(1)) SWIG_fail
;
28279 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28280 if (SWIG_arg_fail(2)) SWIG_fail
;
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= SWIG_From_long(static_cast<long >(result
));
28298 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
= NULL
;
28300 wxListView
*arg1
= (wxListView
*) 0 ;
28302 PyObject
* obj0
= 0 ;
28303 char *kwnames
[] = {
28304 (char *) "self", NULL
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
28308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28309 if (SWIG_arg_fail(1)) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28318 resultobj
= SWIG_From_long(static_cast<long >(result
));
28326 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
= NULL
;
28328 wxListView
*arg1
= (wxListView
*) 0 ;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self",(char *) "index", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
28338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28339 if (SWIG_arg_fail(1)) SWIG_fail
;
28341 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28342 if (SWIG_arg_fail(2)) SWIG_fail
;
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 result
= (bool)(arg1
)->IsSelected(arg2
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28360 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28361 PyObject
*resultobj
= NULL
;
28362 wxListView
*arg1
= (wxListView
*) 0 ;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 PyObject
* obj2
= 0 ;
28368 char *kwnames
[] = {
28369 (char *) "self",(char *) "col",(char *) "image", NULL
28372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28374 if (SWIG_arg_fail(1)) SWIG_fail
;
28376 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28377 if (SWIG_arg_fail(2)) SWIG_fail
;
28380 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28381 if (SWIG_arg_fail(3)) SWIG_fail
;
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 (arg1
)->SetColumnImage(arg2
,arg3
);
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28390 Py_INCREF(Py_None
); resultobj
= Py_None
;
28397 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28398 PyObject
*resultobj
= NULL
;
28399 wxListView
*arg1
= (wxListView
*) 0 ;
28401 PyObject
* obj0
= 0 ;
28402 PyObject
* obj1
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self",(char *) "col", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28409 if (SWIG_arg_fail(1)) SWIG_fail
;
28411 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28412 if (SWIG_arg_fail(2)) SWIG_fail
;
28415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 (arg1
)->ClearColumnImage(arg2
);
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28421 Py_INCREF(Py_None
); resultobj
= Py_None
;
28428 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
28430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28431 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
28433 return Py_BuildValue((char *)"");
28435 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
28436 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
28441 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
28442 PyObject
*pyobj
= NULL
;
28446 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
28448 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
28455 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28456 PyObject
*resultobj
= NULL
;
28457 wxTreeItemId
*result
;
28458 char *kwnames
[] = {
28462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 result
= (wxTreeItemId
*)new wxTreeItemId();
28467 wxPyEndAllowThreads(__tstate
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
28477 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28478 PyObject
*resultobj
= NULL
;
28479 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28480 PyObject
* obj0
= 0 ;
28481 char *kwnames
[] = {
28482 (char *) "self", NULL
28485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
28486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28487 if (SWIG_arg_fail(1)) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 Py_INCREF(Py_None
); resultobj
= Py_None
;
28502 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
= NULL
;
28504 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28506 PyObject
* obj0
= 0 ;
28507 char *kwnames
[] = {
28508 (char *) "self", NULL
28511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
28512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28513 if (SWIG_arg_fail(1)) SWIG_fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28530 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
= NULL
;
28532 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28533 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
28535 PyObject
* obj0
= 0 ;
28536 PyObject
* obj1
= 0 ;
28537 char *kwnames
[] = {
28538 (char *) "self",(char *) "other", NULL
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28543 if (SWIG_arg_fail(1)) SWIG_fail
;
28544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28545 if (SWIG_arg_fail(2)) SWIG_fail
;
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
28550 wxPyEndAllowThreads(__tstate
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28562 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
= NULL
;
28564 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28565 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
28567 PyObject
* obj0
= 0 ;
28568 PyObject
* obj1
= 0 ;
28569 char *kwnames
[] = {
28570 (char *) "self",(char *) "other", NULL
28573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28575 if (SWIG_arg_fail(1)) SWIG_fail
;
28576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28577 if (SWIG_arg_fail(2)) SWIG_fail
;
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28594 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
= NULL
;
28596 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28597 void *arg2
= (void *) 0 ;
28598 PyObject
* obj0
= 0 ;
28599 PyObject
* obj1
= 0 ;
28600 char *kwnames
[] = {
28601 (char *) "self",(char *) "m_pItem", NULL
28604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28606 if (SWIG_arg_fail(1)) SWIG_fail
;
28608 if ((SWIG_ConvertPtr(obj1
,reinterpret_cast<void ** >(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
28609 SWIG_arg_fail(2);SWIG_fail
;
28612 if (arg1
) (arg1
)->m_pItem
= arg2
;
28614 Py_INCREF(Py_None
); resultobj
= Py_None
;
28621 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28622 PyObject
*resultobj
= NULL
;
28623 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28625 PyObject
* obj0
= 0 ;
28626 char *kwnames
[] = {
28627 (char *) "self", NULL
28630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
28631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28632 if (SWIG_arg_fail(1)) SWIG_fail
;
28633 result
= (void *) ((arg1
)->m_pItem
);
28635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
28642 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
28644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28645 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
28647 return Py_BuildValue((char *)"");
28649 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28650 PyObject
*resultobj
= NULL
;
28651 PyObject
*arg1
= (PyObject
*) NULL
;
28652 wxPyTreeItemData
*result
;
28653 PyObject
* obj0
= 0 ;
28654 char *kwnames
[] = {
28655 (char *) "obj", NULL
28658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
28676 static PyObject
*_wrap_delete_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28677 PyObject
*resultobj
= NULL
;
28678 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28679 PyObject
* obj0
= 0 ;
28680 char *kwnames
[] = {
28681 (char *) "self", NULL
28684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemData",kwnames
,&obj0
)) goto fail
;
28685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28686 if (SWIG_arg_fail(1)) SWIG_fail
;
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28694 Py_INCREF(Py_None
); resultobj
= Py_None
;
28701 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28702 PyObject
*resultobj
= NULL
;
28703 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28705 PyObject
* obj0
= 0 ;
28706 char *kwnames
[] = {
28707 (char *) "self", NULL
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
28711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(1)) SWIG_fail
;
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 result
= (PyObject
*)(arg1
)->GetData();
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= result
;
28727 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28728 PyObject
*resultobj
= NULL
;
28729 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28730 PyObject
*arg2
= (PyObject
*) 0 ;
28731 PyObject
* obj0
= 0 ;
28732 PyObject
* obj1
= 0 ;
28733 char *kwnames
[] = {
28734 (char *) "self",(char *) "obj", NULL
28737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28739 if (SWIG_arg_fail(1)) SWIG_fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 (arg1
)->SetData(arg2
);
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 Py_INCREF(Py_None
); resultobj
= Py_None
;
28755 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
= NULL
;
28757 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28758 wxTreeItemId
*result
;
28759 PyObject
* obj0
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "self", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
28765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28766 if (SWIG_arg_fail(1)) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
28771 result
= (wxTreeItemId
*) &_result_ref
;
28774 wxPyEndAllowThreads(__tstate
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
28784 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28785 PyObject
*resultobj
= NULL
;
28786 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28787 wxTreeItemId
*arg2
= 0 ;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 char *kwnames
[] = {
28791 (char *) "self",(char *) "id", NULL
28794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28796 if (SWIG_arg_fail(1)) SWIG_fail
;
28798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28799 if (SWIG_arg_fail(2)) SWIG_fail
;
28800 if (arg2
== NULL
) {
28801 SWIG_null_ref("wxTreeItemId");
28803 if (SWIG_arg_fail(2)) SWIG_fail
;
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 Py_INCREF(Py_None
); resultobj
= Py_None
;
28819 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28820 PyObject
*resultobj
= NULL
;
28821 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28822 PyObject
* obj0
= 0 ;
28823 char *kwnames
[] = {
28824 (char *) "self", NULL
28827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
28828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28829 if (SWIG_arg_fail(1)) SWIG_fail
;
28831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28832 wxPyTreeItemData_Destroy(arg1
);
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 Py_INCREF(Py_None
); resultobj
= Py_None
;
28844 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
28846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28847 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
28849 return Py_BuildValue((char *)"");
28851 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
= NULL
;
28853 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28854 int arg2
= (int) 0 ;
28855 wxTreeEvent
*result
;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char *kwnames
[] = {
28859 (char *) "commandType",(char *) "id", NULL
28862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
28865 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
28866 if (SWIG_arg_fail(1)) SWIG_fail
;
28871 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28872 if (SWIG_arg_fail(2)) SWIG_fail
;
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
28879 wxPyEndAllowThreads(__tstate
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
28889 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
= NULL
;
28891 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28892 wxTreeItemId result
;
28893 PyObject
* obj0
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
28899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28900 if (SWIG_arg_fail(1)) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28909 wxTreeItemId
* resultptr
;
28910 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
28911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28919 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28920 PyObject
*resultobj
= NULL
;
28921 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28922 wxTreeItemId
*arg2
= 0 ;
28923 PyObject
* obj0
= 0 ;
28924 PyObject
* obj1
= 0 ;
28925 char *kwnames
[] = {
28926 (char *) "self",(char *) "item", NULL
28929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28931 if (SWIG_arg_fail(1)) SWIG_fail
;
28933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28934 if (SWIG_arg_fail(2)) SWIG_fail
;
28935 if (arg2
== NULL
) {
28936 SWIG_null_ref("wxTreeItemId");
28938 if (SWIG_arg_fail(2)) SWIG_fail
;
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 Py_INCREF(Py_None
); resultobj
= Py_None
;
28954 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
= NULL
;
28956 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28957 wxTreeItemId result
;
28958 PyObject
* obj0
= 0 ;
28959 char *kwnames
[] = {
28960 (char *) "self", NULL
28963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
28964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28965 if (SWIG_arg_fail(1)) SWIG_fail
;
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28968 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
28970 wxPyEndAllowThreads(__tstate
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28974 wxTreeItemId
* resultptr
;
28975 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
28976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28984 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28985 PyObject
*resultobj
= NULL
;
28986 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28987 wxTreeItemId
*arg2
= 0 ;
28988 PyObject
* obj0
= 0 ;
28989 PyObject
* obj1
= 0 ;
28990 char *kwnames
[] = {
28991 (char *) "self",(char *) "item", NULL
28994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28996 if (SWIG_arg_fail(1)) SWIG_fail
;
28998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28999 if (SWIG_arg_fail(2)) SWIG_fail
;
29000 if (arg2
== NULL
) {
29001 SWIG_null_ref("wxTreeItemId");
29003 if (SWIG_arg_fail(2)) SWIG_fail
;
29006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
29009 wxPyEndAllowThreads(__tstate
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29012 Py_INCREF(Py_None
); resultobj
= Py_None
;
29019 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
= NULL
;
29021 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29023 PyObject
* obj0
= 0 ;
29024 char *kwnames
[] = {
29025 (char *) "self", NULL
29028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
29029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29030 if (SWIG_arg_fail(1)) SWIG_fail
;
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29039 wxPoint
* resultptr
;
29040 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
29041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29049 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
= NULL
;
29051 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29052 wxPoint
*arg2
= 0 ;
29054 PyObject
* obj0
= 0 ;
29055 PyObject
* obj1
= 0 ;
29056 char *kwnames
[] = {
29057 (char *) "self",(char *) "pt", NULL
29060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29062 if (SWIG_arg_fail(1)) SWIG_fail
;
29065 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29074 Py_INCREF(Py_None
); resultobj
= Py_None
;
29081 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29082 PyObject
*resultobj
= NULL
;
29083 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29084 wxKeyEvent
*result
;
29085 PyObject
* obj0
= 0 ;
29086 char *kwnames
[] = {
29087 (char *) "self", NULL
29090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
29091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29092 if (SWIG_arg_fail(1)) SWIG_fail
;
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
29097 result
= (wxKeyEvent
*) &_result_ref
;
29100 wxPyEndAllowThreads(__tstate
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
29110 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29111 PyObject
*resultobj
= NULL
;
29112 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29114 PyObject
* obj0
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
29120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29121 if (SWIG_arg_fail(1)) SWIG_fail
;
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29130 resultobj
= SWIG_From_int(static_cast<int >(result
));
29138 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
= NULL
;
29140 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29141 wxKeyEvent
*arg2
= 0 ;
29142 PyObject
* obj0
= 0 ;
29143 PyObject
* obj1
= 0 ;
29144 char *kwnames
[] = {
29145 (char *) "self",(char *) "evt", NULL
29148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
29149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29150 if (SWIG_arg_fail(1)) SWIG_fail
;
29152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
29153 if (SWIG_arg_fail(2)) SWIG_fail
;
29154 if (arg2
== NULL
) {
29155 SWIG_null_ref("wxKeyEvent");
29157 if (SWIG_arg_fail(2)) SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29166 Py_INCREF(Py_None
); resultobj
= Py_None
;
29173 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
= NULL
;
29175 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29177 PyObject
* obj0
= 0 ;
29178 char *kwnames
[] = {
29179 (char *) "self", NULL
29182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
29183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29184 if (SWIG_arg_fail(1)) SWIG_fail
;
29186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
29189 result
= (wxString
*) &_result_ref
;
29192 wxPyEndAllowThreads(__tstate
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29197 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29199 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29208 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29209 PyObject
*resultobj
= NULL
;
29210 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29211 wxString
*arg2
= 0 ;
29212 bool temp2
= false ;
29213 PyObject
* obj0
= 0 ;
29214 PyObject
* obj1
= 0 ;
29215 char *kwnames
[] = {
29216 (char *) "self",(char *) "label", NULL
29219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29221 if (SWIG_arg_fail(1)) SWIG_fail
;
29223 arg2
= wxString_in_helper(obj1
);
29224 if (arg2
== NULL
) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 (arg1
)->SetLabel((wxString
const &)*arg2
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 Py_INCREF(Py_None
); resultobj
= Py_None
;
29249 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29250 PyObject
*resultobj
= NULL
;
29251 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29253 PyObject
* obj0
= 0 ;
29254 char *kwnames
[] = {
29255 (char *) "self", NULL
29258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
29259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29260 if (SWIG_arg_fail(1)) SWIG_fail
;
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
29265 wxPyEndAllowThreads(__tstate
);
29266 if (PyErr_Occurred()) SWIG_fail
;
29269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29277 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
= NULL
;
29279 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 char *kwnames
[] = {
29284 (char *) "self",(char *) "editCancelled", NULL
29287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
29288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29289 if (SWIG_arg_fail(1)) SWIG_fail
;
29291 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
29292 if (SWIG_arg_fail(2)) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 (arg1
)->SetEditCanceled(arg2
);
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29301 Py_INCREF(Py_None
); resultobj
= Py_None
;
29308 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
= NULL
;
29310 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29311 wxString
*arg2
= 0 ;
29312 bool temp2
= false ;
29313 PyObject
* obj0
= 0 ;
29314 PyObject
* obj1
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "self",(char *) "toolTip", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
29320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29321 if (SWIG_arg_fail(1)) SWIG_fail
;
29323 arg2
= wxString_in_helper(obj1
);
29324 if (arg2
== NULL
) SWIG_fail
;
29328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29329 (arg1
)->SetToolTip((wxString
const &)*arg2
);
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29334 Py_INCREF(Py_None
); resultobj
= Py_None
;
29349 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
= NULL
;
29351 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29353 PyObject
* obj0
= 0 ;
29354 char *kwnames
[] = {
29355 (char *) "self", NULL
29358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
29359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29360 if (SWIG_arg_fail(1)) SWIG_fail
;
29362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29363 result
= (arg1
)->GetToolTip();
29365 wxPyEndAllowThreads(__tstate
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29381 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
29383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29384 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
29386 return Py_BuildValue((char *)"");
29388 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
= NULL
;
29390 wxWindow
*arg1
= (wxWindow
*) 0 ;
29391 int arg2
= (int) -1 ;
29392 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29393 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29394 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29395 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29396 long arg5
= (long) wxTR_DEFAULT_STYLE
;
29397 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29398 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29399 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
29400 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29401 wxPyTreeCtrl
*result
;
29404 bool temp7
= false ;
29405 PyObject
* obj0
= 0 ;
29406 PyObject
* obj1
= 0 ;
29407 PyObject
* obj2
= 0 ;
29408 PyObject
* obj3
= 0 ;
29409 PyObject
* obj4
= 0 ;
29410 PyObject
* obj5
= 0 ;
29411 PyObject
* obj6
= 0 ;
29412 char *kwnames
[] = {
29413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29418 if (SWIG_arg_fail(1)) SWIG_fail
;
29421 arg2
= static_cast<int >(SWIG_As_int(obj1
));
29422 if (SWIG_arg_fail(2)) SWIG_fail
;
29428 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29434 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29439 arg5
= static_cast<long >(SWIG_As_long(obj4
));
29440 if (SWIG_arg_fail(5)) SWIG_fail
;
29445 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29446 if (SWIG_arg_fail(6)) SWIG_fail
;
29447 if (arg6
== NULL
) {
29448 SWIG_null_ref("wxValidator");
29450 if (SWIG_arg_fail(6)) SWIG_fail
;
29455 arg7
= wxString_in_helper(obj6
);
29456 if (arg7
== NULL
) SWIG_fail
;
29461 if (!wxPyCheckForApp()) SWIG_fail
;
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
29483 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29484 PyObject
*resultobj
= NULL
;
29485 wxPyTreeCtrl
*result
;
29486 char *kwnames
[] = {
29490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
29492 if (!wxPyCheckForApp()) SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
29506 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
= NULL
;
29508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29509 wxWindow
*arg2
= (wxWindow
*) 0 ;
29510 int arg3
= (int) -1 ;
29511 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29512 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29513 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29514 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29515 long arg6
= (long) wxTR_DEFAULT_STYLE
;
29516 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29517 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29518 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
29519 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29523 bool temp8
= false ;
29524 PyObject
* obj0
= 0 ;
29525 PyObject
* obj1
= 0 ;
29526 PyObject
* obj2
= 0 ;
29527 PyObject
* obj3
= 0 ;
29528 PyObject
* obj4
= 0 ;
29529 PyObject
* obj5
= 0 ;
29530 PyObject
* obj6
= 0 ;
29531 PyObject
* obj7
= 0 ;
29532 char *kwnames
[] = {
29533 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
29537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29538 if (SWIG_arg_fail(1)) SWIG_fail
;
29539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29540 if (SWIG_arg_fail(2)) SWIG_fail
;
29543 arg3
= static_cast<int >(SWIG_As_int(obj2
));
29544 if (SWIG_arg_fail(3)) SWIG_fail
;
29550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29561 arg6
= static_cast<long >(SWIG_As_long(obj5
));
29562 if (SWIG_arg_fail(6)) SWIG_fail
;
29567 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29568 if (SWIG_arg_fail(7)) SWIG_fail
;
29569 if (arg7
== NULL
) {
29570 SWIG_null_ref("wxValidator");
29572 if (SWIG_arg_fail(7)) SWIG_fail
;
29577 arg8
= wxString_in_helper(obj7
);
29578 if (arg8
== NULL
) SWIG_fail
;
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29606 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
= NULL
;
29608 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29609 PyObject
*arg2
= (PyObject
*) 0 ;
29610 PyObject
*arg3
= (PyObject
*) 0 ;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 PyObject
* obj2
= 0 ;
29614 char *kwnames
[] = {
29615 (char *) "self",(char *) "self",(char *) "_class", NULL
29618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29620 if (SWIG_arg_fail(1)) SWIG_fail
;
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29630 Py_INCREF(Py_None
); resultobj
= Py_None
;
29637 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
= NULL
;
29639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29641 PyObject
* obj0
= 0 ;
29642 char *kwnames
[] = {
29643 (char *) "self", NULL
29646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
29647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29648 if (SWIG_arg_fail(1)) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29665 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
= NULL
;
29667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29668 unsigned int result
;
29669 PyObject
* obj0
= 0 ;
29670 char *kwnames
[] = {
29671 (char *) "self", NULL
29674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
29675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail
;
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29685 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
29693 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29694 PyObject
*resultobj
= NULL
;
29695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29696 unsigned int arg2
;
29697 PyObject
* obj0
= 0 ;
29698 PyObject
* obj1
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "self",(char *) "indent", NULL
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
29704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29705 if (SWIG_arg_fail(1)) SWIG_fail
;
29707 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
29708 if (SWIG_arg_fail(2)) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 (arg1
)->SetIndent(arg2
);
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29717 Py_INCREF(Py_None
); resultobj
= Py_None
;
29724 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
= NULL
;
29726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29727 unsigned int result
;
29728 PyObject
* obj0
= 0 ;
29729 char *kwnames
[] = {
29730 (char *) "self", NULL
29733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
29734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29735 if (SWIG_arg_fail(1)) SWIG_fail
;
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29744 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
29752 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
= NULL
;
29754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29755 unsigned int arg2
;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "self",(char *) "spacing", NULL
29762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",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 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
29767 if (SWIG_arg_fail(2)) SWIG_fail
;
29770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29771 (arg1
)->SetSpacing(arg2
);
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 Py_INCREF(Py_None
); resultobj
= Py_None
;
29783 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
= NULL
;
29785 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29786 wxImageList
*result
;
29787 PyObject
* obj0
= 0 ;
29788 char *kwnames
[] = {
29789 (char *) "self", NULL
29792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
29793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29794 if (SWIG_arg_fail(1)) SWIG_fail
;
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29803 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29811 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
= NULL
;
29813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29814 wxImageList
*result
;
29815 PyObject
* obj0
= 0 ;
29816 char *kwnames
[] = {
29817 (char *) "self", NULL
29820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
29821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29822 if (SWIG_arg_fail(1)) SWIG_fail
;
29824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29825 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
29827 wxPyEndAllowThreads(__tstate
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29831 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29839 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
= NULL
;
29841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29842 wxImageList
*arg2
= (wxImageList
*) 0 ;
29843 PyObject
* obj0
= 0 ;
29844 PyObject
* obj1
= 0 ;
29845 char *kwnames
[] = {
29846 (char *) "self",(char *) "imageList", NULL
29849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29851 if (SWIG_arg_fail(1)) SWIG_fail
;
29852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
29853 if (SWIG_arg_fail(2)) SWIG_fail
;
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 (arg1
)->SetImageList(arg2
);
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29861 Py_INCREF(Py_None
); resultobj
= Py_None
;
29868 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29869 PyObject
*resultobj
= NULL
;
29870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29871 wxImageList
*arg2
= (wxImageList
*) 0 ;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 char *kwnames
[] = {
29875 (char *) "self",(char *) "imageList", NULL
29878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29880 if (SWIG_arg_fail(1)) SWIG_fail
;
29881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
29882 if (SWIG_arg_fail(2)) SWIG_fail
;
29884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29885 (arg1
)->SetStateImageList(arg2
);
29887 wxPyEndAllowThreads(__tstate
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29890 Py_INCREF(Py_None
); resultobj
= Py_None
;
29897 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29898 PyObject
*resultobj
= NULL
;
29899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29900 wxImageList
*arg2
= (wxImageList
*) 0 ;
29901 PyObject
* obj0
= 0 ;
29902 PyObject
* obj1
= 0 ;
29903 char *kwnames
[] = {
29904 (char *) "self",(char *) "imageList", NULL
29907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29909 if (SWIG_arg_fail(1)) SWIG_fail
;
29910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29911 if (SWIG_arg_fail(2)) SWIG_fail
;
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 (arg1
)->AssignImageList(arg2
);
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 Py_INCREF(Py_None
); resultobj
= Py_None
;
29926 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29927 PyObject
*resultobj
= NULL
;
29928 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29929 wxImageList
*arg2
= (wxImageList
*) 0 ;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 char *kwnames
[] = {
29933 (char *) "self",(char *) "imageList", NULL
29936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29938 if (SWIG_arg_fail(1)) SWIG_fail
;
29939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29940 if (SWIG_arg_fail(2)) SWIG_fail
;
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 (arg1
)->AssignStateImageList(arg2
);
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 Py_INCREF(Py_None
); resultobj
= Py_None
;
29955 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29956 PyObject
*resultobj
= NULL
;
29957 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29958 wxTreeItemId
*arg2
= 0 ;
29960 PyObject
* obj0
= 0 ;
29961 PyObject
* obj1
= 0 ;
29962 char *kwnames
[] = {
29963 (char *) "self",(char *) "item", NULL
29966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
29967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29968 if (SWIG_arg_fail(1)) SWIG_fail
;
29970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29971 if (SWIG_arg_fail(2)) SWIG_fail
;
29972 if (arg2
== NULL
) {
29973 SWIG_null_ref("wxTreeItemId");
29975 if (SWIG_arg_fail(2)) SWIG_fail
;
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
29981 wxPyEndAllowThreads(__tstate
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29997 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29998 PyObject
*resultobj
= NULL
;
29999 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30000 wxTreeItemId
*arg2
= 0 ;
30001 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
30003 PyObject
* obj0
= 0 ;
30004 PyObject
* obj1
= 0 ;
30005 PyObject
* obj2
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self",(char *) "item",(char *) "which", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30012 if (SWIG_arg_fail(1)) SWIG_fail
;
30014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30015 if (SWIG_arg_fail(2)) SWIG_fail
;
30016 if (arg2
== NULL
) {
30017 SWIG_null_ref("wxTreeItemId");
30019 if (SWIG_arg_fail(2)) SWIG_fail
;
30023 arg3
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj2
));
30024 if (SWIG_arg_fail(3)) SWIG_fail
;
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
30031 wxPyEndAllowThreads(__tstate
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= SWIG_From_int(static_cast<int >(result
));
30043 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30044 PyObject
*resultobj
= NULL
;
30045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30046 wxTreeItemId
*arg2
= 0 ;
30047 wxPyTreeItemData
*result
;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 char *kwnames
[] = {
30051 (char *) "self",(char *) "item", NULL
30054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
30055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30056 if (SWIG_arg_fail(1)) SWIG_fail
;
30058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30059 if (SWIG_arg_fail(2)) SWIG_fail
;
30060 if (arg2
== NULL
) {
30061 SWIG_null_ref("wxTreeItemId");
30063 if (SWIG_arg_fail(2)) SWIG_fail
;
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
30079 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
= NULL
;
30081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30082 wxTreeItemId
*arg2
= 0 ;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 char *kwnames
[] = {
30087 (char *) "self",(char *) "item", NULL
30090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
30091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30092 if (SWIG_arg_fail(1)) SWIG_fail
;
30094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30095 if (SWIG_arg_fail(2)) SWIG_fail
;
30096 if (arg2
== NULL
) {
30097 SWIG_null_ref("wxTreeItemId");
30099 if (SWIG_arg_fail(2)) SWIG_fail
;
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30103 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= result
;
30115 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30116 PyObject
*resultobj
= NULL
;
30117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30118 wxTreeItemId
*arg2
= 0 ;
30120 PyObject
* obj0
= 0 ;
30121 PyObject
* obj1
= 0 ;
30122 char *kwnames
[] = {
30123 (char *) "self",(char *) "item", NULL
30126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30128 if (SWIG_arg_fail(1)) SWIG_fail
;
30130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30131 if (SWIG_arg_fail(2)) SWIG_fail
;
30132 if (arg2
== NULL
) {
30133 SWIG_null_ref("wxTreeItemId");
30135 if (SWIG_arg_fail(2)) SWIG_fail
;
30138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30139 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
30141 wxPyEndAllowThreads(__tstate
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30145 wxColour
* resultptr
;
30146 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
30147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30155 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
= NULL
;
30157 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30158 wxTreeItemId
*arg2
= 0 ;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 char *kwnames
[] = {
30163 (char *) "self",(char *) "item", NULL
30166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30168 if (SWIG_arg_fail(1)) SWIG_fail
;
30170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30171 if (SWIG_arg_fail(2)) SWIG_fail
;
30172 if (arg2
== NULL
) {
30173 SWIG_null_ref("wxTreeItemId");
30175 if (SWIG_arg_fail(2)) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30185 wxColour
* resultptr
;
30186 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
30187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30195 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30196 PyObject
*resultobj
= NULL
;
30197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30198 wxTreeItemId
*arg2
= 0 ;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 char *kwnames
[] = {
30203 (char *) "self",(char *) "item", NULL
30206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30208 if (SWIG_arg_fail(1)) SWIG_fail
;
30210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30211 if (SWIG_arg_fail(2)) SWIG_fail
;
30212 if (arg2
== NULL
) {
30213 SWIG_null_ref("wxTreeItemId");
30215 if (SWIG_arg_fail(2)) SWIG_fail
;
30218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30225 wxFont
* resultptr
;
30226 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
30227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30235 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
= NULL
;
30237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30238 wxTreeItemId
*arg2
= 0 ;
30239 wxString
*arg3
= 0 ;
30240 bool temp3
= false ;
30241 PyObject
* obj0
= 0 ;
30242 PyObject
* obj1
= 0 ;
30243 PyObject
* obj2
= 0 ;
30244 char *kwnames
[] = {
30245 (char *) "self",(char *) "item",(char *) "text", NULL
30248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30250 if (SWIG_arg_fail(1)) SWIG_fail
;
30252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30253 if (SWIG_arg_fail(2)) SWIG_fail
;
30254 if (arg2
== NULL
) {
30255 SWIG_null_ref("wxTreeItemId");
30257 if (SWIG_arg_fail(2)) SWIG_fail
;
30260 arg3
= wxString_in_helper(obj2
);
30261 if (arg3
== NULL
) SWIG_fail
;
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30271 Py_INCREF(Py_None
); resultobj
= Py_None
;
30286 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30287 PyObject
*resultobj
= NULL
;
30288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30289 wxTreeItemId
*arg2
= 0 ;
30291 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
30292 PyObject
* obj0
= 0 ;
30293 PyObject
* obj1
= 0 ;
30294 PyObject
* obj2
= 0 ;
30295 PyObject
* obj3
= 0 ;
30296 char *kwnames
[] = {
30297 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30302 if (SWIG_arg_fail(1)) SWIG_fail
;
30304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30305 if (SWIG_arg_fail(2)) SWIG_fail
;
30306 if (arg2
== NULL
) {
30307 SWIG_null_ref("wxTreeItemId");
30309 if (SWIG_arg_fail(2)) SWIG_fail
;
30312 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30313 if (SWIG_arg_fail(3)) SWIG_fail
;
30317 arg4
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj3
));
30318 if (SWIG_arg_fail(4)) SWIG_fail
;
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
30325 wxPyEndAllowThreads(__tstate
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30328 Py_INCREF(Py_None
); resultobj
= Py_None
;
30335 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30336 PyObject
*resultobj
= NULL
;
30337 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30338 wxTreeItemId
*arg2
= 0 ;
30339 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
30340 PyObject
* obj0
= 0 ;
30341 PyObject
* obj1
= 0 ;
30342 PyObject
* obj2
= 0 ;
30343 char *kwnames
[] = {
30344 (char *) "self",(char *) "item",(char *) "data", NULL
30347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30349 if (SWIG_arg_fail(1)) SWIG_fail
;
30351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30352 if (SWIG_arg_fail(2)) SWIG_fail
;
30353 if (arg2
== NULL
) {
30354 SWIG_null_ref("wxTreeItemId");
30356 if (SWIG_arg_fail(2)) SWIG_fail
;
30358 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30359 if (SWIG_arg_fail(3)) SWIG_fail
;
30361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30362 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30364 wxPyEndAllowThreads(__tstate
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30367 Py_INCREF(Py_None
); resultobj
= Py_None
;
30374 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30375 PyObject
*resultobj
= NULL
;
30376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30377 wxTreeItemId
*arg2
= 0 ;
30378 PyObject
*arg3
= (PyObject
*) 0 ;
30379 PyObject
* obj0
= 0 ;
30380 PyObject
* obj1
= 0 ;
30381 PyObject
* obj2
= 0 ;
30382 char *kwnames
[] = {
30383 (char *) "self",(char *) "item",(char *) "obj", NULL
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30388 if (SWIG_arg_fail(1)) SWIG_fail
;
30390 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30391 if (SWIG_arg_fail(2)) SWIG_fail
;
30392 if (arg2
== NULL
) {
30393 SWIG_null_ref("wxTreeItemId");
30395 if (SWIG_arg_fail(2)) SWIG_fail
;
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 Py_INCREF(Py_None
); resultobj
= Py_None
;
30412 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
= NULL
;
30414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30415 wxTreeItemId
*arg2
= 0 ;
30416 bool arg3
= (bool) true ;
30417 PyObject
* obj0
= 0 ;
30418 PyObject
* obj1
= 0 ;
30419 PyObject
* obj2
= 0 ;
30420 char *kwnames
[] = {
30421 (char *) "self",(char *) "item",(char *) "has", NULL
30424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30426 if (SWIG_arg_fail(1)) SWIG_fail
;
30428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30429 if (SWIG_arg_fail(2)) SWIG_fail
;
30430 if (arg2
== NULL
) {
30431 SWIG_null_ref("wxTreeItemId");
30433 if (SWIG_arg_fail(2)) SWIG_fail
;
30437 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30438 if (SWIG_arg_fail(3)) SWIG_fail
;
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
30445 wxPyEndAllowThreads(__tstate
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30448 Py_INCREF(Py_None
); resultobj
= Py_None
;
30455 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30456 PyObject
*resultobj
= NULL
;
30457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30458 wxTreeItemId
*arg2
= 0 ;
30459 bool arg3
= (bool) true ;
30460 PyObject
* obj0
= 0 ;
30461 PyObject
* obj1
= 0 ;
30462 PyObject
* obj2
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self",(char *) "item",(char *) "bold", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30469 if (SWIG_arg_fail(1)) SWIG_fail
;
30471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30472 if (SWIG_arg_fail(2)) SWIG_fail
;
30473 if (arg2
== NULL
) {
30474 SWIG_null_ref("wxTreeItemId");
30476 if (SWIG_arg_fail(2)) SWIG_fail
;
30480 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30481 if (SWIG_arg_fail(3)) SWIG_fail
;
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 Py_INCREF(Py_None
); resultobj
= Py_None
;
30498 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30499 PyObject
*resultobj
= NULL
;
30500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30501 wxTreeItemId
*arg2
= 0 ;
30502 bool arg3
= (bool) true ;
30503 PyObject
* obj0
= 0 ;
30504 PyObject
* obj1
= 0 ;
30505 PyObject
* obj2
= 0 ;
30506 char *kwnames
[] = {
30507 (char *) "self",(char *) "item",(char *) "highlight", NULL
30510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30512 if (SWIG_arg_fail(1)) SWIG_fail
;
30514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30515 if (SWIG_arg_fail(2)) SWIG_fail
;
30516 if (arg2
== NULL
) {
30517 SWIG_null_ref("wxTreeItemId");
30519 if (SWIG_arg_fail(2)) SWIG_fail
;
30523 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30524 if (SWIG_arg_fail(3)) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30534 Py_INCREF(Py_None
); resultobj
= Py_None
;
30541 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
= NULL
;
30543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30544 wxTreeItemId
*arg2
= 0 ;
30545 wxColour
*arg3
= 0 ;
30547 PyObject
* obj0
= 0 ;
30548 PyObject
* obj1
= 0 ;
30549 PyObject
* obj2
= 0 ;
30550 char *kwnames
[] = {
30551 (char *) "self",(char *) "item",(char *) "col", NULL
30554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30556 if (SWIG_arg_fail(1)) SWIG_fail
;
30558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30559 if (SWIG_arg_fail(2)) SWIG_fail
;
30560 if (arg2
== NULL
) {
30561 SWIG_null_ref("wxTreeItemId");
30563 if (SWIG_arg_fail(2)) SWIG_fail
;
30567 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30571 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 Py_INCREF(Py_None
); resultobj
= Py_None
;
30583 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
= NULL
;
30585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30586 wxTreeItemId
*arg2
= 0 ;
30587 wxColour
*arg3
= 0 ;
30589 PyObject
* obj0
= 0 ;
30590 PyObject
* obj1
= 0 ;
30591 PyObject
* obj2
= 0 ;
30592 char *kwnames
[] = {
30593 (char *) "self",(char *) "item",(char *) "col", NULL
30596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
30609 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
30615 wxPyEndAllowThreads(__tstate
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30618 Py_INCREF(Py_None
); resultobj
= Py_None
;
30625 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30626 PyObject
*resultobj
= NULL
;
30627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30628 wxTreeItemId
*arg2
= 0 ;
30630 PyObject
* obj0
= 0 ;
30631 PyObject
* obj1
= 0 ;
30632 PyObject
* obj2
= 0 ;
30633 char *kwnames
[] = {
30634 (char *) "self",(char *) "item",(char *) "font", NULL
30637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30639 if (SWIG_arg_fail(1)) SWIG_fail
;
30641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30642 if (SWIG_arg_fail(2)) SWIG_fail
;
30643 if (arg2
== NULL
) {
30644 SWIG_null_ref("wxTreeItemId");
30646 if (SWIG_arg_fail(2)) SWIG_fail
;
30649 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30650 if (SWIG_arg_fail(3)) SWIG_fail
;
30651 if (arg3
== NULL
) {
30652 SWIG_null_ref("wxFont");
30654 if (SWIG_arg_fail(3)) SWIG_fail
;
30657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30658 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30663 Py_INCREF(Py_None
); resultobj
= Py_None
;
30670 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30671 PyObject
*resultobj
= NULL
;
30672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30673 wxTreeItemId
*arg2
= 0 ;
30675 PyObject
* obj0
= 0 ;
30676 PyObject
* obj1
= 0 ;
30677 char *kwnames
[] = {
30678 (char *) "self",(char *) "item", NULL
30681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30683 if (SWIG_arg_fail(1)) SWIG_fail
;
30685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30686 if (SWIG_arg_fail(2)) SWIG_fail
;
30687 if (arg2
== NULL
) {
30688 SWIG_null_ref("wxTreeItemId");
30690 if (SWIG_arg_fail(2)) SWIG_fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30708 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30709 PyObject
*resultobj
= NULL
;
30710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30711 wxTreeItemId
*arg2
= 0 ;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 char *kwnames
[] = {
30716 (char *) "self",(char *) "item", NULL
30719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30721 if (SWIG_arg_fail(1)) SWIG_fail
;
30723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30724 if (SWIG_arg_fail(2)) SWIG_fail
;
30725 if (arg2
== NULL
) {
30726 SWIG_null_ref("wxTreeItemId");
30728 if (SWIG_arg_fail(2)) SWIG_fail
;
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30746 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
= NULL
;
30748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30749 wxTreeItemId
*arg2
= 0 ;
30751 PyObject
* obj0
= 0 ;
30752 PyObject
* obj1
= 0 ;
30753 char *kwnames
[] = {
30754 (char *) "self",(char *) "item", NULL
30757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
30758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30759 if (SWIG_arg_fail(1)) SWIG_fail
;
30761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30762 if (SWIG_arg_fail(2)) SWIG_fail
;
30763 if (arg2
== NULL
) {
30764 SWIG_null_ref("wxTreeItemId");
30766 if (SWIG_arg_fail(2)) SWIG_fail
;
30769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30770 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30784 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30785 PyObject
*resultobj
= NULL
;
30786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30787 wxTreeItemId
*arg2
= 0 ;
30789 PyObject
* obj0
= 0 ;
30790 PyObject
* obj1
= 0 ;
30791 char *kwnames
[] = {
30792 (char *) "self",(char *) "item", NULL
30795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
30796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30797 if (SWIG_arg_fail(1)) SWIG_fail
;
30799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30800 if (SWIG_arg_fail(2)) SWIG_fail
;
30801 if (arg2
== NULL
) {
30802 SWIG_null_ref("wxTreeItemId");
30804 if (SWIG_arg_fail(2)) SWIG_fail
;
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30822 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30823 PyObject
*resultobj
= NULL
;
30824 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30825 wxTreeItemId
*arg2
= 0 ;
30827 PyObject
* obj0
= 0 ;
30828 PyObject
* obj1
= 0 ;
30829 char *kwnames
[] = {
30830 (char *) "self",(char *) "item", NULL
30833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
30834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30835 if (SWIG_arg_fail(1)) SWIG_fail
;
30837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30838 if (SWIG_arg_fail(2)) SWIG_fail
;
30839 if (arg2
== NULL
) {
30840 SWIG_null_ref("wxTreeItemId");
30842 if (SWIG_arg_fail(2)) SWIG_fail
;
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30860 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
= NULL
;
30862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30863 wxTreeItemId
*arg2
= 0 ;
30864 bool arg3
= (bool) true ;
30866 PyObject
* obj0
= 0 ;
30867 PyObject
* obj1
= 0 ;
30868 PyObject
* obj2
= 0 ;
30869 char *kwnames
[] = {
30870 (char *) "self",(char *) "item",(char *) "recursively", NULL
30873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30875 if (SWIG_arg_fail(1)) SWIG_fail
;
30877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30878 if (SWIG_arg_fail(2)) SWIG_fail
;
30879 if (arg2
== NULL
) {
30880 SWIG_null_ref("wxTreeItemId");
30882 if (SWIG_arg_fail(2)) SWIG_fail
;
30886 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30887 if (SWIG_arg_fail(3)) SWIG_fail
;
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
30906 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
= NULL
;
30908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30909 wxTreeItemId result
;
30910 PyObject
* obj0
= 0 ;
30911 char *kwnames
[] = {
30912 (char *) "self", NULL
30915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
30916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30917 if (SWIG_arg_fail(1)) SWIG_fail
;
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30926 wxTreeItemId
* resultptr
;
30927 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30936 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
= NULL
;
30938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30939 wxTreeItemId result
;
30940 PyObject
* obj0
= 0 ;
30941 char *kwnames
[] = {
30942 (char *) "self", NULL
30945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
30946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30947 if (SWIG_arg_fail(1)) SWIG_fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30956 wxTreeItemId
* resultptr
;
30957 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30966 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30967 PyObject
*resultobj
= NULL
;
30968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30970 PyObject
* obj0
= 0 ;
30971 char *kwnames
[] = {
30972 (char *) "self", NULL
30975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
30976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30977 if (SWIG_arg_fail(1)) SWIG_fail
;
30979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30980 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
30982 wxPyEndAllowThreads(__tstate
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= result
;
30992 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
= NULL
;
30994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30995 wxTreeItemId
*arg2
= 0 ;
30996 wxTreeItemId result
;
30997 PyObject
* obj0
= 0 ;
30998 PyObject
* obj1
= 0 ;
30999 char *kwnames
[] = {
31000 (char *) "self",(char *) "item", NULL
31003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31005 if (SWIG_arg_fail(1)) SWIG_fail
;
31007 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31008 if (SWIG_arg_fail(2)) SWIG_fail
;
31009 if (arg2
== NULL
) {
31010 SWIG_null_ref("wxTreeItemId");
31012 if (SWIG_arg_fail(2)) SWIG_fail
;
31015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
31018 wxPyEndAllowThreads(__tstate
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31022 wxTreeItemId
* resultptr
;
31023 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31032 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31033 PyObject
*resultobj
= NULL
;
31034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31035 wxTreeItemId
*arg2
= 0 ;
31037 PyObject
* obj0
= 0 ;
31038 PyObject
* obj1
= 0 ;
31039 char *kwnames
[] = {
31040 (char *) "self",(char *) "item", NULL
31043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
31044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31045 if (SWIG_arg_fail(1)) SWIG_fail
;
31047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31048 if (SWIG_arg_fail(2)) SWIG_fail
;
31049 if (arg2
== NULL
) {
31050 SWIG_null_ref("wxTreeItemId");
31052 if (SWIG_arg_fail(2)) SWIG_fail
;
31055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31056 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
31058 wxPyEndAllowThreads(__tstate
);
31059 if (PyErr_Occurred()) SWIG_fail
;
31061 resultobj
= result
;
31068 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31069 PyObject
*resultobj
= NULL
;
31070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31071 wxTreeItemId
*arg2
= 0 ;
31072 void *arg3
= (void *) 0 ;
31074 PyObject
* obj0
= 0 ;
31075 PyObject
* obj1
= 0 ;
31076 PyObject
* obj2
= 0 ;
31077 char *kwnames
[] = {
31078 (char *) "self",(char *) "item",(char *) "cookie", NULL
31081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31083 if (SWIG_arg_fail(1)) SWIG_fail
;
31085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31086 if (SWIG_arg_fail(2)) SWIG_fail
;
31087 if (arg2
== NULL
) {
31088 SWIG_null_ref("wxTreeItemId");
31090 if (SWIG_arg_fail(2)) SWIG_fail
;
31093 if ((SWIG_ConvertPtr(obj2
,reinterpret_cast<void ** >(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
31094 SWIG_arg_fail(3);SWIG_fail
;
31098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31099 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= result
;
31111 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
= NULL
;
31113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31114 wxTreeItemId
*arg2
= 0 ;
31115 wxTreeItemId result
;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 char *kwnames
[] = {
31119 (char *) "self",(char *) "item", NULL
31122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
31123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31124 if (SWIG_arg_fail(1)) SWIG_fail
;
31126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31127 if (SWIG_arg_fail(2)) SWIG_fail
;
31128 if (arg2
== NULL
) {
31129 SWIG_null_ref("wxTreeItemId");
31131 if (SWIG_arg_fail(2)) SWIG_fail
;
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31141 wxTreeItemId
* resultptr
;
31142 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31151 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31152 PyObject
*resultobj
= NULL
;
31153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31154 wxTreeItemId
*arg2
= 0 ;
31155 wxTreeItemId result
;
31156 PyObject
* obj0
= 0 ;
31157 PyObject
* obj1
= 0 ;
31158 char *kwnames
[] = {
31159 (char *) "self",(char *) "item", NULL
31162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
31163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31164 if (SWIG_arg_fail(1)) SWIG_fail
;
31166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31167 if (SWIG_arg_fail(2)) SWIG_fail
;
31168 if (arg2
== NULL
) {
31169 SWIG_null_ref("wxTreeItemId");
31171 if (SWIG_arg_fail(2)) SWIG_fail
;
31174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31175 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
31177 wxPyEndAllowThreads(__tstate
);
31178 if (PyErr_Occurred()) SWIG_fail
;
31181 wxTreeItemId
* resultptr
;
31182 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31191 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
= NULL
;
31193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31194 wxTreeItemId
*arg2
= 0 ;
31195 wxTreeItemId result
;
31196 PyObject
* obj0
= 0 ;
31197 PyObject
* obj1
= 0 ;
31198 char *kwnames
[] = {
31199 (char *) "self",(char *) "item", NULL
31202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
31203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31204 if (SWIG_arg_fail(1)) SWIG_fail
;
31206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31207 if (SWIG_arg_fail(2)) SWIG_fail
;
31208 if (arg2
== NULL
) {
31209 SWIG_null_ref("wxTreeItemId");
31211 if (SWIG_arg_fail(2)) SWIG_fail
;
31214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31215 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
31217 wxPyEndAllowThreads(__tstate
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31221 wxTreeItemId
* resultptr
;
31222 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31231 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
= NULL
;
31233 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31234 wxTreeItemId result
;
31235 PyObject
* obj0
= 0 ;
31236 char *kwnames
[] = {
31237 (char *) "self", NULL
31240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
31241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31242 if (SWIG_arg_fail(1)) SWIG_fail
;
31244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31245 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
31247 wxPyEndAllowThreads(__tstate
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31251 wxTreeItemId
* resultptr
;
31252 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31261 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
= NULL
;
31263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31264 wxTreeItemId
*arg2
= 0 ;
31265 wxTreeItemId result
;
31266 PyObject
* obj0
= 0 ;
31267 PyObject
* obj1
= 0 ;
31268 char *kwnames
[] = {
31269 (char *) "self",(char *) "item", NULL
31272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31274 if (SWIG_arg_fail(1)) SWIG_fail
;
31276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31277 if (SWIG_arg_fail(2)) SWIG_fail
;
31278 if (arg2
== NULL
) {
31279 SWIG_null_ref("wxTreeItemId");
31281 if (SWIG_arg_fail(2)) SWIG_fail
;
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31291 wxTreeItemId
* resultptr
;
31292 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31301 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31302 PyObject
*resultobj
= NULL
;
31303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31304 wxTreeItemId
*arg2
= 0 ;
31305 wxTreeItemId result
;
31306 PyObject
* obj0
= 0 ;
31307 PyObject
* obj1
= 0 ;
31308 char *kwnames
[] = {
31309 (char *) "self",(char *) "item", NULL
31312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31314 if (SWIG_arg_fail(1)) SWIG_fail
;
31316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31317 if (SWIG_arg_fail(2)) SWIG_fail
;
31318 if (arg2
== NULL
) {
31319 SWIG_null_ref("wxTreeItemId");
31321 if (SWIG_arg_fail(2)) SWIG_fail
;
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31331 wxTreeItemId
* resultptr
;
31332 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31341 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31342 PyObject
*resultobj
= NULL
;
31343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31344 wxString
*arg2
= 0 ;
31345 int arg3
= (int) -1 ;
31346 int arg4
= (int) -1 ;
31347 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
31348 wxTreeItemId result
;
31349 bool temp2
= false ;
31350 PyObject
* obj0
= 0 ;
31351 PyObject
* obj1
= 0 ;
31352 PyObject
* obj2
= 0 ;
31353 PyObject
* obj3
= 0 ;
31354 PyObject
* obj4
= 0 ;
31355 char *kwnames
[] = {
31356 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31361 if (SWIG_arg_fail(1)) SWIG_fail
;
31363 arg2
= wxString_in_helper(obj1
);
31364 if (arg2
== NULL
) SWIG_fail
;
31369 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31370 if (SWIG_arg_fail(3)) SWIG_fail
;
31375 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31376 if (SWIG_arg_fail(4)) SWIG_fail
;
31380 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31381 if (SWIG_arg_fail(5)) SWIG_fail
;
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
31387 wxPyEndAllowThreads(__tstate
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31391 wxTreeItemId
* resultptr
;
31392 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31409 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31410 PyObject
*resultobj
= NULL
;
31411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31412 wxTreeItemId
*arg2
= 0 ;
31413 wxString
*arg3
= 0 ;
31414 int arg4
= (int) -1 ;
31415 int arg5
= (int) -1 ;
31416 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
31417 wxTreeItemId result
;
31418 bool temp3
= false ;
31419 PyObject
* obj0
= 0 ;
31420 PyObject
* obj1
= 0 ;
31421 PyObject
* obj2
= 0 ;
31422 PyObject
* obj3
= 0 ;
31423 PyObject
* obj4
= 0 ;
31424 PyObject
* obj5
= 0 ;
31425 char *kwnames
[] = {
31426 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31431 if (SWIG_arg_fail(1)) SWIG_fail
;
31433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31434 if (SWIG_arg_fail(2)) SWIG_fail
;
31435 if (arg2
== NULL
) {
31436 SWIG_null_ref("wxTreeItemId");
31438 if (SWIG_arg_fail(2)) SWIG_fail
;
31441 arg3
= wxString_in_helper(obj2
);
31442 if (arg3
== NULL
) SWIG_fail
;
31447 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31448 if (SWIG_arg_fail(4)) SWIG_fail
;
31453 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31454 if (SWIG_arg_fail(5)) SWIG_fail
;
31458 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31459 if (SWIG_arg_fail(6)) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31469 wxTreeItemId
* resultptr
;
31470 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31487 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
= NULL
;
31489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31490 wxTreeItemId
*arg2
= 0 ;
31491 wxTreeItemId
*arg3
= 0 ;
31492 wxString
*arg4
= 0 ;
31493 int arg5
= (int) -1 ;
31494 int arg6
= (int) -1 ;
31495 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
31496 wxTreeItemId result
;
31497 bool temp4
= false ;
31498 PyObject
* obj0
= 0 ;
31499 PyObject
* obj1
= 0 ;
31500 PyObject
* obj2
= 0 ;
31501 PyObject
* obj3
= 0 ;
31502 PyObject
* obj4
= 0 ;
31503 PyObject
* obj5
= 0 ;
31504 PyObject
* obj6
= 0 ;
31505 char *kwnames
[] = {
31506 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31511 if (SWIG_arg_fail(1)) SWIG_fail
;
31513 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31514 if (SWIG_arg_fail(2)) SWIG_fail
;
31515 if (arg2
== NULL
) {
31516 SWIG_null_ref("wxTreeItemId");
31518 if (SWIG_arg_fail(2)) SWIG_fail
;
31521 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31522 if (SWIG_arg_fail(3)) SWIG_fail
;
31523 if (arg3
== NULL
) {
31524 SWIG_null_ref("wxTreeItemId");
31526 if (SWIG_arg_fail(3)) SWIG_fail
;
31529 arg4
= wxString_in_helper(obj3
);
31530 if (arg4
== NULL
) SWIG_fail
;
31535 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31536 if (SWIG_arg_fail(5)) SWIG_fail
;
31541 arg6
= static_cast<int >(SWIG_As_int(obj5
));
31542 if (SWIG_arg_fail(6)) SWIG_fail
;
31546 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31547 if (SWIG_arg_fail(7)) SWIG_fail
;
31550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31551 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
31553 wxPyEndAllowThreads(__tstate
);
31554 if (PyErr_Occurred()) SWIG_fail
;
31557 wxTreeItemId
* resultptr
;
31558 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31575 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31576 PyObject
*resultobj
= NULL
;
31577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31578 wxTreeItemId
*arg2
= 0 ;
31580 wxString
*arg4
= 0 ;
31581 int arg5
= (int) -1 ;
31582 int arg6
= (int) -1 ;
31583 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
31584 wxTreeItemId result
;
31585 bool temp4
= false ;
31586 PyObject
* obj0
= 0 ;
31587 PyObject
* obj1
= 0 ;
31588 PyObject
* obj2
= 0 ;
31589 PyObject
* obj3
= 0 ;
31590 PyObject
* obj4
= 0 ;
31591 PyObject
* obj5
= 0 ;
31592 PyObject
* obj6
= 0 ;
31593 char *kwnames
[] = {
31594 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31599 if (SWIG_arg_fail(1)) SWIG_fail
;
31601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31602 if (SWIG_arg_fail(2)) SWIG_fail
;
31603 if (arg2
== NULL
) {
31604 SWIG_null_ref("wxTreeItemId");
31606 if (SWIG_arg_fail(2)) SWIG_fail
;
31609 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
31610 if (SWIG_arg_fail(3)) SWIG_fail
;
31613 arg4
= wxString_in_helper(obj3
);
31614 if (arg4
== NULL
) SWIG_fail
;
31619 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31620 if (SWIG_arg_fail(5)) SWIG_fail
;
31625 arg6
= static_cast<int >(SWIG_As_int(obj5
));
31626 if (SWIG_arg_fail(6)) SWIG_fail
;
31630 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31631 if (SWIG_arg_fail(7)) SWIG_fail
;
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31635 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31641 wxTreeItemId
* resultptr
;
31642 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31659 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31660 PyObject
*resultobj
= NULL
;
31661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31662 wxTreeItemId
*arg2
= 0 ;
31663 wxString
*arg3
= 0 ;
31664 int arg4
= (int) -1 ;
31665 int arg5
= (int) -1 ;
31666 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
31667 wxTreeItemId result
;
31668 bool temp3
= false ;
31669 PyObject
* obj0
= 0 ;
31670 PyObject
* obj1
= 0 ;
31671 PyObject
* obj2
= 0 ;
31672 PyObject
* obj3
= 0 ;
31673 PyObject
* obj4
= 0 ;
31674 PyObject
* obj5
= 0 ;
31675 char *kwnames
[] = {
31676 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31681 if (SWIG_arg_fail(1)) SWIG_fail
;
31683 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31684 if (SWIG_arg_fail(2)) SWIG_fail
;
31685 if (arg2
== NULL
) {
31686 SWIG_null_ref("wxTreeItemId");
31688 if (SWIG_arg_fail(2)) SWIG_fail
;
31691 arg3
= wxString_in_helper(obj2
);
31692 if (arg3
== NULL
) SWIG_fail
;
31697 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31698 if (SWIG_arg_fail(4)) SWIG_fail
;
31703 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31704 if (SWIG_arg_fail(5)) SWIG_fail
;
31708 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31709 if (SWIG_arg_fail(6)) SWIG_fail
;
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
31715 wxPyEndAllowThreads(__tstate
);
31716 if (PyErr_Occurred()) SWIG_fail
;
31719 wxTreeItemId
* resultptr
;
31720 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31737 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31738 PyObject
*resultobj
= NULL
;
31739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31740 wxTreeItemId
*arg2
= 0 ;
31741 PyObject
* obj0
= 0 ;
31742 PyObject
* obj1
= 0 ;
31743 char *kwnames
[] = {
31744 (char *) "self",(char *) "item", NULL
31747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31749 if (SWIG_arg_fail(1)) SWIG_fail
;
31751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31752 if (SWIG_arg_fail(2)) SWIG_fail
;
31753 if (arg2
== NULL
) {
31754 SWIG_null_ref("wxTreeItemId");
31756 if (SWIG_arg_fail(2)) SWIG_fail
;
31759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31760 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
31762 wxPyEndAllowThreads(__tstate
);
31763 if (PyErr_Occurred()) SWIG_fail
;
31765 Py_INCREF(Py_None
); resultobj
= Py_None
;
31772 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31773 PyObject
*resultobj
= NULL
;
31774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31775 wxTreeItemId
*arg2
= 0 ;
31776 PyObject
* obj0
= 0 ;
31777 PyObject
* obj1
= 0 ;
31778 char *kwnames
[] = {
31779 (char *) "self",(char *) "item", NULL
31782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
31783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31784 if (SWIG_arg_fail(1)) SWIG_fail
;
31786 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31787 if (SWIG_arg_fail(2)) SWIG_fail
;
31788 if (arg2
== NULL
) {
31789 SWIG_null_ref("wxTreeItemId");
31791 if (SWIG_arg_fail(2)) SWIG_fail
;
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
31797 wxPyEndAllowThreads(__tstate
);
31798 if (PyErr_Occurred()) SWIG_fail
;
31800 Py_INCREF(Py_None
); resultobj
= Py_None
;
31807 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
= NULL
;
31809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31810 PyObject
* obj0
= 0 ;
31811 char *kwnames
[] = {
31812 (char *) "self", NULL
31815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
31816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31817 if (SWIG_arg_fail(1)) SWIG_fail
;
31819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31820 (arg1
)->DeleteAllItems();
31822 wxPyEndAllowThreads(__tstate
);
31823 if (PyErr_Occurred()) SWIG_fail
;
31825 Py_INCREF(Py_None
); resultobj
= Py_None
;
31832 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31833 PyObject
*resultobj
= NULL
;
31834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31835 wxTreeItemId
*arg2
= 0 ;
31836 PyObject
* obj0
= 0 ;
31837 PyObject
* obj1
= 0 ;
31838 char *kwnames
[] = {
31839 (char *) "self",(char *) "item", NULL
31842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
31843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31844 if (SWIG_arg_fail(1)) SWIG_fail
;
31846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31847 if (SWIG_arg_fail(2)) SWIG_fail
;
31848 if (arg2
== NULL
) {
31849 SWIG_null_ref("wxTreeItemId");
31851 if (SWIG_arg_fail(2)) SWIG_fail
;
31854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
31857 wxPyEndAllowThreads(__tstate
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31860 Py_INCREF(Py_None
); resultobj
= Py_None
;
31867 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31868 PyObject
*resultobj
= NULL
;
31869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31870 wxTreeItemId
*arg2
= 0 ;
31871 PyObject
* obj0
= 0 ;
31872 PyObject
* obj1
= 0 ;
31873 char *kwnames
[] = {
31874 (char *) "self",(char *) "item", NULL
31877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
31878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31879 if (SWIG_arg_fail(1)) SWIG_fail
;
31881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31882 if (SWIG_arg_fail(2)) SWIG_fail
;
31883 if (arg2
== NULL
) {
31884 SWIG_null_ref("wxTreeItemId");
31886 if (SWIG_arg_fail(2)) SWIG_fail
;
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31895 Py_INCREF(Py_None
); resultobj
= Py_None
;
31902 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
= NULL
;
31904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31905 wxTreeItemId
*arg2
= 0 ;
31906 PyObject
* obj0
= 0 ;
31907 PyObject
* obj1
= 0 ;
31908 char *kwnames
[] = {
31909 (char *) "self",(char *) "item", NULL
31912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
31913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31914 if (SWIG_arg_fail(1)) SWIG_fail
;
31916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31917 if (SWIG_arg_fail(2)) SWIG_fail
;
31918 if (arg2
== NULL
) {
31919 SWIG_null_ref("wxTreeItemId");
31921 if (SWIG_arg_fail(2)) SWIG_fail
;
31924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 Py_INCREF(Py_None
); resultobj
= Py_None
;
31937 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31938 PyObject
*resultobj
= NULL
;
31939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31940 wxTreeItemId
*arg2
= 0 ;
31941 PyObject
* obj0
= 0 ;
31942 PyObject
* obj1
= 0 ;
31943 char *kwnames
[] = {
31944 (char *) "self",(char *) "item", NULL
31947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
31948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31949 if (SWIG_arg_fail(1)) SWIG_fail
;
31951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31952 if (SWIG_arg_fail(2)) SWIG_fail
;
31953 if (arg2
== NULL
) {
31954 SWIG_null_ref("wxTreeItemId");
31956 if (SWIG_arg_fail(2)) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31965 Py_INCREF(Py_None
); resultobj
= Py_None
;
31972 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31973 PyObject
*resultobj
= NULL
;
31974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31975 PyObject
* obj0
= 0 ;
31976 char *kwnames
[] = {
31977 (char *) "self", NULL
31980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
31981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31982 if (SWIG_arg_fail(1)) SWIG_fail
;
31984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31985 (arg1
)->Unselect();
31987 wxPyEndAllowThreads(__tstate
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31990 Py_INCREF(Py_None
); resultobj
= Py_None
;
31997 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31998 PyObject
*resultobj
= NULL
;
31999 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32000 wxTreeItemId
*arg2
= 0 ;
32001 PyObject
* obj0
= 0 ;
32002 PyObject
* obj1
= 0 ;
32003 char *kwnames
[] = {
32004 (char *) "self",(char *) "item", NULL
32007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32009 if (SWIG_arg_fail(1)) SWIG_fail
;
32011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32012 if (SWIG_arg_fail(2)) SWIG_fail
;
32013 if (arg2
== NULL
) {
32014 SWIG_null_ref("wxTreeItemId");
32016 if (SWIG_arg_fail(2)) SWIG_fail
;
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32025 Py_INCREF(Py_None
); resultobj
= Py_None
;
32032 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
= NULL
;
32034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32035 PyObject
* obj0
= 0 ;
32036 char *kwnames
[] = {
32037 (char *) "self", NULL
32040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
32041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32042 if (SWIG_arg_fail(1)) SWIG_fail
;
32044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32045 (arg1
)->UnselectAll();
32047 wxPyEndAllowThreads(__tstate
);
32048 if (PyErr_Occurred()) SWIG_fail
;
32050 Py_INCREF(Py_None
); resultobj
= Py_None
;
32057 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
= NULL
;
32059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32060 wxTreeItemId
*arg2
= 0 ;
32061 bool arg3
= (bool) true ;
32062 PyObject
* obj0
= 0 ;
32063 PyObject
* obj1
= 0 ;
32064 PyObject
* obj2
= 0 ;
32065 char *kwnames
[] = {
32066 (char *) "self",(char *) "item",(char *) "select", NULL
32069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32071 if (SWIG_arg_fail(1)) SWIG_fail
;
32073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32074 if (SWIG_arg_fail(2)) SWIG_fail
;
32075 if (arg2
== NULL
) {
32076 SWIG_null_ref("wxTreeItemId");
32078 if (SWIG_arg_fail(2)) SWIG_fail
;
32082 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
32083 if (SWIG_arg_fail(3)) SWIG_fail
;
32087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32088 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
32090 wxPyEndAllowThreads(__tstate
);
32091 if (PyErr_Occurred()) SWIG_fail
;
32093 Py_INCREF(Py_None
); resultobj
= Py_None
;
32100 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32101 PyObject
*resultobj
= NULL
;
32102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32103 wxTreeItemId
*arg2
= 0 ;
32104 PyObject
* obj0
= 0 ;
32105 PyObject
* obj1
= 0 ;
32106 char *kwnames
[] = {
32107 (char *) "self",(char *) "item", NULL
32110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
32111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32112 if (SWIG_arg_fail(1)) SWIG_fail
;
32114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32115 if (SWIG_arg_fail(2)) SWIG_fail
;
32116 if (arg2
== NULL
) {
32117 SWIG_null_ref("wxTreeItemId");
32119 if (SWIG_arg_fail(2)) SWIG_fail
;
32122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32123 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
32125 wxPyEndAllowThreads(__tstate
);
32126 if (PyErr_Occurred()) SWIG_fail
;
32128 Py_INCREF(Py_None
); resultobj
= Py_None
;
32135 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32136 PyObject
*resultobj
= NULL
;
32137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32138 wxTreeItemId
*arg2
= 0 ;
32139 PyObject
* obj0
= 0 ;
32140 PyObject
* obj1
= 0 ;
32141 char *kwnames
[] = {
32142 (char *) "self",(char *) "item", NULL
32145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
32146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32147 if (SWIG_arg_fail(1)) SWIG_fail
;
32149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32150 if (SWIG_arg_fail(2)) SWIG_fail
;
32151 if (arg2
== NULL
) {
32152 SWIG_null_ref("wxTreeItemId");
32154 if (SWIG_arg_fail(2)) SWIG_fail
;
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
32160 wxPyEndAllowThreads(__tstate
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32163 Py_INCREF(Py_None
); resultobj
= Py_None
;
32170 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32171 PyObject
*resultobj
= NULL
;
32172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32173 wxTreeItemId
*arg2
= 0 ;
32174 PyObject
* obj0
= 0 ;
32175 PyObject
* obj1
= 0 ;
32176 char *kwnames
[] = {
32177 (char *) "self",(char *) "item", NULL
32180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
32181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32182 if (SWIG_arg_fail(1)) SWIG_fail
;
32184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32185 if (SWIG_arg_fail(2)) SWIG_fail
;
32186 if (arg2
== NULL
) {
32187 SWIG_null_ref("wxTreeItemId");
32189 if (SWIG_arg_fail(2)) SWIG_fail
;
32192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32198 Py_INCREF(Py_None
); resultobj
= Py_None
;
32205 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32206 PyObject
*resultobj
= NULL
;
32207 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32208 wxTreeItemId
*arg2
= 0 ;
32209 PyObject
* obj0
= 0 ;
32210 PyObject
* obj1
= 0 ;
32211 char *kwnames
[] = {
32212 (char *) "self",(char *) "item", NULL
32215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32217 if (SWIG_arg_fail(1)) SWIG_fail
;
32219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32220 if (SWIG_arg_fail(2)) SWIG_fail
;
32221 if (arg2
== NULL
) {
32222 SWIG_null_ref("wxTreeItemId");
32224 if (SWIG_arg_fail(2)) SWIG_fail
;
32227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32228 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
32230 wxPyEndAllowThreads(__tstate
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32233 Py_INCREF(Py_None
); resultobj
= Py_None
;
32240 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32241 PyObject
*resultobj
= NULL
;
32242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32243 wxTextCtrl
*result
;
32244 PyObject
* obj0
= 0 ;
32245 char *kwnames
[] = {
32246 (char *) "self", NULL
32249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
32250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32251 if (SWIG_arg_fail(1)) SWIG_fail
;
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32260 resultobj
= wxPyMake_wxObject(result
, 0);
32268 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32269 PyObject
*resultobj
= NULL
;
32270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32271 wxTreeItemId
*arg2
= 0 ;
32272 bool arg3
= (bool) false ;
32273 PyObject
* obj0
= 0 ;
32274 PyObject
* obj1
= 0 ;
32275 PyObject
* obj2
= 0 ;
32276 char *kwnames
[] = {
32277 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
32280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32282 if (SWIG_arg_fail(1)) SWIG_fail
;
32284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32285 if (SWIG_arg_fail(2)) SWIG_fail
;
32286 if (arg2
== NULL
) {
32287 SWIG_null_ref("wxTreeItemId");
32289 if (SWIG_arg_fail(2)) SWIG_fail
;
32293 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
32294 if (SWIG_arg_fail(3)) SWIG_fail
;
32298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32299 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
32301 wxPyEndAllowThreads(__tstate
);
32302 if (PyErr_Occurred()) SWIG_fail
;
32304 Py_INCREF(Py_None
); resultobj
= Py_None
;
32311 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32312 PyObject
*resultobj
= NULL
;
32313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32314 wxTreeItemId
*arg2
= 0 ;
32315 PyObject
* obj0
= 0 ;
32316 PyObject
* obj1
= 0 ;
32317 char *kwnames
[] = {
32318 (char *) "self",(char *) "item", NULL
32321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
32322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32323 if (SWIG_arg_fail(1)) SWIG_fail
;
32325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32326 if (SWIG_arg_fail(2)) SWIG_fail
;
32327 if (arg2
== NULL
) {
32328 SWIG_null_ref("wxTreeItemId");
32330 if (SWIG_arg_fail(2)) SWIG_fail
;
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
32336 wxPyEndAllowThreads(__tstate
);
32337 if (PyErr_Occurred()) SWIG_fail
;
32339 Py_INCREF(Py_None
); resultobj
= Py_None
;
32346 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32347 PyObject
*resultobj
= NULL
;
32348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32349 wxPoint
*arg2
= 0 ;
32351 wxTreeItemId result
;
32355 PyObject
* obj0
= 0 ;
32356 PyObject
* obj1
= 0 ;
32357 char *kwnames
[] = {
32358 (char *) "self",(char *) "point", NULL
32361 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
32363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32364 if (SWIG_arg_fail(1)) SWIG_fail
;
32367 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32377 wxTreeItemId
* resultptr
;
32378 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
32379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32381 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32382 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32389 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32390 PyObject
*resultobj
= NULL
;
32391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32392 wxTreeItemId
*arg2
= 0 ;
32393 bool arg3
= (bool) false ;
32395 PyObject
* obj0
= 0 ;
32396 PyObject
* obj1
= 0 ;
32397 PyObject
* obj2
= 0 ;
32398 char *kwnames
[] = {
32399 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32404 if (SWIG_arg_fail(1)) SWIG_fail
;
32406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32407 if (SWIG_arg_fail(2)) SWIG_fail
;
32408 if (arg2
== NULL
) {
32409 SWIG_null_ref("wxTreeItemId");
32411 if (SWIG_arg_fail(2)) SWIG_fail
;
32415 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
32416 if (SWIG_arg_fail(3)) SWIG_fail
;
32420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32421 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
32423 wxPyEndAllowThreads(__tstate
);
32424 if (PyErr_Occurred()) SWIG_fail
;
32426 resultobj
= result
;
32433 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32434 PyObject
*resultobj
= NULL
;
32435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32436 wxTreeItemId
*arg2
= 0 ;
32438 PyObject
* obj0
= 0 ;
32439 PyObject
* obj1
= 0 ;
32440 PyObject
* obj2
= 0 ;
32441 char *kwnames
[] = {
32442 (char *) "self",(char *) "node",(char *) "state", NULL
32445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32447 if (SWIG_arg_fail(1)) SWIG_fail
;
32449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32450 if (SWIG_arg_fail(2)) SWIG_fail
;
32451 if (arg2
== NULL
) {
32452 SWIG_null_ref("wxTreeItemId");
32454 if (SWIG_arg_fail(2)) SWIG_fail
;
32457 arg3
= static_cast<int >(SWIG_As_int(obj2
));
32458 if (SWIG_arg_fail(3)) SWIG_fail
;
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
32464 wxPyEndAllowThreads(__tstate
);
32465 if (PyErr_Occurred()) SWIG_fail
;
32467 Py_INCREF(Py_None
); resultobj
= Py_None
;
32474 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32475 PyObject
*resultobj
= NULL
;
32476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32477 wxTreeItemId
*arg2
= 0 ;
32479 PyObject
* obj0
= 0 ;
32480 PyObject
* obj1
= 0 ;
32481 char *kwnames
[] = {
32482 (char *) "self",(char *) "node", NULL
32485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
32486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32487 if (SWIG_arg_fail(1)) SWIG_fail
;
32489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32490 if (SWIG_arg_fail(2)) SWIG_fail
;
32491 if (arg2
== NULL
) {
32492 SWIG_null_ref("wxTreeItemId");
32494 if (SWIG_arg_fail(2)) SWIG_fail
;
32497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32498 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
32500 wxPyEndAllowThreads(__tstate
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32504 resultobj
= SWIG_From_int(static_cast<int >(result
));
32512 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32513 PyObject
*resultobj
= NULL
;
32514 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32515 wxVisualAttributes result
;
32516 PyObject
* obj0
= 0 ;
32517 char *kwnames
[] = {
32518 (char *) "variant", NULL
32521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32524 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
32525 if (SWIG_arg_fail(1)) SWIG_fail
;
32529 if (!wxPyCheckForApp()) SWIG_fail
;
32530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32531 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32537 wxVisualAttributes
* resultptr
;
32538 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
32539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32547 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
32549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32550 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
32552 return Py_BuildValue((char *)"");
32554 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
32555 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
32560 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
32561 PyObject
*pyobj
= NULL
;
32565 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
32567 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
32574 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32575 PyObject
*resultobj
= NULL
;
32576 wxWindow
*arg1
= (wxWindow
*) 0 ;
32577 int arg2
= (int) (int)-1 ;
32578 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
32579 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32584 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
32585 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32586 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32587 int arg8
= (int) 0 ;
32588 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
32589 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
32590 wxGenericDirCtrl
*result
;
32591 bool temp3
= false ;
32594 bool temp7
= false ;
32595 bool temp9
= false ;
32596 PyObject
* obj0
= 0 ;
32597 PyObject
* obj1
= 0 ;
32598 PyObject
* obj2
= 0 ;
32599 PyObject
* obj3
= 0 ;
32600 PyObject
* obj4
= 0 ;
32601 PyObject
* obj5
= 0 ;
32602 PyObject
* obj6
= 0 ;
32603 PyObject
* obj7
= 0 ;
32604 PyObject
* obj8
= 0 ;
32605 char *kwnames
[] = {
32606 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
32610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32611 if (SWIG_arg_fail(1)) SWIG_fail
;
32614 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
32615 if (SWIG_arg_fail(2)) SWIG_fail
;
32620 arg3
= wxString_in_helper(obj2
);
32621 if (arg3
== NULL
) SWIG_fail
;
32628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32639 arg6
= static_cast<long >(SWIG_As_long(obj5
));
32640 if (SWIG_arg_fail(6)) SWIG_fail
;
32645 arg7
= wxString_in_helper(obj6
);
32646 if (arg7
== NULL
) SWIG_fail
;
32652 arg8
= static_cast<int >(SWIG_As_int(obj7
));
32653 if (SWIG_arg_fail(8)) SWIG_fail
;
32658 arg9
= wxString_in_helper(obj8
);
32659 if (arg9
== NULL
) SWIG_fail
;
32664 if (!wxPyCheckForApp()) SWIG_fail
;
32665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32666 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
32668 wxPyEndAllowThreads(__tstate
);
32669 if (PyErr_Occurred()) SWIG_fail
;
32671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
32702 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32703 PyObject
*resultobj
= NULL
;
32704 wxGenericDirCtrl
*result
;
32705 char *kwnames
[] = {
32709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
32711 if (!wxPyCheckForApp()) SWIG_fail
;
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
32725 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32726 PyObject
*resultobj
= NULL
;
32727 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32728 wxWindow
*arg2
= (wxWindow
*) 0 ;
32729 int arg3
= (int) (int)-1 ;
32730 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
32731 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32732 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
32733 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
32734 wxSize
const &arg6_defvalue
= wxDefaultSize
;
32735 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
32736 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
32737 wxString
const &arg8_defvalue
= wxPyEmptyString
;
32738 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32739 int arg9
= (int) 0 ;
32740 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
32741 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
32743 bool temp4
= false ;
32746 bool temp8
= false ;
32747 bool temp10
= false ;
32748 PyObject
* obj0
= 0 ;
32749 PyObject
* obj1
= 0 ;
32750 PyObject
* obj2
= 0 ;
32751 PyObject
* obj3
= 0 ;
32752 PyObject
* obj4
= 0 ;
32753 PyObject
* obj5
= 0 ;
32754 PyObject
* obj6
= 0 ;
32755 PyObject
* obj7
= 0 ;
32756 PyObject
* obj8
= 0 ;
32757 PyObject
* obj9
= 0 ;
32758 char *kwnames
[] = {
32759 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
32763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32764 if (SWIG_arg_fail(1)) SWIG_fail
;
32765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32766 if (SWIG_arg_fail(2)) SWIG_fail
;
32769 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
32770 if (SWIG_arg_fail(3)) SWIG_fail
;
32775 arg4
= wxString_in_helper(obj3
);
32776 if (arg4
== NULL
) SWIG_fail
;
32783 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
32789 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
32794 arg7
= static_cast<long >(SWIG_As_long(obj6
));
32795 if (SWIG_arg_fail(7)) SWIG_fail
;
32800 arg8
= wxString_in_helper(obj7
);
32801 if (arg8
== NULL
) SWIG_fail
;
32807 arg9
= static_cast<int >(SWIG_As_int(obj8
));
32808 if (SWIG_arg_fail(9)) SWIG_fail
;
32813 arg10
= wxString_in_helper(obj9
);
32814 if (arg10
== NULL
) SWIG_fail
;
32819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
32822 wxPyEndAllowThreads(__tstate
);
32823 if (PyErr_Occurred()) SWIG_fail
;
32826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32858 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32859 PyObject
*resultobj
= NULL
;
32860 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32861 wxString
*arg2
= 0 ;
32863 bool temp2
= false ;
32864 PyObject
* obj0
= 0 ;
32865 PyObject
* obj1
= 0 ;
32866 char *kwnames
[] = {
32867 (char *) "self",(char *) "path", NULL
32870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32872 if (SWIG_arg_fail(1)) SWIG_fail
;
32874 arg2
= wxString_in_helper(obj1
);
32875 if (arg2
== NULL
) SWIG_fail
;
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32902 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32903 PyObject
*resultobj
= NULL
;
32904 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32906 PyObject
* obj0
= 0 ;
32907 char *kwnames
[] = {
32908 (char *) "self", NULL
32911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
32912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32913 if (SWIG_arg_fail(1)) SWIG_fail
;
32915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32916 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
32918 wxPyEndAllowThreads(__tstate
);
32919 if (PyErr_Occurred()) SWIG_fail
;
32923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32934 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32935 PyObject
*resultobj
= NULL
;
32936 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32937 wxString
*arg2
= 0 ;
32938 bool temp2
= false ;
32939 PyObject
* obj0
= 0 ;
32940 PyObject
* obj1
= 0 ;
32941 char *kwnames
[] = {
32942 (char *) "self",(char *) "path", NULL
32945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32947 if (SWIG_arg_fail(1)) SWIG_fail
;
32949 arg2
= wxString_in_helper(obj1
);
32950 if (arg2
== NULL
) SWIG_fail
;
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
32957 wxPyEndAllowThreads(__tstate
);
32958 if (PyErr_Occurred()) SWIG_fail
;
32960 Py_INCREF(Py_None
); resultobj
= Py_None
;
32975 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32976 PyObject
*resultobj
= NULL
;
32977 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32979 PyObject
* obj0
= 0 ;
32980 char *kwnames
[] = {
32981 (char *) "self", NULL
32984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
32985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32986 if (SWIG_arg_fail(1)) SWIG_fail
;
32988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32989 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
32991 wxPyEndAllowThreads(__tstate
);
32992 if (PyErr_Occurred()) SWIG_fail
;
32996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33007 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33008 PyObject
*resultobj
= NULL
;
33009 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33011 PyObject
* obj0
= 0 ;
33012 char *kwnames
[] = {
33013 (char *) "self", NULL
33016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
33017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33018 if (SWIG_arg_fail(1)) SWIG_fail
;
33020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33021 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
33023 wxPyEndAllowThreads(__tstate
);
33024 if (PyErr_Occurred()) SWIG_fail
;
33028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33039 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33040 PyObject
*resultobj
= NULL
;
33041 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33042 wxString
*arg2
= 0 ;
33043 bool temp2
= false ;
33044 PyObject
* obj0
= 0 ;
33045 PyObject
* obj1
= 0 ;
33046 char *kwnames
[] = {
33047 (char *) "self",(char *) "path", NULL
33050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
33051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33052 if (SWIG_arg_fail(1)) SWIG_fail
;
33054 arg2
= wxString_in_helper(obj1
);
33055 if (arg2
== NULL
) SWIG_fail
;
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33060 (arg1
)->SetPath((wxString
const &)*arg2
);
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33065 Py_INCREF(Py_None
); resultobj
= Py_None
;
33080 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33081 PyObject
*resultobj
= NULL
;
33082 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33084 PyObject
* obj0
= 0 ;
33085 PyObject
* obj1
= 0 ;
33086 char *kwnames
[] = {
33087 (char *) "self",(char *) "show", NULL
33090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
33091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33092 if (SWIG_arg_fail(1)) SWIG_fail
;
33094 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
33095 if (SWIG_arg_fail(2)) SWIG_fail
;
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 (arg1
)->ShowHidden(arg2
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 Py_INCREF(Py_None
); resultobj
= Py_None
;
33111 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
= NULL
;
33113 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33115 PyObject
* obj0
= 0 ;
33116 char *kwnames
[] = {
33117 (char *) "self", NULL
33120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
33121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33122 if (SWIG_arg_fail(1)) SWIG_fail
;
33124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33125 result
= (bool)(arg1
)->GetShowHidden();
33127 wxPyEndAllowThreads(__tstate
);
33128 if (PyErr_Occurred()) SWIG_fail
;
33131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33139 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33140 PyObject
*resultobj
= NULL
;
33141 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33143 PyObject
* obj0
= 0 ;
33144 char *kwnames
[] = {
33145 (char *) "self", NULL
33148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
33149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33150 if (SWIG_arg_fail(1)) SWIG_fail
;
33152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33153 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
33155 wxPyEndAllowThreads(__tstate
);
33156 if (PyErr_Occurred()) SWIG_fail
;
33160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33171 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33172 PyObject
*resultobj
= NULL
;
33173 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33174 wxString
*arg2
= 0 ;
33175 bool temp2
= false ;
33176 PyObject
* obj0
= 0 ;
33177 PyObject
* obj1
= 0 ;
33178 char *kwnames
[] = {
33179 (char *) "self",(char *) "filter", NULL
33182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
33183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33184 if (SWIG_arg_fail(1)) SWIG_fail
;
33186 arg2
= wxString_in_helper(obj1
);
33187 if (arg2
== NULL
) SWIG_fail
;
33191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33192 (arg1
)->SetFilter((wxString
const &)*arg2
);
33194 wxPyEndAllowThreads(__tstate
);
33195 if (PyErr_Occurred()) SWIG_fail
;
33197 Py_INCREF(Py_None
); resultobj
= Py_None
;
33212 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33213 PyObject
*resultobj
= NULL
;
33214 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33216 PyObject
* obj0
= 0 ;
33217 char *kwnames
[] = {
33218 (char *) "self", NULL
33221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
33222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33223 if (SWIG_arg_fail(1)) SWIG_fail
;
33225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33226 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
33228 wxPyEndAllowThreads(__tstate
);
33229 if (PyErr_Occurred()) SWIG_fail
;
33232 resultobj
= SWIG_From_int(static_cast<int >(result
));
33240 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33241 PyObject
*resultobj
= NULL
;
33242 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33244 PyObject
* obj0
= 0 ;
33245 PyObject
* obj1
= 0 ;
33246 char *kwnames
[] = {
33247 (char *) "self",(char *) "n", NULL
33250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
33251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33252 if (SWIG_arg_fail(1)) SWIG_fail
;
33254 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33255 if (SWIG_arg_fail(2)) SWIG_fail
;
33258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33259 (arg1
)->SetFilterIndex(arg2
);
33261 wxPyEndAllowThreads(__tstate
);
33262 if (PyErr_Occurred()) SWIG_fail
;
33264 Py_INCREF(Py_None
); resultobj
= Py_None
;
33271 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33272 PyObject
*resultobj
= NULL
;
33273 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33274 wxTreeItemId result
;
33275 PyObject
* obj0
= 0 ;
33276 char *kwnames
[] = {
33277 (char *) "self", NULL
33280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
33281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33282 if (SWIG_arg_fail(1)) SWIG_fail
;
33284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33285 result
= (arg1
)->GetRootId();
33287 wxPyEndAllowThreads(__tstate
);
33288 if (PyErr_Occurred()) SWIG_fail
;
33291 wxTreeItemId
* resultptr
;
33292 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
33293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
33301 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33302 PyObject
*resultobj
= NULL
;
33303 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33304 wxPyTreeCtrl
*result
;
33305 PyObject
* obj0
= 0 ;
33306 char *kwnames
[] = {
33307 (char *) "self", NULL
33310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
33311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33312 if (SWIG_arg_fail(1)) SWIG_fail
;
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
33317 wxPyEndAllowThreads(__tstate
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= wxPyMake_wxObject(result
, 0);
33329 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33330 PyObject
*resultobj
= NULL
;
33331 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33332 wxDirFilterListCtrl
*result
;
33333 PyObject
* obj0
= 0 ;
33334 char *kwnames
[] = {
33335 (char *) "self", NULL
33338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
33339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33340 if (SWIG_arg_fail(1)) SWIG_fail
;
33342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33343 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
33345 wxPyEndAllowThreads(__tstate
);
33346 if (PyErr_Occurred()) SWIG_fail
;
33348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
33355 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33356 PyObject
*resultobj
= NULL
;
33357 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33358 wxTreeItemId arg2
;
33359 wxString
*arg3
= 0 ;
33361 wxTreeItemId result
;
33362 bool temp3
= false ;
33365 PyObject
* obj0
= 0 ;
33366 PyObject
* obj1
= 0 ;
33367 PyObject
* obj2
= 0 ;
33368 char *kwnames
[] = {
33369 (char *) "self",(char *) "parentId",(char *) "path", NULL
33372 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
33373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33375 if (SWIG_arg_fail(1)) SWIG_fail
;
33377 wxTreeItemId
* argp
;
33378 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
33379 if (SWIG_arg_fail(2)) SWIG_fail
;
33380 if (argp
== NULL
) {
33381 SWIG_null_ref("wxTreeItemId");
33383 if (SWIG_arg_fail(2)) SWIG_fail
;
33387 arg3
= wxString_in_helper(obj2
);
33388 if (arg3
== NULL
) SWIG_fail
;
33392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
33395 wxPyEndAllowThreads(__tstate
);
33396 if (PyErr_Occurred()) SWIG_fail
;
33399 wxTreeItemId
* resultptr
;
33400 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
33401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
33403 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
33404 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
33419 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33420 PyObject
*resultobj
= NULL
;
33421 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33422 PyObject
* obj0
= 0 ;
33423 char *kwnames
[] = {
33424 (char *) "self", NULL
33427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
33428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33429 if (SWIG_arg_fail(1)) SWIG_fail
;
33431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33432 (arg1
)->DoResize();
33434 wxPyEndAllowThreads(__tstate
);
33435 if (PyErr_Occurred()) SWIG_fail
;
33437 Py_INCREF(Py_None
); resultobj
= Py_None
;
33444 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33445 PyObject
*resultobj
= NULL
;
33446 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33447 PyObject
* obj0
= 0 ;
33448 char *kwnames
[] = {
33449 (char *) "self", NULL
33452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
33453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33454 if (SWIG_arg_fail(1)) SWIG_fail
;
33456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33457 (arg1
)->ReCreateTree();
33459 wxPyEndAllowThreads(__tstate
);
33460 if (PyErr_Occurred()) SWIG_fail
;
33462 Py_INCREF(Py_None
); resultobj
= Py_None
;
33469 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
33471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33472 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
33474 return Py_BuildValue((char *)"");
33476 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33477 PyObject
*resultobj
= NULL
;
33478 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33479 int arg2
= (int) (int)-1 ;
33480 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33481 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33482 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33483 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33484 long arg5
= (long) 0 ;
33485 wxDirFilterListCtrl
*result
;
33488 PyObject
* obj0
= 0 ;
33489 PyObject
* obj1
= 0 ;
33490 PyObject
* obj2
= 0 ;
33491 PyObject
* obj3
= 0 ;
33492 PyObject
* obj4
= 0 ;
33493 char *kwnames
[] = {
33494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33499 if (SWIG_arg_fail(1)) SWIG_fail
;
33502 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
33503 if (SWIG_arg_fail(2)) SWIG_fail
;
33509 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33515 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33520 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33521 if (SWIG_arg_fail(5)) SWIG_fail
;
33525 if (!wxPyCheckForApp()) SWIG_fail
;
33526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33527 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33529 wxPyEndAllowThreads(__tstate
);
33530 if (PyErr_Occurred()) SWIG_fail
;
33532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
33539 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33540 PyObject
*resultobj
= NULL
;
33541 wxDirFilterListCtrl
*result
;
33542 char *kwnames
[] = {
33546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
33548 if (!wxPyCheckForApp()) SWIG_fail
;
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
33562 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
= NULL
;
33564 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
33565 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
33566 int arg3
= (int) (int)-1 ;
33567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33571 long arg6
= (long) 0 ;
33575 PyObject
* obj0
= 0 ;
33576 PyObject
* obj1
= 0 ;
33577 PyObject
* obj2
= 0 ;
33578 PyObject
* obj3
= 0 ;
33579 PyObject
* obj4
= 0 ;
33580 PyObject
* obj5
= 0 ;
33581 char *kwnames
[] = {
33582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33587 if (SWIG_arg_fail(1)) SWIG_fail
;
33588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33589 if (SWIG_arg_fail(2)) SWIG_fail
;
33592 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
33593 if (SWIG_arg_fail(3)) SWIG_fail
;
33599 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33605 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33610 arg6
= static_cast<long >(SWIG_As_long(obj5
));
33611 if (SWIG_arg_fail(6)) SWIG_fail
;
33615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33616 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
33618 wxPyEndAllowThreads(__tstate
);
33619 if (PyErr_Occurred()) SWIG_fail
;
33622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33630 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33631 PyObject
*resultobj
= NULL
;
33632 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
33633 wxString
*arg2
= 0 ;
33635 bool temp2
= false ;
33636 PyObject
* obj0
= 0 ;
33637 PyObject
* obj1
= 0 ;
33638 PyObject
* obj2
= 0 ;
33639 char *kwnames
[] = {
33640 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33645 if (SWIG_arg_fail(1)) SWIG_fail
;
33647 arg2
= wxString_in_helper(obj1
);
33648 if (arg2
== NULL
) SWIG_fail
;
33652 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33653 if (SWIG_arg_fail(3)) SWIG_fail
;
33656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33657 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
33659 wxPyEndAllowThreads(__tstate
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33662 Py_INCREF(Py_None
); resultobj
= Py_None
;
33677 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
33679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33680 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
33682 return Py_BuildValue((char *)"");
33684 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33685 PyObject
*resultobj
= NULL
;
33686 wxWindow
*arg1
= (wxWindow
*) 0 ;
33687 int arg2
= (int) (int)-1 ;
33688 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33689 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33690 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33691 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33692 long arg5
= (long) 0 ;
33693 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33694 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33695 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33696 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33697 wxPyControl
*result
;
33700 bool temp7
= false ;
33701 PyObject
* obj0
= 0 ;
33702 PyObject
* obj1
= 0 ;
33703 PyObject
* obj2
= 0 ;
33704 PyObject
* obj3
= 0 ;
33705 PyObject
* obj4
= 0 ;
33706 PyObject
* obj5
= 0 ;
33707 PyObject
* obj6
= 0 ;
33708 char *kwnames
[] = {
33709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33714 if (SWIG_arg_fail(1)) SWIG_fail
;
33717 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
33718 if (SWIG_arg_fail(2)) SWIG_fail
;
33724 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33730 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33735 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33736 if (SWIG_arg_fail(5)) SWIG_fail
;
33741 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33742 if (SWIG_arg_fail(6)) SWIG_fail
;
33743 if (arg6
== NULL
) {
33744 SWIG_null_ref("wxValidator");
33746 if (SWIG_arg_fail(6)) SWIG_fail
;
33751 arg7
= wxString_in_helper(obj6
);
33752 if (arg7
== NULL
) SWIG_fail
;
33757 if (!wxPyCheckForApp()) SWIG_fail
;
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33761 wxPyEndAllowThreads(__tstate
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
33779 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33780 PyObject
*resultobj
= NULL
;
33781 wxPyControl
*result
;
33782 char *kwnames
[] = {
33786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
33788 if (!wxPyCheckForApp()) SWIG_fail
;
33789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33790 result
= (wxPyControl
*)new wxPyControl();
33792 wxPyEndAllowThreads(__tstate
);
33793 if (PyErr_Occurred()) SWIG_fail
;
33795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
33802 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33803 PyObject
*resultobj
= NULL
;
33804 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33805 PyObject
*arg2
= (PyObject
*) 0 ;
33806 PyObject
*arg3
= (PyObject
*) 0 ;
33807 PyObject
* obj0
= 0 ;
33808 PyObject
* obj1
= 0 ;
33809 PyObject
* obj2
= 0 ;
33810 char *kwnames
[] = {
33811 (char *) "self",(char *) "self",(char *) "_class", NULL
33814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33816 if (SWIG_arg_fail(1)) SWIG_fail
;
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 Py_INCREF(Py_None
); resultobj
= Py_None
;
33833 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
= NULL
;
33835 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33838 PyObject
* obj0
= 0 ;
33839 PyObject
* obj1
= 0 ;
33840 char *kwnames
[] = {
33841 (char *) "self",(char *) "size", NULL
33844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33846 if (SWIG_arg_fail(1)) SWIG_fail
;
33849 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
33855 wxPyEndAllowThreads(__tstate
);
33856 if (PyErr_Occurred()) SWIG_fail
;
33858 Py_INCREF(Py_None
); resultobj
= Py_None
;
33865 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33866 PyObject
*resultobj
= NULL
;
33867 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33868 wxDC
*arg2
= (wxDC
*) 0 ;
33870 PyObject
* obj0
= 0 ;
33871 PyObject
* obj1
= 0 ;
33872 char *kwnames
[] = {
33873 (char *) "self",(char *) "dc", NULL
33876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
33877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33878 if (SWIG_arg_fail(1)) SWIG_fail
;
33879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33880 if (SWIG_arg_fail(2)) SWIG_fail
;
33882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33883 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
33885 wxPyEndAllowThreads(__tstate
);
33886 if (PyErr_Occurred()) SWIG_fail
;
33889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33897 static PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33898 PyObject
*resultobj
= NULL
;
33899 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33904 PyObject
* obj0
= 0 ;
33905 PyObject
* obj1
= 0 ;
33906 PyObject
* obj2
= 0 ;
33907 PyObject
* obj3
= 0 ;
33908 PyObject
* obj4
= 0 ;
33909 char *kwnames
[] = {
33910 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33915 if (SWIG_arg_fail(1)) SWIG_fail
;
33917 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33918 if (SWIG_arg_fail(2)) SWIG_fail
;
33921 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33922 if (SWIG_arg_fail(3)) SWIG_fail
;
33925 arg4
= static_cast<int >(SWIG_As_int(obj3
));
33926 if (SWIG_arg_fail(4)) SWIG_fail
;
33929 arg5
= static_cast<int >(SWIG_As_int(obj4
));
33930 if (SWIG_arg_fail(5)) SWIG_fail
;
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 Py_INCREF(Py_None
); resultobj
= Py_None
;
33946 static PyObject
*_wrap_PyControl_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33947 PyObject
*resultobj
= NULL
;
33948 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33953 int arg6
= (int) wxSIZE_AUTO
;
33954 PyObject
* obj0
= 0 ;
33955 PyObject
* obj1
= 0 ;
33956 PyObject
* obj2
= 0 ;
33957 PyObject
* obj3
= 0 ;
33958 PyObject
* obj4
= 0 ;
33959 PyObject
* obj5
= 0 ;
33960 char *kwnames
[] = {
33961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33966 if (SWIG_arg_fail(1)) SWIG_fail
;
33968 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33969 if (SWIG_arg_fail(2)) SWIG_fail
;
33972 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33973 if (SWIG_arg_fail(3)) SWIG_fail
;
33976 arg4
= static_cast<int >(SWIG_As_int(obj3
));
33977 if (SWIG_arg_fail(4)) SWIG_fail
;
33980 arg5
= static_cast<int >(SWIG_As_int(obj4
));
33981 if (SWIG_arg_fail(5)) SWIG_fail
;
33985 arg6
= static_cast<int >(SWIG_As_int(obj5
));
33986 if (SWIG_arg_fail(6)) SWIG_fail
;
33990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33991 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
33993 wxPyEndAllowThreads(__tstate
);
33994 if (PyErr_Occurred()) SWIG_fail
;
33996 Py_INCREF(Py_None
); resultobj
= Py_None
;
34003 static PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34004 PyObject
*resultobj
= NULL
;
34005 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34008 PyObject
* obj0
= 0 ;
34009 PyObject
* obj1
= 0 ;
34010 PyObject
* obj2
= 0 ;
34011 char *kwnames
[] = {
34012 (char *) "self",(char *) "width",(char *) "height", NULL
34015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34017 if (SWIG_arg_fail(1)) SWIG_fail
;
34019 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34020 if (SWIG_arg_fail(2)) SWIG_fail
;
34023 arg3
= static_cast<int >(SWIG_As_int(obj2
));
34024 if (SWIG_arg_fail(3)) SWIG_fail
;
34027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34028 (arg1
)->DoSetClientSize(arg2
,arg3
);
34030 wxPyEndAllowThreads(__tstate
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34033 Py_INCREF(Py_None
); resultobj
= Py_None
;
34040 static PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34041 PyObject
*resultobj
= NULL
;
34042 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34045 PyObject
* obj0
= 0 ;
34046 PyObject
* obj1
= 0 ;
34047 PyObject
* obj2
= 0 ;
34048 char *kwnames
[] = {
34049 (char *) "self",(char *) "x",(char *) "y", NULL
34052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34054 if (SWIG_arg_fail(1)) SWIG_fail
;
34056 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34057 if (SWIG_arg_fail(2)) SWIG_fail
;
34060 arg3
= static_cast<int >(SWIG_As_int(obj2
));
34061 if (SWIG_arg_fail(3)) SWIG_fail
;
34064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
34067 wxPyEndAllowThreads(__tstate
);
34068 if (PyErr_Occurred()) SWIG_fail
;
34070 Py_INCREF(Py_None
); resultobj
= Py_None
;
34077 static PyObject
*_wrap_PyControl_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34078 PyObject
*resultobj
= NULL
;
34079 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34080 int *arg2
= (int *) 0 ;
34081 int *arg3
= (int *) 0 ;
34086 PyObject
* obj0
= 0 ;
34087 char *kwnames
[] = {
34088 (char *) "self", NULL
34091 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
34092 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
34093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetSize",kwnames
,&obj0
)) goto fail
;
34094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34095 if (SWIG_arg_fail(1)) SWIG_fail
;
34097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34098 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
34100 wxPyEndAllowThreads(__tstate
);
34101 if (PyErr_Occurred()) SWIG_fail
;
34103 Py_INCREF(Py_None
); resultobj
= Py_None
;
34104 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
34105 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
34106 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
34107 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
34114 static PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34115 PyObject
*resultobj
= NULL
;
34116 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34117 int *arg2
= (int *) 0 ;
34118 int *arg3
= (int *) 0 ;
34123 PyObject
* obj0
= 0 ;
34124 char *kwnames
[] = {
34125 (char *) "self", NULL
34128 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
34129 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
34130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
34131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34132 if (SWIG_arg_fail(1)) SWIG_fail
;
34134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34135 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
34137 wxPyEndAllowThreads(__tstate
);
34138 if (PyErr_Occurred()) SWIG_fail
;
34140 Py_INCREF(Py_None
); resultobj
= Py_None
;
34141 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
34142 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
34143 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
34144 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
34151 static PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34152 PyObject
*resultobj
= NULL
;
34153 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34154 int *arg2
= (int *) 0 ;
34155 int *arg3
= (int *) 0 ;
34160 PyObject
* obj0
= 0 ;
34161 char *kwnames
[] = {
34162 (char *) "self", NULL
34165 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
34166 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
34167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetPosition",kwnames
,&obj0
)) goto fail
;
34168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34169 if (SWIG_arg_fail(1)) SWIG_fail
;
34171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34172 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
34174 wxPyEndAllowThreads(__tstate
);
34175 if (PyErr_Occurred()) SWIG_fail
;
34177 Py_INCREF(Py_None
); resultobj
= Py_None
;
34178 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
34179 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
34180 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
34181 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
34188 static PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
= NULL
;
34190 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34192 PyObject
* obj0
= 0 ;
34193 char *kwnames
[] = {
34194 (char *) "self", NULL
34197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
34198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34199 if (SWIG_arg_fail(1)) SWIG_fail
;
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
34204 wxPyEndAllowThreads(__tstate
);
34205 if (PyErr_Occurred()) SWIG_fail
;
34208 wxSize
* resultptr
;
34209 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34218 static PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34219 PyObject
*resultobj
= NULL
;
34220 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34222 PyObject
* obj0
= 0 ;
34223 char *kwnames
[] = {
34224 (char *) "self", NULL
34227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
34228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34229 if (SWIG_arg_fail(1)) SWIG_fail
;
34231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34232 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
34234 wxPyEndAllowThreads(__tstate
);
34235 if (PyErr_Occurred()) SWIG_fail
;
34238 wxSize
* resultptr
;
34239 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34248 static PyObject
*_wrap_PyControl_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34249 PyObject
*resultobj
= NULL
;
34250 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34251 PyObject
* obj0
= 0 ;
34252 char *kwnames
[] = {
34253 (char *) "self", NULL
34256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_InitDialog",kwnames
,&obj0
)) goto fail
;
34257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34258 if (SWIG_arg_fail(1)) SWIG_fail
;
34260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34261 (arg1
)->InitDialog();
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34266 Py_INCREF(Py_None
); resultobj
= Py_None
;
34273 static PyObject
*_wrap_PyControl_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34274 PyObject
*resultobj
= NULL
;
34275 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34277 PyObject
* obj0
= 0 ;
34278 char *kwnames
[] = {
34279 (char *) "self", NULL
34282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
34283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34284 if (SWIG_arg_fail(1)) SWIG_fail
;
34286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34287 result
= (bool)(arg1
)->TransferDataToWindow();
34289 wxPyEndAllowThreads(__tstate
);
34290 if (PyErr_Occurred()) SWIG_fail
;
34293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34301 static PyObject
*_wrap_PyControl_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34302 PyObject
*resultobj
= NULL
;
34303 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34305 PyObject
* obj0
= 0 ;
34306 char *kwnames
[] = {
34307 (char *) "self", NULL
34310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
34311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34312 if (SWIG_arg_fail(1)) SWIG_fail
;
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34315 result
= (bool)(arg1
)->TransferDataFromWindow();
34317 wxPyEndAllowThreads(__tstate
);
34318 if (PyErr_Occurred()) SWIG_fail
;
34321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34329 static PyObject
*_wrap_PyControl_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34330 PyObject
*resultobj
= NULL
;
34331 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34333 PyObject
* obj0
= 0 ;
34334 char *kwnames
[] = {
34335 (char *) "self", NULL
34338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_Validate",kwnames
,&obj0
)) goto fail
;
34339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34340 if (SWIG_arg_fail(1)) SWIG_fail
;
34342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34343 result
= (bool)(arg1
)->Validate();
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34357 static PyObject
*_wrap_PyControl_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34358 PyObject
*resultobj
= NULL
;
34359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34361 PyObject
* obj0
= 0 ;
34362 char *kwnames
[] = {
34363 (char *) "self", NULL
34366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
34367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34368 if (SWIG_arg_fail(1)) SWIG_fail
;
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 result
= (bool)((wxPyControl
const *)arg1
)->AcceptsFocus();
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34385 static PyObject
*_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34386 PyObject
*resultobj
= NULL
;
34387 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34389 PyObject
* obj0
= 0 ;
34390 char *kwnames
[] = {
34391 (char *) "self", NULL
34394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
34395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34396 if (SWIG_arg_fail(1)) SWIG_fail
;
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34399 result
= (bool)((wxPyControl
const *)arg1
)->AcceptsFocusFromKeyboard();
34401 wxPyEndAllowThreads(__tstate
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34413 static PyObject
*_wrap_PyControl_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34414 PyObject
*resultobj
= NULL
;
34415 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34417 PyObject
* obj0
= 0 ;
34418 char *kwnames
[] = {
34419 (char *) "self", NULL
34422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_GetMaxSize",kwnames
,&obj0
)) goto fail
;
34423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34424 if (SWIG_arg_fail(1)) SWIG_fail
;
34426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34427 result
= ((wxPyControl
const *)arg1
)->GetMaxSize();
34429 wxPyEndAllowThreads(__tstate
);
34430 if (PyErr_Occurred()) SWIG_fail
;
34433 wxSize
* resultptr
;
34434 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34443 static PyObject
*_wrap_PyControl_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34444 PyObject
*resultobj
= NULL
;
34445 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34446 wxWindow
*arg2
= (wxWindow
*) 0 ;
34447 PyObject
* obj0
= 0 ;
34448 PyObject
* obj1
= 0 ;
34449 char *kwnames
[] = {
34450 (char *) "self",(char *) "child", NULL
34453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
34454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34455 if (SWIG_arg_fail(1)) SWIG_fail
;
34456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34457 if (SWIG_arg_fail(2)) SWIG_fail
;
34459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34460 (arg1
)->AddChild(arg2
);
34462 wxPyEndAllowThreads(__tstate
);
34463 if (PyErr_Occurred()) SWIG_fail
;
34465 Py_INCREF(Py_None
); resultobj
= Py_None
;
34472 static PyObject
*_wrap_PyControl_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34473 PyObject
*resultobj
= NULL
;
34474 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34475 wxWindow
*arg2
= (wxWindow
*) 0 ;
34476 PyObject
* obj0
= 0 ;
34477 PyObject
* obj1
= 0 ;
34478 char *kwnames
[] = {
34479 (char *) "self",(char *) "child", NULL
34482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
34483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34484 if (SWIG_arg_fail(1)) SWIG_fail
;
34485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34486 if (SWIG_arg_fail(2)) SWIG_fail
;
34488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34489 (arg1
)->RemoveChild(arg2
);
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34494 Py_INCREF(Py_None
); resultobj
= Py_None
;
34501 static PyObject
*_wrap_PyControl_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34502 PyObject
*resultobj
= NULL
;
34503 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34505 PyObject
* obj0
= 0 ;
34506 char *kwnames
[] = {
34507 (char *) "self", NULL
34510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
34511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34512 if (SWIG_arg_fail(1)) SWIG_fail
;
34514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34515 result
= (bool)((wxPyControl
const *)arg1
)->ShouldInheritColours();
34517 wxPyEndAllowThreads(__tstate
);
34518 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34529 static PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34530 PyObject
*resultobj
= NULL
;
34531 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34532 wxVisualAttributes result
;
34533 PyObject
* obj0
= 0 ;
34534 char *kwnames
[] = {
34535 (char *) "self", NULL
34538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34540 if (SWIG_arg_fail(1)) SWIG_fail
;
34542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34543 result
= (arg1
)->GetDefaultAttributes();
34545 wxPyEndAllowThreads(__tstate
);
34546 if (PyErr_Occurred()) SWIG_fail
;
34549 wxVisualAttributes
* resultptr
;
34550 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
34551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34559 static PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34560 PyObject
*resultobj
= NULL
;
34561 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34562 PyObject
* obj0
= 0 ;
34563 char *kwnames
[] = {
34564 (char *) "self", NULL
34567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
34568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34569 if (SWIG_arg_fail(1)) SWIG_fail
;
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 (arg1
)->OnInternalIdle();
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34577 Py_INCREF(Py_None
); resultobj
= Py_None
;
34584 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
34586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34587 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
34589 return Py_BuildValue((char *)"");
34591 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34592 PyObject
*resultobj
= NULL
;
34593 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
34594 int arg2
= (int) 0 ;
34595 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34596 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34597 wxHelpEvent
*result
;
34599 PyObject
* obj0
= 0 ;
34600 PyObject
* obj1
= 0 ;
34601 PyObject
* obj2
= 0 ;
34602 char *kwnames
[] = {
34603 (char *) "type",(char *) "winid",(char *) "pt", NULL
34606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34609 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
34610 if (SWIG_arg_fail(1)) SWIG_fail
;
34615 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34616 if (SWIG_arg_fail(2)) SWIG_fail
;
34622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34627 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
34629 wxPyEndAllowThreads(__tstate
);
34630 if (PyErr_Occurred()) SWIG_fail
;
34632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
34639 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34640 PyObject
*resultobj
= NULL
;
34641 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34643 PyObject
* obj0
= 0 ;
34644 char *kwnames
[] = {
34645 (char *) "self", NULL
34648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
34649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34650 if (SWIG_arg_fail(1)) SWIG_fail
;
34652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34653 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
34655 wxPyEndAllowThreads(__tstate
);
34656 if (PyErr_Occurred()) SWIG_fail
;
34659 wxPoint
* resultptr
;
34660 resultptr
= new wxPoint(static_cast<wxPoint
const & >(result
));
34661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34669 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34670 PyObject
*resultobj
= NULL
;
34671 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34672 wxPoint
*arg2
= 0 ;
34674 PyObject
* obj0
= 0 ;
34675 PyObject
* obj1
= 0 ;
34676 char *kwnames
[] = {
34677 (char *) "self",(char *) "pos", NULL
34680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34682 if (SWIG_arg_fail(1)) SWIG_fail
;
34685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34689 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
34691 wxPyEndAllowThreads(__tstate
);
34692 if (PyErr_Occurred()) SWIG_fail
;
34694 Py_INCREF(Py_None
); resultobj
= Py_None
;
34701 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34702 PyObject
*resultobj
= NULL
;
34703 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34705 PyObject
* obj0
= 0 ;
34706 char *kwnames
[] = {
34707 (char *) "self", NULL
34710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
34711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34712 if (SWIG_arg_fail(1)) SWIG_fail
;
34714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
34717 result
= (wxString
*) &_result_ref
;
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34725 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34727 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34736 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34737 PyObject
*resultobj
= NULL
;
34738 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34739 wxString
*arg2
= 0 ;
34740 bool temp2
= false ;
34741 PyObject
* obj0
= 0 ;
34742 PyObject
* obj1
= 0 ;
34743 char *kwnames
[] = {
34744 (char *) "self",(char *) "link", NULL
34747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
34748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34749 if (SWIG_arg_fail(1)) SWIG_fail
;
34751 arg2
= wxString_in_helper(obj1
);
34752 if (arg2
== NULL
) SWIG_fail
;
34756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34757 (arg1
)->SetLink((wxString
const &)*arg2
);
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 Py_INCREF(Py_None
); resultobj
= Py_None
;
34777 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
= NULL
;
34779 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34781 PyObject
* obj0
= 0 ;
34782 char *kwnames
[] = {
34783 (char *) "self", NULL
34786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
34787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34788 if (SWIG_arg_fail(1)) SWIG_fail
;
34790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
34793 result
= (wxString
*) &_result_ref
;
34796 wxPyEndAllowThreads(__tstate
);
34797 if (PyErr_Occurred()) SWIG_fail
;
34801 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34803 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34812 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34813 PyObject
*resultobj
= NULL
;
34814 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34815 wxString
*arg2
= 0 ;
34816 bool temp2
= false ;
34817 PyObject
* obj0
= 0 ;
34818 PyObject
* obj1
= 0 ;
34819 char *kwnames
[] = {
34820 (char *) "self",(char *) "target", NULL
34823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
34824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34825 if (SWIG_arg_fail(1)) SWIG_fail
;
34827 arg2
= wxString_in_helper(obj1
);
34828 if (arg2
== NULL
) SWIG_fail
;
34832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34833 (arg1
)->SetTarget((wxString
const &)*arg2
);
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34838 Py_INCREF(Py_None
); resultobj
= Py_None
;
34853 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
34855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34856 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
34858 return Py_BuildValue((char *)"");
34860 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34861 PyObject
*resultobj
= NULL
;
34862 wxWindow
*arg1
= (wxWindow
*) NULL
;
34863 bool arg2
= (bool) true ;
34864 wxContextHelp
*result
;
34865 PyObject
* obj0
= 0 ;
34866 PyObject
* obj1
= 0 ;
34867 char *kwnames
[] = {
34868 (char *) "window",(char *) "doNow", NULL
34871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34874 if (SWIG_arg_fail(1)) SWIG_fail
;
34878 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
34879 if (SWIG_arg_fail(2)) SWIG_fail
;
34883 if (!wxPyCheckForApp()) SWIG_fail
;
34884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34885 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
34887 wxPyEndAllowThreads(__tstate
);
34888 if (PyErr_Occurred()) SWIG_fail
;
34890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
34897 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34898 PyObject
*resultobj
= NULL
;
34899 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34900 PyObject
* obj0
= 0 ;
34901 char *kwnames
[] = {
34902 (char *) "self", NULL
34905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
34906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34907 if (SWIG_arg_fail(1)) SWIG_fail
;
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34912 wxPyEndAllowThreads(__tstate
);
34913 if (PyErr_Occurred()) SWIG_fail
;
34915 Py_INCREF(Py_None
); resultobj
= Py_None
;
34922 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34923 PyObject
*resultobj
= NULL
;
34924 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34925 wxWindow
*arg2
= (wxWindow
*) NULL
;
34927 PyObject
* obj0
= 0 ;
34928 PyObject
* obj1
= 0 ;
34929 char *kwnames
[] = {
34930 (char *) "self",(char *) "window", NULL
34933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34935 if (SWIG_arg_fail(1)) SWIG_fail
;
34937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34938 if (SWIG_arg_fail(2)) SWIG_fail
;
34941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34942 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
34944 wxPyEndAllowThreads(__tstate
);
34945 if (PyErr_Occurred()) SWIG_fail
;
34948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34956 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34957 PyObject
*resultobj
= NULL
;
34958 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34960 PyObject
* obj0
= 0 ;
34961 char *kwnames
[] = {
34962 (char *) "self", NULL
34965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
34966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34967 if (SWIG_arg_fail(1)) SWIG_fail
;
34969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34970 result
= (bool)(arg1
)->EndContextHelp();
34972 wxPyEndAllowThreads(__tstate
);
34973 if (PyErr_Occurred()) SWIG_fail
;
34976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34984 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
34986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34987 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
34989 return Py_BuildValue((char *)"");
34991 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34992 PyObject
*resultobj
= NULL
;
34993 wxWindow
*arg1
= (wxWindow
*) 0 ;
34994 int arg2
= (int) wxID_CONTEXT_HELP
;
34995 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34996 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34997 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34998 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34999 long arg5
= (long) wxBU_AUTODRAW
;
35000 wxContextHelpButton
*result
;
35003 PyObject
* obj0
= 0 ;
35004 PyObject
* obj1
= 0 ;
35005 PyObject
* obj2
= 0 ;
35006 PyObject
* obj3
= 0 ;
35007 PyObject
* obj4
= 0 ;
35008 char *kwnames
[] = {
35009 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
35012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35014 if (SWIG_arg_fail(1)) SWIG_fail
;
35017 arg2
= static_cast<int >(SWIG_As_int(obj1
));
35018 if (SWIG_arg_fail(2)) SWIG_fail
;
35024 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35030 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35035 arg5
= static_cast<long >(SWIG_As_long(obj4
));
35036 if (SWIG_arg_fail(5)) SWIG_fail
;
35040 if (!wxPyCheckForApp()) SWIG_fail
;
35041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35042 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
35054 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
35056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35057 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
35059 return Py_BuildValue((char *)"");
35061 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35062 PyObject
*resultobj
= NULL
;
35063 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35064 wxHelpProvider
*result
;
35065 PyObject
* obj0
= 0 ;
35066 char *kwnames
[] = {
35067 (char *) "helpProvider", NULL
35070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
35071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
35072 if (SWIG_arg_fail(1)) SWIG_fail
;
35074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35075 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 1);
35087 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35088 PyObject
*resultobj
= NULL
;
35089 wxHelpProvider
*result
;
35090 char *kwnames
[] = {
35094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
35096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35097 result
= (wxHelpProvider
*)wxHelpProvider::Get();
35099 wxPyEndAllowThreads(__tstate
);
35100 if (PyErr_Occurred()) SWIG_fail
;
35102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
35109 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35110 PyObject
*resultobj
= NULL
;
35111 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35112 wxWindow
*arg2
= (wxWindow
*) 0 ;
35114 PyObject
* obj0
= 0 ;
35115 PyObject
* obj1
= 0 ;
35116 char *kwnames
[] = {
35117 (char *) "self",(char *) "window", NULL
35120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35122 if (SWIG_arg_fail(1)) SWIG_fail
;
35123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35124 if (SWIG_arg_fail(2)) SWIG_fail
;
35126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35127 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35145 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35146 PyObject
*resultobj
= NULL
;
35147 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35148 wxWindow
*arg2
= (wxWindow
*) 0 ;
35150 PyObject
* obj0
= 0 ;
35151 PyObject
* obj1
= 0 ;
35152 char *kwnames
[] = {
35153 (char *) "self",(char *) "window", NULL
35156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35158 if (SWIG_arg_fail(1)) SWIG_fail
;
35159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35160 if (SWIG_arg_fail(2)) SWIG_fail
;
35162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35163 result
= (bool)(arg1
)->ShowHelp(arg2
);
35165 wxPyEndAllowThreads(__tstate
);
35166 if (PyErr_Occurred()) SWIG_fail
;
35169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35177 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35178 PyObject
*resultobj
= NULL
;
35179 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35180 wxWindow
*arg2
= (wxWindow
*) 0 ;
35181 wxString
*arg3
= 0 ;
35182 bool temp3
= false ;
35183 PyObject
* obj0
= 0 ;
35184 PyObject
* obj1
= 0 ;
35185 PyObject
* obj2
= 0 ;
35186 char *kwnames
[] = {
35187 (char *) "self",(char *) "window",(char *) "text", NULL
35190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35192 if (SWIG_arg_fail(1)) SWIG_fail
;
35193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35194 if (SWIG_arg_fail(2)) SWIG_fail
;
35196 arg3
= wxString_in_helper(obj2
);
35197 if (arg3
== NULL
) SWIG_fail
;
35201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35202 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
35204 wxPyEndAllowThreads(__tstate
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35207 Py_INCREF(Py_None
); resultobj
= Py_None
;
35222 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35223 PyObject
*resultobj
= NULL
;
35224 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35226 wxString
*arg3
= 0 ;
35227 bool temp3
= false ;
35228 PyObject
* obj0
= 0 ;
35229 PyObject
* obj1
= 0 ;
35230 PyObject
* obj2
= 0 ;
35231 char *kwnames
[] = {
35232 (char *) "self",(char *) "id",(char *) "text", NULL
35235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35237 if (SWIG_arg_fail(1)) SWIG_fail
;
35239 arg2
= static_cast<int >(SWIG_As_int(obj1
));
35240 if (SWIG_arg_fail(2)) SWIG_fail
;
35243 arg3
= wxString_in_helper(obj2
);
35244 if (arg3
== NULL
) SWIG_fail
;
35248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35249 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
35251 wxPyEndAllowThreads(__tstate
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35254 Py_INCREF(Py_None
); resultobj
= Py_None
;
35269 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35270 PyObject
*resultobj
= NULL
;
35271 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35272 wxWindow
*arg2
= (wxWindow
*) 0 ;
35273 PyObject
* obj0
= 0 ;
35274 PyObject
* obj1
= 0 ;
35275 char *kwnames
[] = {
35276 (char *) "self",(char *) "window", NULL
35279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35281 if (SWIG_arg_fail(1)) SWIG_fail
;
35282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35283 if (SWIG_arg_fail(2)) SWIG_fail
;
35285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35286 (arg1
)->RemoveHelp(arg2
);
35288 wxPyEndAllowThreads(__tstate
);
35289 if (PyErr_Occurred()) SWIG_fail
;
35291 Py_INCREF(Py_None
); resultobj
= Py_None
;
35298 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35299 PyObject
*resultobj
= NULL
;
35300 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35301 PyObject
* obj0
= 0 ;
35302 char *kwnames
[] = {
35303 (char *) "self", NULL
35306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
35307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35308 if (SWIG_arg_fail(1)) SWIG_fail
;
35310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35311 wxHelpProvider_Destroy(arg1
);
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35316 Py_INCREF(Py_None
); resultobj
= Py_None
;
35323 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
35325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35326 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
35328 return Py_BuildValue((char *)"");
35330 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35331 PyObject
*resultobj
= NULL
;
35332 wxSimpleHelpProvider
*result
;
35333 char *kwnames
[] = {
35337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
35342 wxPyEndAllowThreads(__tstate
);
35343 if (PyErr_Occurred()) SWIG_fail
;
35345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
35352 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
35354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35355 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
35357 return Py_BuildValue((char *)"");
35359 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
= NULL
;
35361 wxBitmap
*arg1
= 0 ;
35362 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35363 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35364 wxGenericDragImage
*result
;
35365 PyObject
* obj0
= 0 ;
35366 PyObject
* obj1
= 0 ;
35367 char *kwnames
[] = {
35368 (char *) "image",(char *) "cursor", NULL
35371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
35373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35374 if (SWIG_arg_fail(1)) SWIG_fail
;
35375 if (arg1
== NULL
) {
35376 SWIG_null_ref("wxBitmap");
35378 if (SWIG_arg_fail(1)) SWIG_fail
;
35382 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35383 if (SWIG_arg_fail(2)) SWIG_fail
;
35384 if (arg2
== NULL
) {
35385 SWIG_null_ref("wxCursor");
35387 if (SWIG_arg_fail(2)) SWIG_fail
;
35391 if (!wxPyCheckForApp()) SWIG_fail
;
35392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35393 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
35395 wxPyEndAllowThreads(__tstate
);
35396 if (PyErr_Occurred()) SWIG_fail
;
35398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35405 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35406 PyObject
*resultobj
= NULL
;
35408 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35409 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35410 wxGenericDragImage
*result
;
35411 PyObject
* obj0
= 0 ;
35412 PyObject
* obj1
= 0 ;
35413 char *kwnames
[] = {
35414 (char *) "image",(char *) "cursor", NULL
35417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
35419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
35420 if (SWIG_arg_fail(1)) SWIG_fail
;
35421 if (arg1
== NULL
) {
35422 SWIG_null_ref("wxIcon");
35424 if (SWIG_arg_fail(1)) SWIG_fail
;
35428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35429 if (SWIG_arg_fail(2)) SWIG_fail
;
35430 if (arg2
== NULL
) {
35431 SWIG_null_ref("wxCursor");
35433 if (SWIG_arg_fail(2)) SWIG_fail
;
35437 if (!wxPyCheckForApp()) SWIG_fail
;
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
35441 wxPyEndAllowThreads(__tstate
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35451 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35452 PyObject
*resultobj
= NULL
;
35453 wxString
*arg1
= 0 ;
35454 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35455 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35456 wxGenericDragImage
*result
;
35457 bool temp1
= false ;
35458 PyObject
* obj0
= 0 ;
35459 PyObject
* obj1
= 0 ;
35460 char *kwnames
[] = {
35461 (char *) "str",(char *) "cursor", NULL
35464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
35466 arg1
= wxString_in_helper(obj0
);
35467 if (arg1
== NULL
) SWIG_fail
;
35472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35473 if (SWIG_arg_fail(2)) SWIG_fail
;
35474 if (arg2
== NULL
) {
35475 SWIG_null_ref("wxCursor");
35477 if (SWIG_arg_fail(2)) SWIG_fail
;
35481 if (!wxPyCheckForApp()) SWIG_fail
;
35482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35483 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
35485 wxPyEndAllowThreads(__tstate
);
35486 if (PyErr_Occurred()) SWIG_fail
;
35488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35503 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35504 PyObject
*resultobj
= NULL
;
35505 wxPyTreeCtrl
*arg1
= 0 ;
35506 wxTreeItemId
*arg2
= 0 ;
35507 wxGenericDragImage
*result
;
35508 PyObject
* obj0
= 0 ;
35509 PyObject
* obj1
= 0 ;
35510 char *kwnames
[] = {
35511 (char *) "treeCtrl",(char *) "id", NULL
35514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35517 if (SWIG_arg_fail(1)) SWIG_fail
;
35518 if (arg1
== NULL
) {
35519 SWIG_null_ref("wxPyTreeCtrl");
35521 if (SWIG_arg_fail(1)) SWIG_fail
;
35524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
35525 if (SWIG_arg_fail(2)) SWIG_fail
;
35526 if (arg2
== NULL
) {
35527 SWIG_null_ref("wxTreeItemId");
35529 if (SWIG_arg_fail(2)) SWIG_fail
;
35532 if (!wxPyCheckForApp()) SWIG_fail
;
35533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35534 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35546 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35547 PyObject
*resultobj
= NULL
;
35548 wxPyListCtrl
*arg1
= 0 ;
35550 wxGenericDragImage
*result
;
35551 PyObject
* obj0
= 0 ;
35552 PyObject
* obj1
= 0 ;
35553 char *kwnames
[] = {
35554 (char *) "listCtrl",(char *) "id", NULL
35557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35560 if (SWIG_arg_fail(1)) SWIG_fail
;
35561 if (arg1
== NULL
) {
35562 SWIG_null_ref("wxPyListCtrl");
35564 if (SWIG_arg_fail(1)) SWIG_fail
;
35567 arg2
= static_cast<long >(SWIG_As_long(obj1
));
35568 if (SWIG_arg_fail(2)) SWIG_fail
;
35571 if (!wxPyCheckForApp()) SWIG_fail
;
35572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35573 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
35575 wxPyEndAllowThreads(__tstate
);
35576 if (PyErr_Occurred()) SWIG_fail
;
35578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35585 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35586 PyObject
*resultobj
= NULL
;
35587 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35588 PyObject
* obj0
= 0 ;
35589 char *kwnames
[] = {
35590 (char *) "self", NULL
35593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
35594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35595 if (SWIG_arg_fail(1)) SWIG_fail
;
35597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35603 Py_INCREF(Py_None
); resultobj
= Py_None
;
35610 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35611 PyObject
*resultobj
= NULL
;
35612 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35613 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
35614 PyObject
* obj0
= 0 ;
35615 PyObject
* obj1
= 0 ;
35616 char *kwnames
[] = {
35617 (char *) "self",(char *) "bitmap", NULL
35620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
35621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35622 if (SWIG_arg_fail(1)) SWIG_fail
;
35623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35624 if (SWIG_arg_fail(2)) SWIG_fail
;
35626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35627 (arg1
)->SetBackingBitmap(arg2
);
35629 wxPyEndAllowThreads(__tstate
);
35630 if (PyErr_Occurred()) SWIG_fail
;
35632 Py_INCREF(Py_None
); resultobj
= Py_None
;
35639 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35640 PyObject
*resultobj
= NULL
;
35641 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35642 wxPoint
*arg2
= 0 ;
35643 wxWindow
*arg3
= (wxWindow
*) 0 ;
35644 bool arg4
= (bool) false ;
35645 wxRect
*arg5
= (wxRect
*) NULL
;
35648 PyObject
* obj0
= 0 ;
35649 PyObject
* obj1
= 0 ;
35650 PyObject
* obj2
= 0 ;
35651 PyObject
* obj3
= 0 ;
35652 PyObject
* obj4
= 0 ;
35653 char *kwnames
[] = {
35654 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35659 if (SWIG_arg_fail(1)) SWIG_fail
;
35662 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35664 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35665 if (SWIG_arg_fail(3)) SWIG_fail
;
35668 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
35669 if (SWIG_arg_fail(4)) SWIG_fail
;
35673 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
35674 if (SWIG_arg_fail(5)) SWIG_fail
;
35677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35678 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
35680 wxPyEndAllowThreads(__tstate
);
35681 if (PyErr_Occurred()) SWIG_fail
;
35684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35692 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35693 PyObject
*resultobj
= NULL
;
35694 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35695 wxPoint
*arg2
= 0 ;
35696 wxWindow
*arg3
= (wxWindow
*) 0 ;
35697 wxWindow
*arg4
= (wxWindow
*) 0 ;
35700 PyObject
* obj0
= 0 ;
35701 PyObject
* obj1
= 0 ;
35702 PyObject
* obj2
= 0 ;
35703 PyObject
* obj3
= 0 ;
35704 char *kwnames
[] = {
35705 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35710 if (SWIG_arg_fail(1)) SWIG_fail
;
35713 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35715 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35716 if (SWIG_arg_fail(3)) SWIG_fail
;
35717 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35718 if (SWIG_arg_fail(4)) SWIG_fail
;
35720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35721 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
35723 wxPyEndAllowThreads(__tstate
);
35724 if (PyErr_Occurred()) SWIG_fail
;
35727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35735 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35736 PyObject
*resultobj
= NULL
;
35737 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35739 PyObject
* obj0
= 0 ;
35740 char *kwnames
[] = {
35741 (char *) "self", NULL
35744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
35745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35746 if (SWIG_arg_fail(1)) SWIG_fail
;
35748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35749 result
= (bool)(arg1
)->EndDrag();
35751 wxPyEndAllowThreads(__tstate
);
35752 if (PyErr_Occurred()) SWIG_fail
;
35755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35763 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35764 PyObject
*resultobj
= NULL
;
35765 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35766 wxPoint
*arg2
= 0 ;
35769 PyObject
* obj0
= 0 ;
35770 PyObject
* obj1
= 0 ;
35771 char *kwnames
[] = {
35772 (char *) "self",(char *) "pt", NULL
35775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
35776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35777 if (SWIG_arg_fail(1)) SWIG_fail
;
35780 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35784 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
35786 wxPyEndAllowThreads(__tstate
);
35787 if (PyErr_Occurred()) SWIG_fail
;
35790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35798 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35799 PyObject
*resultobj
= NULL
;
35800 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35802 PyObject
* obj0
= 0 ;
35803 char *kwnames
[] = {
35804 (char *) "self", NULL
35807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
35808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35809 if (SWIG_arg_fail(1)) SWIG_fail
;
35811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35812 result
= (bool)(arg1
)->Show();
35814 wxPyEndAllowThreads(__tstate
);
35815 if (PyErr_Occurred()) SWIG_fail
;
35818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35826 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35827 PyObject
*resultobj
= NULL
;
35828 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35830 PyObject
* obj0
= 0 ;
35831 char *kwnames
[] = {
35832 (char *) "self", NULL
35835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
35836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35837 if (SWIG_arg_fail(1)) SWIG_fail
;
35839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35840 result
= (bool)(arg1
)->Hide();
35842 wxPyEndAllowThreads(__tstate
);
35843 if (PyErr_Occurred()) SWIG_fail
;
35846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35854 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35855 PyObject
*resultobj
= NULL
;
35856 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35857 wxPoint
*arg2
= 0 ;
35860 PyObject
* obj0
= 0 ;
35861 PyObject
* obj1
= 0 ;
35862 char *kwnames
[] = {
35863 (char *) "self",(char *) "pos", NULL
35866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
35867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35868 if (SWIG_arg_fail(1)) SWIG_fail
;
35871 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35881 wxRect
* resultptr
;
35882 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
35883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35891 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35892 PyObject
*resultobj
= NULL
;
35893 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35895 wxPoint
*arg3
= 0 ;
35898 PyObject
* obj0
= 0 ;
35899 PyObject
* obj1
= 0 ;
35900 PyObject
* obj2
= 0 ;
35901 char *kwnames
[] = {
35902 (char *) "self",(char *) "dc",(char *) "pos", NULL
35905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35907 if (SWIG_arg_fail(1)) SWIG_fail
;
35909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35910 if (SWIG_arg_fail(2)) SWIG_fail
;
35911 if (arg2
== NULL
) {
35912 SWIG_null_ref("wxDC");
35914 if (SWIG_arg_fail(2)) SWIG_fail
;
35918 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35922 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35936 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35937 PyObject
*resultobj
= NULL
;
35938 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35940 wxMemoryDC
*arg3
= 0 ;
35946 PyObject
* obj0
= 0 ;
35947 PyObject
* obj1
= 0 ;
35948 PyObject
* obj2
= 0 ;
35949 PyObject
* obj3
= 0 ;
35950 PyObject
* obj4
= 0 ;
35951 char *kwnames
[] = {
35952 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35957 if (SWIG_arg_fail(1)) SWIG_fail
;
35959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35960 if (SWIG_arg_fail(2)) SWIG_fail
;
35961 if (arg2
== NULL
) {
35962 SWIG_null_ref("wxDC");
35964 if (SWIG_arg_fail(2)) SWIG_fail
;
35967 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
35968 if (SWIG_arg_fail(3)) SWIG_fail
;
35969 if (arg3
== NULL
) {
35970 SWIG_null_ref("wxMemoryDC");
35972 if (SWIG_arg_fail(3)) SWIG_fail
;
35976 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35980 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
35983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35984 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
35986 wxPyEndAllowThreads(__tstate
);
35987 if (PyErr_Occurred()) SWIG_fail
;
35990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35998 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35999 PyObject
*resultobj
= NULL
;
36000 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
36001 wxPoint
*arg2
= 0 ;
36002 wxPoint
*arg3
= 0 ;
36008 PyObject
* obj0
= 0 ;
36009 PyObject
* obj1
= 0 ;
36010 PyObject
* obj2
= 0 ;
36011 PyObject
* obj3
= 0 ;
36012 PyObject
* obj4
= 0 ;
36013 char *kwnames
[] = {
36014 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
36017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
36019 if (SWIG_arg_fail(1)) SWIG_fail
;
36022 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36029 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
36030 if (SWIG_arg_fail(4)) SWIG_fail
;
36033 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
36034 if (SWIG_arg_fail(5)) SWIG_fail
;
36037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36038 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
36040 wxPyEndAllowThreads(__tstate
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36052 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
36054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36055 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
36057 return Py_BuildValue((char *)"");
36059 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
36060 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
36065 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
36066 PyObject
*pyobj
= NULL
;
36070 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
36072 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
36079 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36080 PyObject
*resultobj
= NULL
;
36081 wxWindow
*arg1
= (wxWindow
*) 0 ;
36082 int arg2
= (int) -1 ;
36083 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
36084 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
36085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36089 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
36090 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36091 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36092 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
36093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36094 wxDatePickerCtrl
*result
;
36097 bool temp8
= false ;
36098 PyObject
* obj0
= 0 ;
36099 PyObject
* obj1
= 0 ;
36100 PyObject
* obj2
= 0 ;
36101 PyObject
* obj3
= 0 ;
36102 PyObject
* obj4
= 0 ;
36103 PyObject
* obj5
= 0 ;
36104 PyObject
* obj6
= 0 ;
36105 PyObject
* obj7
= 0 ;
36106 char *kwnames
[] = {
36107 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36112 if (SWIG_arg_fail(1)) SWIG_fail
;
36115 arg2
= static_cast<int >(SWIG_As_int(obj1
));
36116 if (SWIG_arg_fail(2)) SWIG_fail
;
36121 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36122 if (SWIG_arg_fail(3)) SWIG_fail
;
36123 if (arg3
== NULL
) {
36124 SWIG_null_ref("wxDateTime");
36126 if (SWIG_arg_fail(3)) SWIG_fail
;
36132 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36138 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36143 arg6
= static_cast<long >(SWIG_As_long(obj5
));
36144 if (SWIG_arg_fail(6)) SWIG_fail
;
36149 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36150 if (SWIG_arg_fail(7)) SWIG_fail
;
36151 if (arg7
== NULL
) {
36152 SWIG_null_ref("wxValidator");
36154 if (SWIG_arg_fail(7)) SWIG_fail
;
36159 arg8
= wxString_in_helper(obj7
);
36160 if (arg8
== NULL
) SWIG_fail
;
36165 if (!wxPyCheckForApp()) SWIG_fail
;
36166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36167 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36169 wxPyEndAllowThreads(__tstate
);
36170 if (PyErr_Occurred()) SWIG_fail
;
36172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
36187 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36188 PyObject
*resultobj
= NULL
;
36189 wxDatePickerCtrl
*result
;
36190 char *kwnames
[] = {
36194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
36196 if (!wxPyCheckForApp()) SWIG_fail
;
36197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36198 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
36200 wxPyEndAllowThreads(__tstate
);
36201 if (PyErr_Occurred()) SWIG_fail
;
36203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
36210 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36211 PyObject
*resultobj
= NULL
;
36212 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36213 wxWindow
*arg2
= (wxWindow
*) 0 ;
36214 int arg3
= (int) -1 ;
36215 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
36216 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
36217 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36218 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36219 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36220 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36221 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
36222 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
36223 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
36224 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
36225 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36229 bool temp9
= false ;
36230 PyObject
* obj0
= 0 ;
36231 PyObject
* obj1
= 0 ;
36232 PyObject
* obj2
= 0 ;
36233 PyObject
* obj3
= 0 ;
36234 PyObject
* obj4
= 0 ;
36235 PyObject
* obj5
= 0 ;
36236 PyObject
* obj6
= 0 ;
36237 PyObject
* obj7
= 0 ;
36238 PyObject
* obj8
= 0 ;
36239 char *kwnames
[] = {
36240 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
36244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36245 if (SWIG_arg_fail(1)) SWIG_fail
;
36246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36247 if (SWIG_arg_fail(2)) SWIG_fail
;
36250 arg3
= static_cast<int >(SWIG_As_int(obj2
));
36251 if (SWIG_arg_fail(3)) SWIG_fail
;
36256 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36257 if (SWIG_arg_fail(4)) SWIG_fail
;
36258 if (arg4
== NULL
) {
36259 SWIG_null_ref("wxDateTime");
36261 if (SWIG_arg_fail(4)) SWIG_fail
;
36267 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36273 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36278 arg7
= static_cast<long >(SWIG_As_long(obj6
));
36279 if (SWIG_arg_fail(7)) SWIG_fail
;
36284 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36285 if (SWIG_arg_fail(8)) SWIG_fail
;
36286 if (arg8
== NULL
) {
36287 SWIG_null_ref("wxValidator");
36289 if (SWIG_arg_fail(8)) SWIG_fail
;
36294 arg9
= wxString_in_helper(obj8
);
36295 if (arg9
== NULL
) SWIG_fail
;
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36323 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36324 PyObject
*resultobj
= NULL
;
36325 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36326 wxDateTime
*arg2
= 0 ;
36327 PyObject
* obj0
= 0 ;
36328 PyObject
* obj1
= 0 ;
36329 char *kwnames
[] = {
36330 (char *) "self",(char *) "dt", NULL
36333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
36334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36335 if (SWIG_arg_fail(1)) SWIG_fail
;
36337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36338 if (SWIG_arg_fail(2)) SWIG_fail
;
36339 if (arg2
== NULL
) {
36340 SWIG_null_ref("wxDateTime");
36342 if (SWIG_arg_fail(2)) SWIG_fail
;
36345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36346 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
36348 wxPyEndAllowThreads(__tstate
);
36349 if (PyErr_Occurred()) SWIG_fail
;
36351 Py_INCREF(Py_None
); resultobj
= Py_None
;
36358 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36359 PyObject
*resultobj
= NULL
;
36360 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36362 PyObject
* obj0
= 0 ;
36363 char *kwnames
[] = {
36364 (char *) "self", NULL
36367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
36368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36369 if (SWIG_arg_fail(1)) SWIG_fail
;
36371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36372 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
36374 wxPyEndAllowThreads(__tstate
);
36375 if (PyErr_Occurred()) SWIG_fail
;
36378 wxDateTime
* resultptr
;
36379 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36388 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36389 PyObject
*resultobj
= NULL
;
36390 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36391 wxDateTime
*arg2
= 0 ;
36392 wxDateTime
*arg3
= 0 ;
36393 PyObject
* obj0
= 0 ;
36394 PyObject
* obj1
= 0 ;
36395 PyObject
* obj2
= 0 ;
36396 char *kwnames
[] = {
36397 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36402 if (SWIG_arg_fail(1)) SWIG_fail
;
36404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36405 if (SWIG_arg_fail(2)) SWIG_fail
;
36406 if (arg2
== NULL
) {
36407 SWIG_null_ref("wxDateTime");
36409 if (SWIG_arg_fail(2)) SWIG_fail
;
36412 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36413 if (SWIG_arg_fail(3)) SWIG_fail
;
36414 if (arg3
== NULL
) {
36415 SWIG_null_ref("wxDateTime");
36417 if (SWIG_arg_fail(3)) SWIG_fail
;
36420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36421 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
36423 wxPyEndAllowThreads(__tstate
);
36424 if (PyErr_Occurred()) SWIG_fail
;
36426 Py_INCREF(Py_None
); resultobj
= Py_None
;
36433 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36434 PyObject
*resultobj
= NULL
;
36435 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36437 PyObject
* obj0
= 0 ;
36438 char *kwnames
[] = {
36439 (char *) "self", NULL
36442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
36443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36444 if (SWIG_arg_fail(1)) SWIG_fail
;
36446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36447 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
36449 wxPyEndAllowThreads(__tstate
);
36450 if (PyErr_Occurred()) SWIG_fail
;
36453 wxDateTime
* resultptr
;
36454 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36463 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36464 PyObject
*resultobj
= NULL
;
36465 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36467 PyObject
* obj0
= 0 ;
36468 char *kwnames
[] = {
36469 (char *) "self", NULL
36472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
36473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36474 if (SWIG_arg_fail(1)) SWIG_fail
;
36476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36477 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
36479 wxPyEndAllowThreads(__tstate
);
36480 if (PyErr_Occurred()) SWIG_fail
;
36483 wxDateTime
* resultptr
;
36484 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36493 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
36495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36496 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
36498 return Py_BuildValue((char *)"");
36500 static PyMethodDef SwigMethods
[] = {
36501 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36502 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36503 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36505 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36506 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
36508 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36510 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36511 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36515 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
) _wrap_BitmapButton_GetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36518 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36519 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
36525 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36526 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36527 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36530 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36534 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36535 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
36537 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"Choice_GetCurrentSelection", (PyCFunction
) _wrap_Choice_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36541 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
36543 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36545 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
) _wrap_ComboBox_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36560 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36561 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36562 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36563 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36564 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36565 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36566 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36567 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36568 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36569 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36571 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36572 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36573 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
36575 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36576 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36577 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36578 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36579 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36580 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36584 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
36589 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
36594 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36596 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36600 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
36601 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36606 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
36607 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36608 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36609 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36611 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36612 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36613 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
36615 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36619 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36621 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36622 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36623 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36624 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36630 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
36638 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36645 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
36647 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36649 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36656 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36657 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36658 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36661 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36662 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36669 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36673 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36674 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36677 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
36678 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36681 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36683 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36684 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36689 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36690 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36691 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36716 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36717 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36720 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36725 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
36736 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
36741 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
36753 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
36766 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36775 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36777 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
36778 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
36782 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36786 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36790 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
36800 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
36807 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36819 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36825 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36826 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
36833 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36834 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36836 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36838 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
36841 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36843 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36846 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36847 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36850 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36854 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_GetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
) _wrap_BookCtrlBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36858 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36865 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
36868 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36871 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
36874 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
36885 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
36887 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36889 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36891 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
36892 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
36894 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36898 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
36900 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
36902 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36903 { (char *)"new_PreTreebook", (PyCFunction
) _wrap_new_PreTreebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36904 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"Treebook_InsertPage", (PyCFunction
) _wrap_Treebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36906 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36907 { (char *)"Treebook_AddPage", (PyCFunction
) _wrap_Treebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36909 { (char *)"Treebook_DeletePage", (PyCFunction
) _wrap_Treebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36910 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36911 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36912 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36913 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36914 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
) _wrap_Treebook_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
36916 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36917 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
36918 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"new_PreToolbook", (PyCFunction
) _wrap_new_PreToolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36920 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"Toolbook_GetToolBar", (PyCFunction
) _wrap_Toolbook_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36922 { (char *)"Toolbook_Realize", (PyCFunction
) _wrap_Toolbook_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
36924 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
36926 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36927 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36929 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36930 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36931 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36933 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36935 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36936 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36938 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36939 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36940 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36942 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36943 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36944 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36945 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36946 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36947 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36948 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36952 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36954 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36955 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
36956 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36958 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36959 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36960 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36961 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36962 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36963 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36965 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36967 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36968 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36969 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36970 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36971 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36973 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36974 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36975 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36978 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36979 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36982 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36988 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36989 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36990 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36991 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36993 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36994 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36995 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36996 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36997 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36998 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36999 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37000 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
37001 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37002 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37003 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37004 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37005 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37006 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
37007 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37008 { (char *)"delete_ListItemAttr", (PyCFunction
) _wrap_delete_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37009 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37010 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37011 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37013 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37014 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37015 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37016 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37018 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37019 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
37021 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37022 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37023 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37024 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37025 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37026 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37027 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37028 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37029 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37030 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37031 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37032 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37033 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37034 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37035 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37036 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37037 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37038 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37039 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37040 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37041 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37042 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37043 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37045 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37046 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37047 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37048 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37049 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37050 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37051 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37052 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37053 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37054 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37055 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37056 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37057 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37058 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37059 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37060 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37061 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37062 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37063 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37064 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37065 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37066 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37067 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37068 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37069 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37070 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37071 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37072 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
37073 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37074 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37075 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37076 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37077 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37078 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37079 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37080 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37081 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37082 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37083 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37084 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37085 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37086 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37087 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37088 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37089 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37090 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37091 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37092 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37093 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37094 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37095 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37096 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37097 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37098 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37099 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
37100 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37101 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37102 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37103 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37104 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37105 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37106 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37107 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37108 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37109 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37110 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37111 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37112 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37113 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37114 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37115 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37116 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37117 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37118 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37119 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37120 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37121 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37122 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37123 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37124 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37125 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37126 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37127 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37128 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37129 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37130 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37131 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37132 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37133 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37134 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37135 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37136 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37137 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37138 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37139 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37140 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37141 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37142 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37143 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37144 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37145 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37146 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37147 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37148 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37149 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37150 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37151 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37152 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37153 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37154 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37155 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37156 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37157 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37158 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37159 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37160 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37161 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37162 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37163 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37164 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37165 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37166 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37167 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37168 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37169 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37170 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37171 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37172 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37173 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
37174 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37175 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37176 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37177 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37178 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37179 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37180 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37181 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37182 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37183 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37184 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37185 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
37186 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37187 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37188 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37189 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37190 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37191 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37192 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37193 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
37194 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37195 { (char *)"delete_TreeItemData", (PyCFunction
) _wrap_delete_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37196 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37197 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37198 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37199 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37200 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37201 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
37202 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37203 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37204 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37205 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37206 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37207 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37208 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37209 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37210 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37211 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37212 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37213 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37214 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37215 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37216 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37217 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37218 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
37219 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37220 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37221 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37222 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37223 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37224 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37225 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37226 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37227 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37228 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37229 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37230 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37231 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37232 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37233 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37234 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37235 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37236 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37237 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37238 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37239 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37240 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37241 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37242 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37243 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37244 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37245 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37246 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37247 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37248 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37249 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37250 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37251 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37252 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37253 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37254 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37255 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37256 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37257 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37258 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37259 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37260 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37261 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37262 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37263 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37264 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37265 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37266 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37267 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37268 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37269 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37270 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37271 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37272 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37273 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37274 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37275 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37276 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37277 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37278 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37279 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37280 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37281 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37282 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37283 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37284 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37285 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37286 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37287 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37288 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37289 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37290 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37291 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37292 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37293 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37294 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37295 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37296 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37297 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
37298 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37299 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37300 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37301 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37302 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37303 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37304 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37305 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37306 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37307 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37308 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37309 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37310 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37311 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37312 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37313 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37314 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37315 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37316 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37317 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37318 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37319 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
37320 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37321 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37322 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37323 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37324 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
37325 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37326 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37327 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37328 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37329 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37330 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37331 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37332 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37333 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37334 { (char *)"PyControl_DoGetSize", (PyCFunction
) _wrap_PyControl_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37335 { (char *)"PyControl_DoGetClientSize", (PyCFunction
) _wrap_PyControl_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37336 { (char *)"PyControl_DoGetPosition", (PyCFunction
) _wrap_PyControl_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37337 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37338 { (char *)"PyControl_DoGetBestSize", (PyCFunction
) _wrap_PyControl_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37339 { (char *)"PyControl_InitDialog", (PyCFunction
) _wrap_PyControl_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37340 { (char *)"PyControl_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37341 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37342 { (char *)"PyControl_Validate", (PyCFunction
) _wrap_PyControl_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37343 { (char *)"PyControl_AcceptsFocus", (PyCFunction
) _wrap_PyControl_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37344 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37345 { (char *)"PyControl_GetMaxSize", (PyCFunction
) _wrap_PyControl_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37346 { (char *)"PyControl_AddChild", (PyCFunction
) _wrap_PyControl_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37347 { (char *)"PyControl_RemoveChild", (PyCFunction
) _wrap_PyControl_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37348 { (char *)"PyControl_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37349 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37350 { (char *)"PyControl_OnInternalIdle", (PyCFunction
) _wrap_PyControl_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37351 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
37352 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37353 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37354 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37355 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37356 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37357 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37358 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37359 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
37360 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37361 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37362 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37363 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37364 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
37365 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37366 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
37367 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37368 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37369 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37370 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37371 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37372 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37373 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37374 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37375 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
37376 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37377 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
37378 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37379 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37380 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37381 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37382 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37383 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37384 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37385 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37386 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37387 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37388 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37389 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37390 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37391 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37392 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37393 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37394 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37395 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
37396 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37397 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37398 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37399 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37400 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37401 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37402 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37403 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37404 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
37405 { NULL
, NULL
, 0, NULL
}
37409 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37411 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37414 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37415 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37417 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37418 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37420 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37421 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37423 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37424 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37426 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
37427 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37429 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
37430 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37432 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37433 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37435 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37436 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37438 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37439 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37441 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
37442 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37444 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37445 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37447 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37448 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37450 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
37451 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
37453 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
37454 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37456 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
37457 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37459 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
37460 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37462 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
37463 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37465 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
37466 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37468 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
37469 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
37471 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37472 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37474 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37475 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37477 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37478 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37480 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37481 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37483 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37484 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37486 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37487 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37489 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37490 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37492 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37493 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37495 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37496 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37498 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37499 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37501 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37502 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37504 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37505 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37507 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37508 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37510 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37511 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37513 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37514 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37516 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37517 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37519 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37520 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37522 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37523 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37525 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37526 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37528 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37529 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37531 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37532 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37534 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37535 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37537 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37538 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37540 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37541 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37543 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37544 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37546 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37547 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37549 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
37550 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37552 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
37553 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
37555 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
37556 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37558 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
37559 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
37561 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
37562 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
37564 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
37565 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
37567 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
37568 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37570 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
37571 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
37573 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
37574 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
37576 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
37577 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
37579 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
37580 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
37582 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
37583 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
37585 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
37586 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
37588 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
37589 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
37591 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
37592 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37594 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
37595 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
37597 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
37598 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
37600 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
37601 return (void *)((wxControl
*) ((wxPyControl
*) x
));
37603 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
37604 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
37606 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
37607 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
37609 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
37610 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
37612 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
37613 return (void *)((wxControl
*) ((wxGauge
*) x
));
37615 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
37616 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
37618 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
37619 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37621 static void *_p_wxListbookTo_p_wxControl(void *x
) {
37622 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
37624 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
37625 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
37627 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
37628 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
37630 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
37631 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
37633 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
37634 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
37636 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
37637 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
37639 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
37640 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37642 static void *_p_wxListViewTo_p_wxControl(void *x
) {
37643 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
37645 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
37646 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
37648 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
37649 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
37651 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
37652 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
37654 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
37655 return (void *)((wxControl
*) ((wxStaticText
*) x
));
37657 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
37658 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
37660 static void *_p_wxSliderTo_p_wxControl(void *x
) {
37661 return (void *)((wxControl
*) ((wxSlider
*) x
));
37663 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
37664 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
37666 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
37667 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
37669 static void *_p_wxButtonTo_p_wxControl(void *x
) {
37670 return (void *)((wxControl
*) ((wxButton
*) x
));
37672 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
37673 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
37675 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
37676 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37678 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
37679 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
37681 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
37682 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
37684 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
37685 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
37687 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
37688 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
37690 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
37691 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37693 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
37694 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37696 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
37697 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37699 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
37700 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
37702 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
37703 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37705 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
37706 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37708 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
37709 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37711 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
37712 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37714 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
37715 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37717 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
37718 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37720 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
37721 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37723 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
37724 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
37726 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
37727 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
37729 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
37730 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
37732 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
37733 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
37735 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37736 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37738 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
37739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
37741 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37742 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37744 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37745 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37747 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
37748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
37750 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37751 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37753 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
37754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
37756 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
37757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
37759 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
37760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37762 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37763 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37765 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37766 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37768 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
37769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
37771 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
37772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
37774 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
37775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
37777 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
37778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37780 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
37781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
37783 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37784 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37786 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
37787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
37789 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
37790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
37792 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37795 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
37796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
37798 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
37799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
37801 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
37802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37804 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
37805 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
37807 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
37808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
37810 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
37811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
37813 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
37814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
37816 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
37817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37819 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
37820 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
37822 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
37823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37825 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
37826 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
37828 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
37829 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
37831 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
37832 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
37834 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
37835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
37837 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
37838 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
37840 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
37841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
37843 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
37844 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
37846 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
37847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
37849 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
37850 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
37852 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
37853 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
37855 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
37856 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
37858 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
37859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37861 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
37862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
37864 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
37865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
37867 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
37868 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
37870 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
37871 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
37873 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
37874 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37876 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
37877 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37879 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
37880 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
37882 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37883 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37885 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
37886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37888 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37889 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37891 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37892 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37894 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37897 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37898 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37900 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
37901 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37903 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37904 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37906 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37907 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37909 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37910 return (void *)((wxObject
*) ((wxSizer
*) x
));
37912 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37913 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37915 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
37916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
37918 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
37919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
37921 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37922 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37924 static void *_p_wxEventTo_p_wxObject(void *x
) {
37925 return (void *)((wxObject
*) ((wxEvent
*) x
));
37927 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37928 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37930 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37931 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37933 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37934 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37936 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
37937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
37939 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
37940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
37942 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
37943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37945 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37946 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37948 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37949 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37951 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37952 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37954 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37955 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37957 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37958 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37960 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37961 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37963 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
37964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
37966 static void *_p_wxControlTo_p_wxObject(void *x
) {
37967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37969 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
37970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
37972 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
37973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
37975 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
37976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
37978 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
37979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
37981 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
37982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
37984 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37985 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37987 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
37988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37990 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37991 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37993 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37994 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37996 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
37997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
37999 static void *_p_wxListViewTo_p_wxObject(void *x
) {
38000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
38002 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
38003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
38005 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
38006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
38008 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
38009 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
38011 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
38012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38014 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
38015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
38017 static void *_p_wxListbookTo_p_wxObject(void *x
) {
38018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
38020 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
38021 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
38023 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
38024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
38026 static void *_p_wxSliderTo_p_wxObject(void *x
) {
38027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
38029 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
38030 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
38032 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
38033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
38035 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
38036 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
38038 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
38039 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38041 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
38042 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38044 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
38045 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
38047 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
38048 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
38050 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
38051 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
38053 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
38054 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
38056 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
38057 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
38059 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
38060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
38062 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
38063 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
38065 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
38066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
38068 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
38069 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
38071 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
38072 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
38074 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
38075 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
38077 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
38078 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
38080 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
38081 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
38083 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
38084 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
38086 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
38087 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
38089 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
38090 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
38092 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
38093 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
38095 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
38096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
38098 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
38099 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
38101 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
38102 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
38104 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
38105 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
38107 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
38108 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
38110 static void *_p_wxListEventTo_p_wxObject(void *x
) {
38111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
38113 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
38114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
38116 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
38117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
38119 static void *_p_wxButtonTo_p_wxObject(void *x
) {
38120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
38122 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
38123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
38125 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
38126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
38128 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
38129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
38131 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
38132 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
38134 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
38135 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
38137 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
38138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
38140 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
38141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
38143 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
38144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
38146 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
38147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
38149 static void *_p_wxListItemTo_p_wxObject(void *x
) {
38150 return (void *)((wxObject
*) ((wxListItem
*) x
));
38152 static void *_p_wxImageTo_p_wxObject(void *x
) {
38153 return (void *)((wxObject
*) ((wxImage
*) x
));
38155 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
38156 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
38158 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
38159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
38161 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
38162 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
38164 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
38165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
38167 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
38168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38170 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
38171 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38173 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
38174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38176 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
38177 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38179 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
38180 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38182 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
38183 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38185 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
38186 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38188 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
38189 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
38191 static void *_p_wxWindowTo_p_wxObject(void *x
) {
38192 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
38194 static void *_p_wxMenuTo_p_wxObject(void *x
) {
38195 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
38197 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
38198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
38200 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
38201 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
38203 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
38204 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38206 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
38207 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
38209 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
38210 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
38212 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
38213 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
38215 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
38216 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
38218 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
38219 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
38221 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
38222 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
38224 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
38225 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
38227 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
38228 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38230 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
38231 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
38233 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
38234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
38236 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
38237 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
38239 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
38240 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
38242 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
38243 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38245 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
38246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
38248 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
38249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38251 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
38252 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
38254 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
38255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
38257 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
38258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
38260 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
38261 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
38263 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
38264 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
38266 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
38267 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
38269 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
38270 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
38272 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
38273 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
38275 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
38276 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
38278 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
38279 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
38281 static void *_p_wxControlTo_p_wxWindow(void *x
) {
38282 return (void *)((wxWindow
*) ((wxControl
*) x
));
38284 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
38285 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
38287 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
38288 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
38290 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
38291 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
38293 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
38294 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
38296 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
38297 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
38299 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
38300 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
38302 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
38303 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
38305 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
38306 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
38308 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
38309 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
38311 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
38312 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
38314 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
38315 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
38317 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
38318 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
38320 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
38321 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
38323 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
38324 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
38326 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
38327 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
38329 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
38330 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
38332 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
38333 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
38335 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
38336 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
38338 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
38339 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
38341 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
38342 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
38344 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
38345 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
38347 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
38348 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
38350 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
38351 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
38353 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
38354 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
38356 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
38357 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
38359 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
38360 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
38362 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
38363 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
38365 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
38366 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
38368 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
38369 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
38371 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
38372 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
38374 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
38375 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
38377 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
38378 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
38380 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38381 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38383 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38384 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38386 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38387 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38389 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38390 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38392 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38393 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38395 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
38396 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38398 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
38399 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
38401 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
38402 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
38404 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
38405 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38407 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
38408 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38410 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
38411 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38413 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
38414 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38416 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
38417 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38419 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
38420 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38422 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
38423 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38425 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
38426 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38428 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
38429 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
38431 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
38432 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38434 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
38435 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
38437 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
38438 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
38440 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
38441 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
38443 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
38444 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
38446 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
38447 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
38449 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
38450 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38452 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
38453 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38455 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
38456 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
38458 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
38459 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
38461 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
38462 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
38464 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
38465 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
38467 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
38468 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
38470 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
38471 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
38473 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, 0};
38474 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
38475 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38476 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
38477 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, 0};
38478 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38479 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38480 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38481 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
38482 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38483 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38484 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38485 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38486 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38487 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38488 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, 0};
38489 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38490 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38491 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38492 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38493 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38494 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
38495 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38496 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38497 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38498 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
38499 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38500 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38501 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38502 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
38503 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38504 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38505 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38506 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38507 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
38508 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38509 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38510 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
38511 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38512 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38513 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38514 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38515 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38516 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
38517 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
38518 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
38519 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38520 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38521 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
38522 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
38523 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38524 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38525 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
38526 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
38527 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
38528 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
38529 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
38530 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
38531 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
38532 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38533 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
38534 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38535 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38536 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
38537 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
38538 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38539 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38540 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38541 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
38542 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
38543 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
38544 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
38545 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
38546 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38547 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38548 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38549 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38550 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38551 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38552 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38553 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38554 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38555 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38556 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38557 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38558 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38559 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, 0};
38560 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38561 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38562 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38563 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38564 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38565 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38566 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38567 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
38568 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38569 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
38570 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
38571 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38572 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38573 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
38574 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
38575 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
38576 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
38577 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38578 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
38579 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
38580 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
38581 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
38582 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
38583 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
38584 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
38585 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
38586 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
38587 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
38588 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
38589 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
38590 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
38591 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
38592 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
38593 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
38594 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38595 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38596 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
38597 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
38598 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38599 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38600 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38601 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38602 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38603 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38604 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38605 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38606 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
38607 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38608 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38609 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
38610 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38611 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38612 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38613 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38614 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38615 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38616 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38617 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38618 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
38619 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38620 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38621 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38622 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38623 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38624 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38625 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
38626 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38627 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38628 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
38629 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38630 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
38631 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38632 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
38633 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38634 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38635 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38636 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38637 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38638 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38640 static swig_type_info
*swig_type_initial
[] = {
38643 &_swigt__p_form_ops_t
,
38646 &_swigt__p_unsigned_char
,
38647 &_swigt__p_unsigned_int
,
38648 &_swigt__p_unsigned_long
,
38650 &_swigt__p_wxANIHandler
,
38651 &_swigt__p_wxAcceleratorTable
,
38652 &_swigt__p_wxActivateEvent
,
38653 &_swigt__p_wxArrayInt
,
38654 &_swigt__p_wxArrayString
,
38655 &_swigt__p_wxBMPHandler
,
38656 &_swigt__p_wxBitmap
,
38657 &_swigt__p_wxBitmapButton
,
38658 &_swigt__p_wxBookCtrlBase
,
38659 &_swigt__p_wxBookCtrlBaseEvent
,
38660 &_swigt__p_wxBoxSizer
,
38661 &_swigt__p_wxButton
,
38662 &_swigt__p_wxCURHandler
,
38663 &_swigt__p_wxCheckBox
,
38664 &_swigt__p_wxCheckListBox
,
38665 &_swigt__p_wxChildFocusEvent
,
38666 &_swigt__p_wxChoice
,
38667 &_swigt__p_wxChoicebook
,
38668 &_swigt__p_wxChoicebookEvent
,
38669 &_swigt__p_wxCloseEvent
,
38670 &_swigt__p_wxColour
,
38671 &_swigt__p_wxComboBox
,
38672 &_swigt__p_wxCommandEvent
,
38673 &_swigt__p_wxContextHelp
,
38674 &_swigt__p_wxContextHelpButton
,
38675 &_swigt__p_wxContextMenuEvent
,
38676 &_swigt__p_wxControl
,
38677 &_swigt__p_wxControlWithItems
,
38678 &_swigt__p_wxCursor
,
38680 &_swigt__p_wxDateEvent
,
38681 &_swigt__p_wxDatePickerCtrl
,
38682 &_swigt__p_wxDateTime
,
38683 &_swigt__p_wxDirFilterListCtrl
,
38684 &_swigt__p_wxDisplayChangedEvent
,
38685 &_swigt__p_wxDropFilesEvent
,
38686 &_swigt__p_wxDuplexMode
,
38687 &_swigt__p_wxEraseEvent
,
38688 &_swigt__p_wxEvent
,
38689 &_swigt__p_wxEvtHandler
,
38690 &_swigt__p_wxFSFile
,
38691 &_swigt__p_wxFileSystem
,
38692 &_swigt__p_wxFlexGridSizer
,
38693 &_swigt__p_wxFocusEvent
,
38695 &_swigt__p_wxGBSizerItem
,
38696 &_swigt__p_wxGIFHandler
,
38697 &_swigt__p_wxGauge
,
38698 &_swigt__p_wxGenericDirCtrl
,
38699 &_swigt__p_wxGenericDragImage
,
38700 &_swigt__p_wxGridBagSizer
,
38701 &_swigt__p_wxGridSizer
,
38702 &_swigt__p_wxHelpEvent
,
38703 &_swigt__p_wxHelpProvider
,
38704 &_swigt__p_wxICOHandler
,
38706 &_swigt__p_wxIconizeEvent
,
38707 &_swigt__p_wxIdleEvent
,
38708 &_swigt__p_wxImage
,
38709 &_swigt__p_wxImageHandler
,
38710 &_swigt__p_wxImageList
,
38711 &_swigt__p_wxIndividualLayoutConstraint
,
38712 &_swigt__p_wxInitDialogEvent
,
38713 &_swigt__p_wxItemContainer
,
38714 &_swigt__p_wxJPEGHandler
,
38715 &_swigt__p_wxKeyEvent
,
38716 &_swigt__p_wxLayoutConstraints
,
38717 &_swigt__p_wxListBox
,
38718 &_swigt__p_wxListEvent
,
38719 &_swigt__p_wxListItem
,
38720 &_swigt__p_wxListItemAttr
,
38721 &_swigt__p_wxListView
,
38722 &_swigt__p_wxListbook
,
38723 &_swigt__p_wxListbookEvent
,
38724 &_swigt__p_wxMaximizeEvent
,
38725 &_swigt__p_wxMemoryDC
,
38727 &_swigt__p_wxMenuBar
,
38728 &_swigt__p_wxMenuEvent
,
38729 &_swigt__p_wxMenuItem
,
38730 &_swigt__p_wxMouseCaptureChangedEvent
,
38731 &_swigt__p_wxMouseEvent
,
38732 &_swigt__p_wxMoveEvent
,
38733 &_swigt__p_wxNavigationKeyEvent
,
38734 &_swigt__p_wxNcPaintEvent
,
38735 &_swigt__p_wxNotebook
,
38736 &_swigt__p_wxNotebookEvent
,
38737 &_swigt__p_wxNotifyEvent
,
38738 &_swigt__p_wxObject
,
38739 &_swigt__p_wxPCXHandler
,
38740 &_swigt__p_wxPNGHandler
,
38741 &_swigt__p_wxPNMHandler
,
38742 &_swigt__p_wxPaintEvent
,
38743 &_swigt__p_wxPaletteChangedEvent
,
38744 &_swigt__p_wxPaperSize
,
38745 &_swigt__p_wxPoint
,
38746 &_swigt__p_wxPyApp
,
38747 &_swigt__p_wxPyCommandEvent
,
38748 &_swigt__p_wxPyControl
,
38749 &_swigt__p_wxPyEvent
,
38750 &_swigt__p_wxPyImageHandler
,
38751 &_swigt__p_wxPyListCtrl
,
38752 &_swigt__p_wxPySizer
,
38753 &_swigt__p_wxPyTreeCtrl
,
38754 &_swigt__p_wxPyTreeItemData
,
38755 &_swigt__p_wxPyValidator
,
38756 &_swigt__p_wxQueryNewPaletteEvent
,
38757 &_swigt__p_wxRadioBox
,
38758 &_swigt__p_wxRadioButton
,
38760 &_swigt__p_wxScrollBar
,
38761 &_swigt__p_wxScrollEvent
,
38762 &_swigt__p_wxScrollWinEvent
,
38763 &_swigt__p_wxSetCursorEvent
,
38764 &_swigt__p_wxShowEvent
,
38765 &_swigt__p_wxSimpleHelpProvider
,
38767 &_swigt__p_wxSizeEvent
,
38768 &_swigt__p_wxSizer
,
38769 &_swigt__p_wxSizerItem
,
38770 &_swigt__p_wxSlider
,
38771 &_swigt__p_wxSpinButton
,
38772 &_swigt__p_wxSpinCtrl
,
38773 &_swigt__p_wxSpinEvent
,
38774 &_swigt__p_wxStaticBitmap
,
38775 &_swigt__p_wxStaticBox
,
38776 &_swigt__p_wxStaticBoxSizer
,
38777 &_swigt__p_wxStaticLine
,
38778 &_swigt__p_wxStaticText
,
38779 &_swigt__p_wxStdDialogButtonSizer
,
38780 &_swigt__p_wxString
,
38781 &_swigt__p_wxSysColourChangedEvent
,
38782 &_swigt__p_wxTIFFHandler
,
38783 &_swigt__p_wxTextAttr
,
38784 &_swigt__p_wxTextCtrl
,
38785 &_swigt__p_wxTextUrlEvent
,
38786 &_swigt__p_wxToggleButton
,
38787 &_swigt__p_wxToolBar
,
38788 &_swigt__p_wxToolBarBase
,
38789 &_swigt__p_wxToolBarToolBase
,
38790 &_swigt__p_wxToolbook
,
38791 &_swigt__p_wxToolbookEvent
,
38792 &_swigt__p_wxTreeCtrl
,
38793 &_swigt__p_wxTreeEvent
,
38794 &_swigt__p_wxTreeItemId
,
38795 &_swigt__p_wxTreebook
,
38796 &_swigt__p_wxTreebookEvent
,
38797 &_swigt__p_wxUpdateUIEvent
,
38798 &_swigt__p_wxValidator
,
38799 &_swigt__p_wxVisualAttributes
,
38800 &_swigt__p_wxWindow
,
38801 &_swigt__p_wxWindowCreateEvent
,
38802 &_swigt__p_wxWindowDestroyEvent
,
38803 &_swigt__p_wxXPMHandler
,
38804 &_swigt__ptrdiff_t
,
38805 &_swigt__std__ptrdiff_t
,
38806 &_swigt__unsigned_int
,
38809 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
38810 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
38811 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
38812 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
38813 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
38814 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
38815 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38816 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
38817 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
38818 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
38819 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
38820 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38821 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}};
38822 static swig_cast_info _swigc__p_wxBookCtrlBase
[] = { {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxBookCtrlBase
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxBookCtrlBase
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, 0, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxBookCtrlBase
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxBookCtrlBase
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxBookCtrlBase
, 0, 0},{0, 0, 0, 0}};
38823 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent
[] = { {&_swigt__p_wxBookCtrlBaseEvent
, 0, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxBookCtrlBaseEvent
, 0, 0},{0, 0, 0, 0}};
38824 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}};
38825 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
38826 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
38827 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}};
38828 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
38829 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38830 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
38831 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
38832 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38833 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
38834 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38835 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38836 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38837 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38838 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38839 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38840 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
38841 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
38842 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
38843 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
38844 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}};
38845 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
38846 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
38847 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38848 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
38849 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38850 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
38851 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38852 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38853 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38854 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
38855 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
38856 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38857 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
38858 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38859 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38860 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38861 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38862 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38863 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38864 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38865 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38866 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38867 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38868 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38869 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38870 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38871 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38872 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38873 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38874 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38875 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
38876 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38877 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38878 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38879 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38880 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
38881 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38882 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
38883 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38884 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
38885 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
38886 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}};
38887 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38888 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
38889 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}};
38890 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38891 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}};
38892 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
38893 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
38894 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
38895 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
38896 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
38897 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38898 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
38899 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38900 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
38901 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38902 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38903 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38904 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38905 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38906 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38907 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38908 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38909 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38910 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38911 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38912 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38913 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38914 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38915 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38916 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38917 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38918 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38919 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38920 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38921 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38922 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38923 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38924 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38925 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38926 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38927 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38928 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38929 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38930 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38931 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38932 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38933 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
38934 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38935 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38936 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
38937 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}};
38938 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38939 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
38940 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
38941 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
38942 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38943 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
38944 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
38945 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38946 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
38947 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
38948 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38949 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38950 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38951 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
38952 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
38953 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
38954 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38955 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
38956 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38957 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
38958 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
38959 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
38960 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}};
38961 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
38962 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
38963 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38964 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38965 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38966 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
38967 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
38968 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38969 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}};
38970 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
38971 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
38972 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
38973 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
38974 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38976 static swig_cast_info
*swig_cast_initial
[] = {
38979 _swigc__p_form_ops_t
,
38982 _swigc__p_unsigned_char
,
38983 _swigc__p_unsigned_int
,
38984 _swigc__p_unsigned_long
,
38986 _swigc__p_wxANIHandler
,
38987 _swigc__p_wxAcceleratorTable
,
38988 _swigc__p_wxActivateEvent
,
38989 _swigc__p_wxArrayInt
,
38990 _swigc__p_wxArrayString
,
38991 _swigc__p_wxBMPHandler
,
38992 _swigc__p_wxBitmap
,
38993 _swigc__p_wxBitmapButton
,
38994 _swigc__p_wxBookCtrlBase
,
38995 _swigc__p_wxBookCtrlBaseEvent
,
38996 _swigc__p_wxBoxSizer
,
38997 _swigc__p_wxButton
,
38998 _swigc__p_wxCURHandler
,
38999 _swigc__p_wxCheckBox
,
39000 _swigc__p_wxCheckListBox
,
39001 _swigc__p_wxChildFocusEvent
,
39002 _swigc__p_wxChoice
,
39003 _swigc__p_wxChoicebook
,
39004 _swigc__p_wxChoicebookEvent
,
39005 _swigc__p_wxCloseEvent
,
39006 _swigc__p_wxColour
,
39007 _swigc__p_wxComboBox
,
39008 _swigc__p_wxCommandEvent
,
39009 _swigc__p_wxContextHelp
,
39010 _swigc__p_wxContextHelpButton
,
39011 _swigc__p_wxContextMenuEvent
,
39012 _swigc__p_wxControl
,
39013 _swigc__p_wxControlWithItems
,
39014 _swigc__p_wxCursor
,
39016 _swigc__p_wxDateEvent
,
39017 _swigc__p_wxDatePickerCtrl
,
39018 _swigc__p_wxDateTime
,
39019 _swigc__p_wxDirFilterListCtrl
,
39020 _swigc__p_wxDisplayChangedEvent
,
39021 _swigc__p_wxDropFilesEvent
,
39022 _swigc__p_wxDuplexMode
,
39023 _swigc__p_wxEraseEvent
,
39025 _swigc__p_wxEvtHandler
,
39026 _swigc__p_wxFSFile
,
39027 _swigc__p_wxFileSystem
,
39028 _swigc__p_wxFlexGridSizer
,
39029 _swigc__p_wxFocusEvent
,
39031 _swigc__p_wxGBSizerItem
,
39032 _swigc__p_wxGIFHandler
,
39034 _swigc__p_wxGenericDirCtrl
,
39035 _swigc__p_wxGenericDragImage
,
39036 _swigc__p_wxGridBagSizer
,
39037 _swigc__p_wxGridSizer
,
39038 _swigc__p_wxHelpEvent
,
39039 _swigc__p_wxHelpProvider
,
39040 _swigc__p_wxICOHandler
,
39042 _swigc__p_wxIconizeEvent
,
39043 _swigc__p_wxIdleEvent
,
39045 _swigc__p_wxImageHandler
,
39046 _swigc__p_wxImageList
,
39047 _swigc__p_wxIndividualLayoutConstraint
,
39048 _swigc__p_wxInitDialogEvent
,
39049 _swigc__p_wxItemContainer
,
39050 _swigc__p_wxJPEGHandler
,
39051 _swigc__p_wxKeyEvent
,
39052 _swigc__p_wxLayoutConstraints
,
39053 _swigc__p_wxListBox
,
39054 _swigc__p_wxListEvent
,
39055 _swigc__p_wxListItem
,
39056 _swigc__p_wxListItemAttr
,
39057 _swigc__p_wxListView
,
39058 _swigc__p_wxListbook
,
39059 _swigc__p_wxListbookEvent
,
39060 _swigc__p_wxMaximizeEvent
,
39061 _swigc__p_wxMemoryDC
,
39063 _swigc__p_wxMenuBar
,
39064 _swigc__p_wxMenuEvent
,
39065 _swigc__p_wxMenuItem
,
39066 _swigc__p_wxMouseCaptureChangedEvent
,
39067 _swigc__p_wxMouseEvent
,
39068 _swigc__p_wxMoveEvent
,
39069 _swigc__p_wxNavigationKeyEvent
,
39070 _swigc__p_wxNcPaintEvent
,
39071 _swigc__p_wxNotebook
,
39072 _swigc__p_wxNotebookEvent
,
39073 _swigc__p_wxNotifyEvent
,
39074 _swigc__p_wxObject
,
39075 _swigc__p_wxPCXHandler
,
39076 _swigc__p_wxPNGHandler
,
39077 _swigc__p_wxPNMHandler
,
39078 _swigc__p_wxPaintEvent
,
39079 _swigc__p_wxPaletteChangedEvent
,
39080 _swigc__p_wxPaperSize
,
39083 _swigc__p_wxPyCommandEvent
,
39084 _swigc__p_wxPyControl
,
39085 _swigc__p_wxPyEvent
,
39086 _swigc__p_wxPyImageHandler
,
39087 _swigc__p_wxPyListCtrl
,
39088 _swigc__p_wxPySizer
,
39089 _swigc__p_wxPyTreeCtrl
,
39090 _swigc__p_wxPyTreeItemData
,
39091 _swigc__p_wxPyValidator
,
39092 _swigc__p_wxQueryNewPaletteEvent
,
39093 _swigc__p_wxRadioBox
,
39094 _swigc__p_wxRadioButton
,
39096 _swigc__p_wxScrollBar
,
39097 _swigc__p_wxScrollEvent
,
39098 _swigc__p_wxScrollWinEvent
,
39099 _swigc__p_wxSetCursorEvent
,
39100 _swigc__p_wxShowEvent
,
39101 _swigc__p_wxSimpleHelpProvider
,
39103 _swigc__p_wxSizeEvent
,
39105 _swigc__p_wxSizerItem
,
39106 _swigc__p_wxSlider
,
39107 _swigc__p_wxSpinButton
,
39108 _swigc__p_wxSpinCtrl
,
39109 _swigc__p_wxSpinEvent
,
39110 _swigc__p_wxStaticBitmap
,
39111 _swigc__p_wxStaticBox
,
39112 _swigc__p_wxStaticBoxSizer
,
39113 _swigc__p_wxStaticLine
,
39114 _swigc__p_wxStaticText
,
39115 _swigc__p_wxStdDialogButtonSizer
,
39116 _swigc__p_wxString
,
39117 _swigc__p_wxSysColourChangedEvent
,
39118 _swigc__p_wxTIFFHandler
,
39119 _swigc__p_wxTextAttr
,
39120 _swigc__p_wxTextCtrl
,
39121 _swigc__p_wxTextUrlEvent
,
39122 _swigc__p_wxToggleButton
,
39123 _swigc__p_wxToolBar
,
39124 _swigc__p_wxToolBarBase
,
39125 _swigc__p_wxToolBarToolBase
,
39126 _swigc__p_wxToolbook
,
39127 _swigc__p_wxToolbookEvent
,
39128 _swigc__p_wxTreeCtrl
,
39129 _swigc__p_wxTreeEvent
,
39130 _swigc__p_wxTreeItemId
,
39131 _swigc__p_wxTreebook
,
39132 _swigc__p_wxTreebookEvent
,
39133 _swigc__p_wxUpdateUIEvent
,
39134 _swigc__p_wxValidator
,
39135 _swigc__p_wxVisualAttributes
,
39136 _swigc__p_wxWindow
,
39137 _swigc__p_wxWindowCreateEvent
,
39138 _swigc__p_wxWindowDestroyEvent
,
39139 _swigc__p_wxXPMHandler
,
39141 _swigc__std__ptrdiff_t
,
39142 _swigc__unsigned_int
,
39146 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39148 static swig_const_info swig_const_table
[] = {
39149 {0, 0, 0, 0.0, 0, 0}};
39154 /*************************************************************************
39155 * Type initialization:
39156 * This problem is tough by the requirement that no dynamic
39157 * memory is used. Also, since swig_type_info structures store pointers to
39158 * swig_cast_info structures and swig_cast_info structures store pointers back
39159 * to swig_type_info structures, we need some lookup code at initialization.
39160 * The idea is that swig generates all the structures that are needed.
39161 * The runtime then collects these partially filled structures.
39162 * The SWIG_InitializeModule function takes these initial arrays out of
39163 * swig_module, and does all the lookup, filling in the swig_module.types
39164 * array with the correct data and linking the correct swig_cast_info
39165 * structures together.
39167 * The generated swig_type_info structures are assigned staticly to an initial
39168 * array. We just loop though that array, and handle each type individually.
39169 * First we lookup if this type has been already loaded, and if so, use the
39170 * loaded structure instead of the generated one. Then we have to fill in the
39171 * cast linked list. The cast data is initially stored in something like a
39172 * two-dimensional array. Each row corresponds to a type (there are the same
39173 * number of rows as there are in the swig_type_initial array). Each entry in
39174 * a column is one of the swig_cast_info structures for that type.
39175 * The cast_initial array is actually an array of arrays, because each row has
39176 * a variable number of columns. So to actually build the cast linked list,
39177 * we find the array of casts associated with the type, and loop through it
39178 * adding the casts to the list. The one last trick we need to do is making
39179 * sure the type pointer in the swig_cast_info struct is correct.
39181 * First off, we lookup the cast->type name to see if it is already loaded.
39182 * There are three cases to handle:
39183 * 1) If the cast->type has already been loaded AND the type we are adding
39184 * casting info to has not been loaded (it is in this module), THEN we
39185 * replace the cast->type pointer with the type pointer that has already
39187 * 2) If BOTH types (the one we are adding casting info to, and the
39188 * cast->type) are loaded, THEN the cast info has already been loaded by
39189 * the previous module so we just ignore it.
39190 * 3) Finally, if cast->type has not already been loaded, then we add that
39191 * swig_cast_info to the linked list (because the cast->type) pointer will
39203 #define SWIGRUNTIME_DEBUG
39207 SWIG_InitializeModule(void *clientdata
) {
39209 swig_module_info
*module_head
;
39210 static int init_run
= 0;
39212 clientdata
= clientdata
;
39214 if (init_run
) return;
39217 /* Initialize the swig_module */
39218 swig_module
.type_initial
= swig_type_initial
;
39219 swig_module
.cast_initial
= swig_cast_initial
;
39221 /* Try and load any already created modules */
39222 module_head
= SWIG_GetModule(clientdata
);
39224 swig_module
.next
= module_head
->next
;
39225 module_head
->next
= &swig_module
;
39227 /* This is the first module loaded */
39228 swig_module
.next
= &swig_module
;
39229 SWIG_SetModule(clientdata
, &swig_module
);
39232 /* Now work on filling in swig_module.types */
39233 #ifdef SWIGRUNTIME_DEBUG
39234 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
39236 for (i
= 0; i
< swig_module
.size
; ++i
) {
39237 swig_type_info
*type
= 0;
39238 swig_type_info
*ret
;
39239 swig_cast_info
*cast
;
39241 #ifdef SWIGRUNTIME_DEBUG
39242 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39245 /* if there is another module already loaded */
39246 if (swig_module
.next
!= &swig_module
) {
39247 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
39250 /* Overwrite clientdata field */
39251 #ifdef SWIGRUNTIME_DEBUG
39252 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
39254 if (swig_module
.type_initial
[i
]->clientdata
) {
39255 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
39256 #ifdef SWIGRUNTIME_DEBUG
39257 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
39261 type
= swig_module
.type_initial
[i
];
39264 /* Insert casting types */
39265 cast
= swig_module
.cast_initial
[i
];
39266 while (cast
->type
) {
39267 /* Don't need to add information already in the list */
39269 #ifdef SWIGRUNTIME_DEBUG
39270 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
39272 if (swig_module
.next
!= &swig_module
) {
39273 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
39274 #ifdef SWIGRUNTIME_DEBUG
39275 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
39279 if (type
== swig_module
.type_initial
[i
]) {
39280 #ifdef SWIGRUNTIME_DEBUG
39281 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
39286 /* Check for casting already in the list */
39287 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
39288 #ifdef SWIGRUNTIME_DEBUG
39289 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39291 if (!ocast
) ret
= 0;
39296 #ifdef SWIGRUNTIME_DEBUG
39297 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39300 type
->cast
->prev
= cast
;
39301 cast
->next
= type
->cast
;
39307 /* Set entry in modules->types array equal to the type */
39308 swig_module
.types
[i
] = type
;
39310 swig_module
.types
[i
] = 0;
39312 #ifdef SWIGRUNTIME_DEBUG
39313 printf("**** SWIG_InitializeModule: Cast List ******\n");
39314 for (i
= 0; i
< swig_module
.size
; ++i
) {
39316 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39317 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39318 while (cast
->type
) {
39319 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39323 printf("---- Total casts: %d\n",j
);
39325 printf("**** SWIG_InitializeModule: Cast List ******\n");
39329 /* This function will propagate the clientdata field of type to
39330 * any new swig_type_info structures that have been added into the list
39331 * of equivalent types. It is like calling
39332 * SWIG_TypeClientData(type, clientdata) a second time.
39335 SWIG_PropagateClientData(void) {
39337 swig_cast_info
*equiv
;
39338 static int init_run
= 0;
39340 if (init_run
) return;
39343 for (i
= 0; i
< swig_module
.size
; i
++) {
39344 if (swig_module
.types
[i
]->clientdata
) {
39345 equiv
= swig_module
.types
[i
]->cast
;
39347 if (!equiv
->converter
) {
39348 if (equiv
->type
&& !equiv
->type
->clientdata
)
39349 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
39351 equiv
= equiv
->next
;
39371 /* Python-specific SWIG API */
39372 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39373 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39374 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39376 /* -----------------------------------------------------------------------------
39377 * global variable support code.
39378 * ----------------------------------------------------------------------------- */
39380 typedef struct swig_globalvar
{
39381 char *name
; /* Name of global variable */
39382 PyObject
*(*get_attr
)(void); /* Return the current value */
39383 int (*set_attr
)(PyObject
*); /* Set the value */
39384 struct swig_globalvar
*next
;
39387 typedef struct swig_varlinkobject
{
39389 swig_globalvar
*vars
;
39390 } swig_varlinkobject
;
39392 SWIGINTERN PyObject
*
39393 swig_varlink_repr(swig_varlinkobject
*v
) {
39395 return PyString_FromString("<Swig global variables>");
39399 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
39400 swig_globalvar
*var
;
39402 fprintf(fp
,"Swig global variables { ");
39403 for (var
= v
->vars
; var
; var
=var
->next
) {
39404 fprintf(fp
,"%s", var
->name
);
39405 if (var
->next
) fprintf(fp
,", ");
39407 fprintf(fp
," }\n");
39411 SWIGINTERN PyObject
*
39412 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39413 swig_globalvar
*var
= v
->vars
;
39415 if (strcmp(var
->name
,n
) == 0) {
39416 return (*var
->get_attr
)();
39420 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39425 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39426 swig_globalvar
*var
= v
->vars
;
39428 if (strcmp(var
->name
,n
) == 0) {
39429 return (*var
->set_attr
)(p
);
39433 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39437 SWIGINTERN PyTypeObject
*
39438 swig_varlink_type(void) {
39439 static char varlink__doc__
[] = "Swig var link object";
39440 static PyTypeObject varlink_type
39441 #if !defined(__cplusplus)
39443 static int type_init
= 0;
39448 PyObject_HEAD_INIT(&PyType_Type
)
39449 0, /* Number of items in variable part (ob_size) */
39450 (char *)"swigvarlink", /* Type name (tp_name) */
39451 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39452 0, /* Itemsize (tp_itemsize) */
39453 0, /* Deallocator (tp_dealloc) */
39454 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39455 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39456 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39457 0, /* tp_compare */
39458 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39459 0, /* tp_as_number */
39460 0, /* tp_as_sequence */
39461 0, /* tp_as_mapping */
39465 0, /* tp_getattro */
39466 0, /* tp_setattro */
39467 0, /* tp_as_buffer */
39469 varlink__doc__
, /* tp_doc */
39470 #if PY_VERSION_HEX >= 0x02000000
39471 0, /* tp_traverse */
39474 #if PY_VERSION_HEX >= 0x02010000
39475 0, /* tp_richcompare */
39476 0, /* tp_weaklistoffset */
39478 #if PY_VERSION_HEX >= 0x02020000
39479 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39481 #if PY_VERSION_HEX >= 0x02030000
39484 #ifdef COUNT_ALLOCS
39485 0,0,0,0 /* tp_alloc -> tp_next */
39488 #if !defined(__cplusplus)
39489 varlink_type
= tmp
;
39493 return &varlink_type
;
39496 /* Create a variable linking object for use later */
39497 SWIGINTERN PyObject
*
39498 SWIG_Python_newvarlink(void) {
39499 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39503 return ((PyObject
*) result
);
39507 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39508 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39509 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39511 size_t size
= strlen(name
)+1;
39512 gv
->name
= (char *)malloc(size
);
39514 strncpy(gv
->name
,name
,size
);
39515 gv
->get_attr
= get_attr
;
39516 gv
->set_attr
= set_attr
;
39517 gv
->next
= v
->vars
;
39523 /* -----------------------------------------------------------------------------
39524 * constants/methods manipulation
39525 * ----------------------------------------------------------------------------- */
39527 /* Install Constants */
39529 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39532 for (i
= 0; constants
[i
].type
; ++i
) {
39533 switch(constants
[i
].type
) {
39535 obj
= PyInt_FromLong(constants
[i
].lvalue
);
39537 case SWIG_PY_FLOAT
:
39538 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
39540 case SWIG_PY_STRING
:
39541 if (constants
[i
].pvalue
) {
39542 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
39544 Py_INCREF(Py_None
);
39548 case SWIG_PY_POINTER
:
39549 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39551 case SWIG_PY_BINARY
:
39552 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39559 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
39565 /* -----------------------------------------------------------------------------*/
39566 /* Fix SwigMethods to carry the callback ptrs when needed */
39567 /* -----------------------------------------------------------------------------*/
39570 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39571 swig_const_info
*const_table
,
39572 swig_type_info
**types
,
39573 swig_type_info
**types_initial
) {
39575 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39576 char *c
= methods
[i
].ml_doc
;
39577 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39579 swig_const_info
*ci
= 0;
39580 char *name
= c
+ 10;
39581 for (j
= 0; const_table
[j
].type
; ++j
) {
39582 if (strncmp(const_table
[j
].name
, name
,
39583 strlen(const_table
[j
].name
)) == 0) {
39584 ci
= &(const_table
[j
]);
39589 size_t shift
= (ci
->ptype
) - types
;
39590 swig_type_info
*ty
= types_initial
[shift
];
39591 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39592 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39593 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39596 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39598 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39600 strncpy(buff
, "swig_ptr: ", 10);
39602 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
39603 methods
[i
].ml_doc
= ndoc
;
39611 /* -----------------------------------------------------------------------------*
39612 * Initialize type list
39613 * -----------------------------------------------------------------------------*/
39619 /* -----------------------------------------------------------------------------*
39620 * Partial Init method
39621 * -----------------------------------------------------------------------------*/
39626 SWIGEXPORT
void SWIG_init(void) {
39627 static PyObject
*SWIG_globals
= 0;
39629 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
39631 /* Fix SwigMethods to carry the callback ptrs when needed */
39632 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
39634 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
39635 d
= PyModule_GetDict(m
);
39637 SWIG_InitializeModule(0);
39638 SWIG_InstallConstants(d
,swig_const_table
);
39640 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
39641 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
39643 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT
)));
39646 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP
)));
39649 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT
)));
39652 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM
)));
39655 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK
)));
39658 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT
)));
39661 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW
)));
39663 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
39665 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE
)));
39668 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE
)));
39671 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
39674 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED
)));
39677 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED
)));
39680 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED
)));
39682 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
39683 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
39684 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
39686 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL
)));
39689 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL
)));
39692 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH
)));
39695 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR
)));
39697 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
39698 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
39699 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
39700 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
39701 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
39703 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL
)));
39706 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL
)));
39709 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY
)));
39712 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE
)));
39715 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB
)));
39718 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT
)));
39721 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER
)));
39724 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT
)));
39727 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE
)));
39730 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH
)));
39733 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER
)));
39736 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD
)));
39739 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL
)));
39742 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL
)));
39745 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP
)));
39748 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP
)));
39751 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP
)));
39754 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP
)));
39757 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP
)));
39760 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2
)));
39763 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE
)));
39766 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT
)));
39769 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT
)));
39772 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE
)));
39775 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER
)));
39778 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT
)));
39781 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
39784 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR
)));
39787 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
39790 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE
)));
39793 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE
)));
39796 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT
)));
39799 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC
)));
39802 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
39805 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT
)));
39808 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT
)));
39811 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT
)));
39814 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT
)));
39817 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS
)));
39820 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN
)));
39823 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE
)));
39826 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT
)));
39829 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW
)));
39832 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND
)));
39835 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord
)));
39838 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord
)));
39840 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
39841 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
39842 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
39843 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
39844 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
39845 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
39846 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
39848 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL
)));
39851 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL
)));
39854 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS
)));
39857 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP
)));
39859 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
39860 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
39861 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
39862 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
39864 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL
)));
39867 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL
)));
39870 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS
)));
39873 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS
)));
39876 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS
)));
39879 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT
)));
39882 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP
)));
39885 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT
)));
39888 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM
)));
39891 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH
)));
39894 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE
)));
39897 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE
)));
39899 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
39900 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
39901 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
39903 PyDict_SetItemString(d
,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT
)));
39906 PyDict_SetItemString(d
,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP
)));
39909 PyDict_SetItemString(d
,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM
)));
39912 PyDict_SetItemString(d
,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT
)));
39915 PyDict_SetItemString(d
,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT
)));
39918 PyDict_SetItemString(d
,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK
)));
39921 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH
)));
39924 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP
)));
39927 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT
)));
39930 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT
)));
39933 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM
)));
39936 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE
)));
39939 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME
)));
39942 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE
)));
39945 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON
)));
39948 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL
)));
39951 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM
)));
39953 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
39954 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
39956 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT
)));
39959 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP
)));
39962 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM
)));
39965 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT
)));
39968 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT
)));
39971 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK
)));
39973 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
39974 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
39976 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT
)));
39979 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP
)));
39982 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM
)));
39985 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT
)));
39988 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT
)));
39991 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK
)));
39993 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
39994 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
39995 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
39996 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
39997 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
39998 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
39999 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
40000 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
40002 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON
)));
40005 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR
)));
40008 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL
)));
40011 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL
)));
40014 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL
)));
40017 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS
)));
40020 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT
)));
40023 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE
)));
40026 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS
)));
40029 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT
)));
40032 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER
)));
40035 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN
)));
40038 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT
)));
40041 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT
)));
40043 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
40045 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES
)));
40048 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES
)));
40051 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON
)));
40054 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON
)));
40057 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST
)));
40060 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT
)));
40063 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP
)));
40066 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT
)));
40069 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE
)));
40072 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL
)));
40075 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS
)));
40078 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER
)));
40081 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER
)));
40084 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL
)));
40087 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING
)));
40090 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING
)));
40093 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE
)));
40096 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN
)));
40099 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT
)));
40102 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE
)));
40105 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT
)));
40108 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE
)));
40111 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA
)));
40114 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM
)));
40117 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH
)));
40120 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT
)));
40123 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE
)));
40126 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED
)));
40129 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED
)));
40132 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED
)));
40135 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT
)));
40138 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED
)));
40141 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED
)));
40144 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE
)));
40147 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED
)));
40150 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE
)));
40153 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE
)));
40156 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW
)));
40159 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE
)));
40162 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON
)));
40165 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL
)));
40168 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT
)));
40171 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
40174 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT
)));
40177 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT
)));
40180 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM
)));
40183 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE
)));
40186 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL
)));
40189 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW
)));
40192 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT
)));
40195 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT
)));
40198 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT
)));
40201 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT
)));
40204 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP
)));
40207 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
40210 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT
)));
40213 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT
)));
40216 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE
)));
40219 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER
)));
40222 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE
)));
40225 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER
)));
40228 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS
)));
40231 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON
)));
40234 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL
)));
40237 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP
)));
40240 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN
)));
40243 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT
)));
40246 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT
)));
40248 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
40249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
40250 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
40251 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
40252 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
40253 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
40254 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
40255 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
40256 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
40257 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
40258 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
40259 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
40260 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
40261 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
40262 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
40263 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
40264 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
40265 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
40266 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
40267 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
40269 // Map renamed classes back to their common name for OOR
40270 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
40272 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
40274 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS
)));
40277 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS
)));
40280 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES
)));
40283 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT
)));
40286 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE
)));
40289 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE
)));
40292 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED
)));
40295 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
40298 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS
)));
40301 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT
)));
40304 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES
)));
40307 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT
)));
40310 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE
)));
40313 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS
)));
40316 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS
)));
40319 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS
)));
40322 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal
)));
40325 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected
)));
40328 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded
)));
40331 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded
)));
40334 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max
)));
40337 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE
)));
40340 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW
)));
40343 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE
)));
40346 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON
)));
40349 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON
)));
40352 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT
)));
40355 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL
)));
40358 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT
)));
40361 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
40364 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT
)));
40367 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT
)));
40370 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
40373 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
40376 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM
)));
40378 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
40379 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
40380 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
40381 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
40382 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
40383 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
40384 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
40385 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
40386 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
40387 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
40388 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
40389 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
40390 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
40391 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
40392 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
40393 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
40394 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
40395 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
40396 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
40397 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
40398 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
40400 // Map renamed classes back to their common name for OOR
40401 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40402 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40404 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
40406 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY
)));
40409 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST
)));
40412 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS
)));
40415 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL
)));
40418 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS
)));
40421 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP
)));
40424 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP
)));
40426 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
40427 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
40429 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40431 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
40433 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT
)));
40436 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN
)));
40439 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN
)));
40442 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY
)));
40445 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE
)));