1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_bool swig_types[0]
1435 #define SWIGTYPE_p_char swig_types[1]
1436 #define SWIGTYPE_p_form_ops_t swig_types[2]
1437 #define SWIGTYPE_p_int swig_types[3]
1438 #define SWIGTYPE_p_long swig_types[4]
1439 #define SWIGTYPE_p_unsigned_char swig_types[5]
1440 #define SWIGTYPE_p_unsigned_int swig_types[6]
1441 #define SWIGTYPE_p_unsigned_long swig_types[7]
1442 #define SWIGTYPE_p_void swig_types[8]
1443 #define SWIGTYPE_p_wxANIHandler swig_types[9]
1444 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1445 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
1446 #define SWIGTYPE_p_wxArrayInt swig_types[12]
1447 #define SWIGTYPE_p_wxArrayString swig_types[13]
1448 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
1449 #define SWIGTYPE_p_wxBitmap swig_types[15]
1450 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
1451 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
1452 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
1453 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
1454 #define SWIGTYPE_p_wxButton swig_types[20]
1455 #define SWIGTYPE_p_wxCURHandler swig_types[21]
1456 #define SWIGTYPE_p_wxCheckBox swig_types[22]
1457 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
1458 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
1459 #define SWIGTYPE_p_wxChoice swig_types[25]
1460 #define SWIGTYPE_p_wxChoicebook swig_types[26]
1461 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
1462 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
1463 #define SWIGTYPE_p_wxColour swig_types[29]
1464 #define SWIGTYPE_p_wxComboBox swig_types[30]
1465 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
1466 #define SWIGTYPE_p_wxContextHelp swig_types[32]
1467 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1468 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1469 #define SWIGTYPE_p_wxControl swig_types[35]
1470 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
1471 #define SWIGTYPE_p_wxCursor swig_types[37]
1472 #define SWIGTYPE_p_wxDC swig_types[38]
1473 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1474 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
1475 #define SWIGTYPE_p_wxDateTime swig_types[41]
1476 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
1477 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
1478 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
1479 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
1480 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
1481 #define SWIGTYPE_p_wxEvent swig_types[47]
1482 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
1483 #define SWIGTYPE_p_wxFSFile swig_types[49]
1484 #define SWIGTYPE_p_wxFileSystem swig_types[50]
1485 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
1486 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
1487 #define SWIGTYPE_p_wxFont swig_types[53]
1488 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
1489 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
1490 #define SWIGTYPE_p_wxGauge swig_types[56]
1491 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
1492 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
1493 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
1494 #define SWIGTYPE_p_wxGridSizer swig_types[60]
1495 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
1496 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
1497 #define SWIGTYPE_p_wxICOHandler swig_types[63]
1498 #define SWIGTYPE_p_wxIcon swig_types[64]
1499 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
1500 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
1501 #define SWIGTYPE_p_wxImage swig_types[67]
1502 #define SWIGTYPE_p_wxImageHandler swig_types[68]
1503 #define SWIGTYPE_p_wxImageList swig_types[69]
1504 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
1505 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
1506 #define SWIGTYPE_p_wxItemContainer swig_types[72]
1507 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1508 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
1509 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
1510 #define SWIGTYPE_p_wxListBox swig_types[76]
1511 #define SWIGTYPE_p_wxListEvent swig_types[77]
1512 #define SWIGTYPE_p_wxListItem swig_types[78]
1513 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
1514 #define SWIGTYPE_p_wxListView swig_types[80]
1515 #define SWIGTYPE_p_wxListbook swig_types[81]
1516 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
1517 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
1518 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
1519 #define SWIGTYPE_p_wxMenu swig_types[85]
1520 #define SWIGTYPE_p_wxMenuBar swig_types[86]
1521 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
1522 #define SWIGTYPE_p_wxMenuItem swig_types[88]
1523 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
1524 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
1525 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
1526 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
1527 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
1528 #define SWIGTYPE_p_wxNotebook swig_types[94]
1529 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
1530 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
1531 #define SWIGTYPE_p_wxObject swig_types[97]
1532 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
1533 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
1534 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
1535 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
1536 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
1537 #define SWIGTYPE_p_wxPaperSize swig_types[103]
1538 #define SWIGTYPE_p_wxPoint swig_types[104]
1539 #define SWIGTYPE_p_wxPyApp swig_types[105]
1540 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
1541 #define SWIGTYPE_p_wxPyControl swig_types[107]
1542 #define SWIGTYPE_p_wxPyEvent swig_types[108]
1543 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
1544 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
1545 #define SWIGTYPE_p_wxPySizer swig_types[111]
1546 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
1547 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
1548 #define SWIGTYPE_p_wxPyValidator swig_types[114]
1549 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
1550 #define SWIGTYPE_p_wxRadioBox swig_types[116]
1551 #define SWIGTYPE_p_wxRadioButton swig_types[117]
1552 #define SWIGTYPE_p_wxRect swig_types[118]
1553 #define SWIGTYPE_p_wxScrollBar swig_types[119]
1554 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
1555 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1556 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
1557 #define SWIGTYPE_p_wxShowEvent swig_types[123]
1558 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
1559 #define SWIGTYPE_p_wxSize swig_types[125]
1560 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
1561 #define SWIGTYPE_p_wxSizer swig_types[127]
1562 #define SWIGTYPE_p_wxSizerItem swig_types[128]
1563 #define SWIGTYPE_p_wxSlider swig_types[129]
1564 #define SWIGTYPE_p_wxSpinButton swig_types[130]
1565 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
1566 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
1567 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
1568 #define SWIGTYPE_p_wxStaticBox swig_types[134]
1569 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
1570 #define SWIGTYPE_p_wxStaticLine swig_types[136]
1571 #define SWIGTYPE_p_wxStaticText swig_types[137]
1572 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
1573 #define SWIGTYPE_p_wxString swig_types[139]
1574 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
1575 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
1576 #define SWIGTYPE_p_wxTextAttr swig_types[142]
1577 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
1578 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
1579 #define SWIGTYPE_p_wxToggleButton swig_types[145]
1580 #define SWIGTYPE_p_wxToolBar swig_types[146]
1581 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
1582 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
1583 #define SWIGTYPE_p_wxToolbook swig_types[149]
1584 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
1585 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
1586 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
1587 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
1588 #define SWIGTYPE_p_wxTreebook swig_types[154]
1589 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
1590 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
1591 #define SWIGTYPE_p_wxValidator swig_types[157]
1592 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
1593 #define SWIGTYPE_p_wxWindow swig_types[159]
1594 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
1595 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
1596 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
1597 #define SWIGTYPE_ptrdiff_t swig_types[163]
1598 #define SWIGTYPE_std__ptrdiff_t swig_types[164]
1599 #define SWIGTYPE_unsigned_int swig_types[165]
1600 static swig_type_info
*swig_types
[167];
1601 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
1602 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1603 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1605 /* -------- TYPES TABLE (END) -------- */
1608 /*-----------------------------------------------
1609 @(target):= _controls_.so
1610 ------------------------------------------------*/
1611 #define SWIG_init init_controls_
1613 #define SWIG_name "_controls_"
1615 #include "wx/wxPython/wxPython.h"
1616 #include "wx/wxPython/pyclasses.h"
1618 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1619 static const wxString
wxPyEmptyString(wxEmptyString
);
1620 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1622 const wxArrayString wxPyEmptyStringArray
;
1624 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1626 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1627 #define SWIG_From_int PyInt_FromLong
1635 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1638 if (value
< min_value
) {
1640 PyErr_Format(PyExc_OverflowError
,
1641 "value %ld is less than '%s' minimum %ld",
1642 value
, errmsg
, min_value
);
1645 } else if (value
> max_value
) {
1647 PyErr_Format(PyExc_OverflowError
,
1648 "value %ld is greater than '%s' maximum %ld",
1649 value
, errmsg
, max_value
);
1658 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1660 if (PyNumber_Check(obj
)) {
1661 if (val
) *val
= PyInt_AsLong(obj
);
1665 SWIG_Python_TypeError("number", obj
);
1671 #if INT_MAX != LONG_MAX
1673 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1675 const char* errmsg
= val
? "int" : (char*)0;
1677 if (SWIG_AsVal_long(obj
, &v
)) {
1678 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1679 if (val
) *val
= static_cast<int >(v
);
1688 SWIG_type_error(errmsg
, obj
);
1693 SWIGINTERNINLINE
int
1694 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1696 return SWIG_AsVal_long(obj
,(long*)val
);
1701 SWIGINTERNINLINE
int
1702 SWIG_As_int(PyObject
* obj
)
1705 if (!SWIG_AsVal_int(obj
, &v
)) {
1707 this is needed to make valgrind/purify happier.
1709 memset((void*)&v
, 0, sizeof(int));
1715 SWIGINTERNINLINE
long
1716 SWIG_As_long(PyObject
* obj
)
1719 if (!SWIG_AsVal_long(obj
, &v
)) {
1721 this is needed to make valgrind/purify happier.
1723 memset((void*)&v
, 0, sizeof(long));
1729 SWIGINTERNINLINE
int
1730 SWIG_Check_int(PyObject
* obj
)
1732 return SWIG_AsVal_int(obj
, (int*)0);
1736 SWIGINTERNINLINE
int
1737 SWIG_Check_long(PyObject
* obj
)
1739 return SWIG_AsVal_long(obj
, (long*)0);
1742 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1745 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1747 if (obj
== Py_True
) {
1748 if (val
) *val
= true;
1751 if (obj
== Py_False
) {
1752 if (val
) *val
= false;
1756 if (SWIG_AsVal_int(obj
, &res
)) {
1757 if (val
) *val
= res
? true : false;
1763 SWIG_type_error("bool", obj
);
1769 SWIGINTERNINLINE
bool
1770 SWIG_As_bool(PyObject
* obj
)
1773 if (!SWIG_AsVal_bool(obj
, &v
)) {
1775 this is needed to make valgrind/purify happier.
1777 memset((void*)&v
, 0, sizeof(bool));
1783 SWIGINTERNINLINE
int
1784 SWIG_Check_bool(PyObject
* obj
)
1786 return SWIG_AsVal_bool(obj
, (bool*)0);
1789 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1790 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1792 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1793 #define SWIG_From_long PyInt_FromLong
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
);
1912 static int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
1913 static int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
1914 static int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
1916 #include <wx/slider.h>
1919 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1920 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1922 #if !wxUSE_TOGGLEBTN
1923 // implement dummy items for platforms that don't have this class
1925 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1927 class wxToggleButton
: public wxControl
1930 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1931 const wxPoint
&, const wxSize
&, long,
1932 const wxValidator
&, const wxString
&)
1933 { wxPyRaiseNotImplemented(); }
1936 { wxPyRaiseNotImplemented(); }
1940 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1942 SWIGINTERNINLINE PyObject
*
1943 SWIG_From_unsigned_SS_long(unsigned long value
)
1945 return (value
> LONG_MAX
) ?
1946 PyLong_FromUnsignedLong(value
)
1947 : PyInt_FromLong(static_cast<long >(value
));
1951 #if UINT_MAX < LONG_MAX
1952 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1953 #define SWIG_From_unsigned_SS_int SWIG_From_long
1956 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1957 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1962 SWIGINTERNINLINE
int
1963 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1964 unsigned long max_value
,
1967 if (value
> max_value
) {
1969 PyErr_Format(PyExc_OverflowError
,
1970 "value %lu is greater than '%s' minimum %lu",
1971 value
, errmsg
, max_value
);
1979 #if UINT_MAX != ULONG_MAX
1981 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1983 const char* errmsg
= val
? "unsigned int" : (char*)0;
1985 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1986 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1987 if (val
) *val
= static_cast<unsigned int >(v
);
1994 SWIG_type_error(errmsg
, obj
);
1999 SWIGINTERNINLINE
unsigned int
2000 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2002 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2007 SWIGINTERNINLINE
unsigned int
2008 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2011 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2013 this is needed to make valgrind/purify happier.
2015 memset((void*)&v
, 0, sizeof(unsigned int));
2021 SWIGINTERNINLINE
int
2022 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2024 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2027 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2028 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2029 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2031 Py_INCREF(udata
->m_obj
);
2032 return udata
->m_obj
;
2038 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2039 self
->SetClientData(new wxPyUserData(clientData
));
2041 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
){
2042 wxPyUserData
* udata
= NULL
;
2043 if (clientData
&& clientData
!= Py_None
)
2044 udata
= new wxPyUserData(clientData
);
2045 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2046 shortHelp
, longHelp
, udata
);
2048 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
){
2049 wxPyUserData
* udata
= NULL
;
2050 if (clientData
&& clientData
!= Py_None
)
2051 udata
= new wxPyUserData(clientData
);
2052 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2053 shortHelp
, longHelp
, udata
);
2055 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2056 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2058 Py_INCREF(udata
->m_obj
);
2059 return udata
->m_obj
;
2065 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2066 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2069 #include <wx/listctrl.h>
2071 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2072 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2073 // Python aware sorting function for wxPyListCtrl
2074 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2076 PyObject
* func
= (PyObject
*)funcPtr
;
2077 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2079 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
2080 PyObject
* result
= PyEval_CallObject(func
, args
);
2083 retval
= PyInt_AsLong(result
);
2087 wxPyEndBlockThreads(blocked
);
2091 // C++ Version of a Python aware class
2092 class wxPyListCtrl
: public wxListCtrl
{
2093 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
2095 wxPyListCtrl() : wxListCtrl() {}
2096 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
2100 const wxValidator
& validator
,
2101 const wxString
& name
) :
2102 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2104 bool Create(wxWindow
* parent
, wxWindowID id
,
2108 const wxValidator
& validator
,
2109 const wxString
& name
) {
2110 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
2113 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
2114 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
2116 // use the virtual version to avoid a confusing assert in the base class
2117 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
2118 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
2123 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
2125 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
2126 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
2127 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
2128 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
2131 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
2133 item
.SetMask( wxLIST_MASK_STATE
|
2141 if (self
->GetColumn(col
, item
))
2142 return new wxListItem(item
);
2146 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
2147 wxListItem
* info
= new wxListItem
;
2148 info
->m_itemId
= itemId
;
2150 info
->m_mask
= 0xFFFF;
2151 self
->GetItem(*info
);
2154 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
2156 self
->GetItemPosition(item
, pos
);
2159 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
2161 self
->GetItemRect(item
, rect
, code
);
2165 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
2166 if (!PyCallable_Check(func
))
2168 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
2170 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
2174 return (wxWindow
*)self
->m_mainWin
;
2178 #include <wx/treectrl.h>
2179 #include "wx/wxPython/pytree.h"
2181 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
2182 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
2183 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
2184 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
2185 // C++ version of Python aware wxTreeCtrl
2186 class wxPyTreeCtrl
: public wxTreeCtrl
{
2187 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
2189 wxPyTreeCtrl() : wxTreeCtrl() {}
2190 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
2194 const wxValidator
& validator
,
2195 const wxString
& name
) :
2196 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2198 bool Create(wxWindow
*parent
, wxWindowID id
,
2202 const wxValidator
& validator
,
2203 const wxString
& name
) {
2204 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
2208 int OnCompareItems(const wxTreeItemId
& item1
,
2209 const wxTreeItemId
& item2
) {
2212 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2213 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
2214 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
2215 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
2216 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
2220 wxPyEndBlockThreads(blocked
);
2222 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
2228 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
2231 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2232 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2234 data
= new wxPyTreeItemData();
2235 data
->SetId(item
); // set the id
2236 self
->SetItemData(item
, data
);
2240 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2241 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2243 data
= new wxPyTreeItemData();
2244 data
->SetId(item
); // set the id
2245 self
->SetItemData(item
, data
);
2247 return data
->GetData();
2249 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2250 data
->SetId(item
); // set the id
2251 self
->SetItemData(item
, data
);
2253 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2254 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2256 data
= new wxPyTreeItemData(obj
);
2257 data
->SetId(item
); // set the id
2258 self
->SetItemData(item
, data
);
2262 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2263 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2264 PyObject
* rval
= PyList_New(0);
2265 wxArrayTreeItemIds array
;
2267 num
= self
->GetSelections(array
);
2268 for (x
=0; x
< num
; x
++) {
2269 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2270 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2271 PyList_Append(rval
, item
);
2274 wxPyEndBlockThreads(blocked
);
2277 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2279 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2280 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2281 PyObject
* tup
= PyTuple_New(2);
2282 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2283 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2284 wxPyEndBlockThreads(blocked
);
2287 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2288 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2289 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2290 PyObject
* tup
= PyTuple_New(2);
2291 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2292 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2293 wxPyEndBlockThreads(blocked
);
2296 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2298 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2299 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2300 wxRect
* r
= new wxRect(rect
);
2301 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2302 wxPyEndBlockThreads(blocked
);
2308 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2310 SWIGINTERNINLINE PyObject
*
2311 SWIG_From_bool(bool value
)
2313 PyObject
*obj
= value
? Py_True
: Py_False
;
2319 // C++ version of Python aware wxControl
2320 class wxPyControl
: public wxControl
2322 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2324 wxPyControl() : wxControl() {}
2325 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2326 const wxPoint
& pos
= wxDefaultPosition
,
2327 const wxSize
& size
= wxDefaultSize
,
2329 const wxValidator
& validator
=wxDefaultValidator
,
2330 const wxString
& name
= wxPyControlNameStr
)
2331 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2333 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2335 bool DoEraseBackground(wxDC
* dc
) {
2337 return wxWindow::DoEraseBackground(dc
->GetHDC());
2339 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2345 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2346 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2347 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2348 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2350 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2351 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2352 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2354 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2355 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2357 DEC_PYCALLBACK__(InitDialog
);
2358 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2359 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2360 DEC_PYCALLBACK_BOOL_(Validate
);
2362 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2363 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2364 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2366 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2367 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2369 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2370 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2372 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2374 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2379 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2381 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2382 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2383 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2384 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2386 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2387 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2388 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2390 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2391 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2393 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2394 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2395 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2396 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2398 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2399 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2400 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2402 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2403 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2405 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2406 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2408 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2410 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
2414 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2416 #include <wx/generic/dragimgg.h>
2418 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2419 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2421 self
->GetRange(&rv
, NULL
);
2424 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2426 self
->GetRange(NULL
, &rv
);
2432 static int _wrap_ButtonNameStr_set(PyObject
*) {
2433 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2438 static PyObject
*_wrap_ButtonNameStr_get(void) {
2439 PyObject
*pyobj
= NULL
;
2443 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2445 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2452 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
= NULL
;
2454 wxWindow
*arg1
= (wxWindow
*) 0 ;
2455 int arg2
= (int) -1 ;
2456 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2462 long arg6
= (long) 0 ;
2463 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2464 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2465 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2468 bool temp3
= false ;
2471 bool temp8
= false ;
2472 PyObject
* obj0
= 0 ;
2473 PyObject
* obj1
= 0 ;
2474 PyObject
* obj2
= 0 ;
2475 PyObject
* obj3
= 0 ;
2476 PyObject
* obj4
= 0 ;
2477 PyObject
* obj5
= 0 ;
2478 PyObject
* obj6
= 0 ;
2479 PyObject
* obj7
= 0 ;
2481 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2486 if (SWIG_arg_fail(1)) SWIG_fail
;
2489 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2490 if (SWIG_arg_fail(2)) SWIG_fail
;
2495 arg3
= wxString_in_helper(obj2
);
2496 if (arg3
== NULL
) SWIG_fail
;
2503 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2509 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2514 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2515 if (SWIG_arg_fail(6)) SWIG_fail
;
2520 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2521 if (SWIG_arg_fail(7)) SWIG_fail
;
2523 SWIG_null_ref("wxValidator");
2525 if (SWIG_arg_fail(7)) SWIG_fail
;
2530 arg8
= wxString_in_helper(obj7
);
2531 if (arg8
== NULL
) SWIG_fail
;
2536 if (!wxPyCheckForApp()) SWIG_fail
;
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2566 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
= NULL
;
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2575 if (!wxPyCheckForApp()) SWIG_fail
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 result
= (wxButton
*)new wxButton();
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2589 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
*resultobj
= NULL
;
2591 wxButton
*arg1
= (wxButton
*) 0 ;
2592 wxWindow
*arg2
= (wxWindow
*) 0 ;
2593 int arg3
= (int) -1 ;
2594 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2595 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2596 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2597 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2598 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2599 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2600 long arg7
= (long) 0 ;
2601 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2602 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2603 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2604 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2606 bool temp4
= false ;
2609 bool temp9
= false ;
2610 PyObject
* obj0
= 0 ;
2611 PyObject
* obj1
= 0 ;
2612 PyObject
* obj2
= 0 ;
2613 PyObject
* obj3
= 0 ;
2614 PyObject
* obj4
= 0 ;
2615 PyObject
* obj5
= 0 ;
2616 PyObject
* obj6
= 0 ;
2617 PyObject
* obj7
= 0 ;
2618 PyObject
* obj8
= 0 ;
2620 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2625 if (SWIG_arg_fail(1)) SWIG_fail
;
2626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2627 if (SWIG_arg_fail(2)) SWIG_fail
;
2630 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2631 if (SWIG_arg_fail(3)) SWIG_fail
;
2636 arg4
= wxString_in_helper(obj3
);
2637 if (arg4
== NULL
) SWIG_fail
;
2644 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2650 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2655 arg7
= static_cast<long >(SWIG_As_long(obj6
));
2656 if (SWIG_arg_fail(7)) SWIG_fail
;
2661 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2662 if (SWIG_arg_fail(8)) SWIG_fail
;
2664 SWIG_null_ref("wxValidator");
2666 if (SWIG_arg_fail(8)) SWIG_fail
;
2671 arg9
= wxString_in_helper(obj8
);
2672 if (arg9
== NULL
) SWIG_fail
;
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2708 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
= NULL
;
2710 wxButton
*arg1
= (wxButton
*) 0 ;
2711 PyObject
* obj0
= 0 ;
2713 (char *) "self", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 (arg1
)->SetDefault();
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
= NULL
;
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 result
= wxButton::GetDefaultSize();
2745 wxPyEndAllowThreads(__tstate
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2750 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
2751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2759 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
= NULL
;
2761 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2762 wxVisualAttributes result
;
2763 PyObject
* obj0
= 0 ;
2765 (char *) "variant", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2771 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
2772 if (SWIG_arg_fail(1)) SWIG_fail
;
2776 if (!wxPyCheckForApp()) SWIG_fail
;
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 result
= wxButton::GetClassDefaultAttributes(arg1
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2784 wxVisualAttributes
* resultptr
;
2785 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
2786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2794 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2797 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2799 return Py_BuildValue((char *)"");
2801 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
= NULL
;
2803 wxWindow
*arg1
= (wxWindow
*) 0 ;
2804 int arg2
= (int) -1 ;
2805 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2806 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2811 long arg6
= (long) wxBU_AUTODRAW
;
2812 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2813 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2814 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2815 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2816 wxBitmapButton
*result
;
2819 bool temp8
= false ;
2820 PyObject
* obj0
= 0 ;
2821 PyObject
* obj1
= 0 ;
2822 PyObject
* obj2
= 0 ;
2823 PyObject
* obj3
= 0 ;
2824 PyObject
* obj4
= 0 ;
2825 PyObject
* obj5
= 0 ;
2826 PyObject
* obj6
= 0 ;
2827 PyObject
* obj7
= 0 ;
2829 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2834 if (SWIG_arg_fail(1)) SWIG_fail
;
2837 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2838 if (SWIG_arg_fail(2)) SWIG_fail
;
2843 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2844 if (SWIG_arg_fail(3)) SWIG_fail
;
2846 SWIG_null_ref("wxBitmap");
2848 if (SWIG_arg_fail(3)) SWIG_fail
;
2854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2860 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2865 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2866 if (SWIG_arg_fail(6)) SWIG_fail
;
2871 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2872 if (SWIG_arg_fail(7)) SWIG_fail
;
2874 SWIG_null_ref("wxValidator");
2876 if (SWIG_arg_fail(7)) SWIG_fail
;
2881 arg8
= wxString_in_helper(obj7
);
2882 if (arg8
== NULL
) SWIG_fail
;
2887 if (!wxPyCheckForApp()) SWIG_fail
;
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2889 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2909 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
= NULL
;
2911 wxBitmapButton
*result
;
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2918 if (!wxPyCheckForApp()) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= (wxBitmapButton
*)new wxBitmapButton();
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2932 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
*resultobj
= NULL
;
2934 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2935 wxWindow
*arg2
= (wxWindow
*) 0 ;
2936 int arg3
= (int) -1 ;
2937 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2938 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2939 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2940 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2941 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2942 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2943 long arg7
= (long) wxBU_AUTODRAW
;
2944 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2945 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2946 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2947 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2951 bool temp9
= false ;
2952 PyObject
* obj0
= 0 ;
2953 PyObject
* obj1
= 0 ;
2954 PyObject
* obj2
= 0 ;
2955 PyObject
* obj3
= 0 ;
2956 PyObject
* obj4
= 0 ;
2957 PyObject
* obj5
= 0 ;
2958 PyObject
* obj6
= 0 ;
2959 PyObject
* obj7
= 0 ;
2960 PyObject
* obj8
= 0 ;
2962 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2967 if (SWIG_arg_fail(1)) SWIG_fail
;
2968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2969 if (SWIG_arg_fail(2)) SWIG_fail
;
2972 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2973 if (SWIG_arg_fail(3)) SWIG_fail
;
2978 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2979 if (SWIG_arg_fail(4)) SWIG_fail
;
2981 SWIG_null_ref("wxBitmap");
2983 if (SWIG_arg_fail(4)) SWIG_fail
;
2989 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2995 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3000 arg7
= static_cast<long >(SWIG_As_long(obj6
));
3001 if (SWIG_arg_fail(7)) SWIG_fail
;
3006 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3007 if (SWIG_arg_fail(8)) SWIG_fail
;
3009 SWIG_null_ref("wxValidator");
3011 if (SWIG_arg_fail(8)) SWIG_fail
;
3016 arg9
= wxString_in_helper(obj8
);
3017 if (arg9
== NULL
) SWIG_fail
;
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3045 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
= NULL
;
3047 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3049 PyObject
* obj0
= 0 ;
3051 (char *) "self", NULL
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
3055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3056 if (SWIG_arg_fail(1)) SWIG_fail
;
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 result
= (arg1
)->GetBitmapLabel();
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3065 wxBitmap
* resultptr
;
3066 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3075 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
= NULL
;
3077 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3081 (char *) "self", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
3085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3086 if (SWIG_arg_fail(1)) SWIG_fail
;
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 result
= (arg1
)->GetBitmapDisabled();
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3095 wxBitmap
* resultptr
;
3096 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3105 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
*resultobj
= NULL
;
3107 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3109 PyObject
* obj0
= 0 ;
3111 (char *) "self", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
3115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3116 if (SWIG_arg_fail(1)) SWIG_fail
;
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 result
= (arg1
)->GetBitmapFocus();
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3125 wxBitmap
* resultptr
;
3126 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3135 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
= NULL
;
3137 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3141 (char *) "self", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
3145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3146 if (SWIG_arg_fail(1)) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 result
= (arg1
)->GetBitmapSelected();
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 wxBitmap
* resultptr
;
3156 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3165 static PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
= NULL
;
3167 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3169 PyObject
* obj0
= 0 ;
3171 (char *) "self", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapHover",kwnames
,&obj0
)) goto fail
;
3175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 result
= (arg1
)->GetBitmapHover();
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3185 wxBitmap
* resultptr
;
3186 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
3187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3195 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
= NULL
;
3197 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3198 wxBitmap
*arg2
= 0 ;
3199 PyObject
* obj0
= 0 ;
3200 PyObject
* obj1
= 0 ;
3202 (char *) "self",(char *) "bitmap", NULL
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3207 if (SWIG_arg_fail(1)) SWIG_fail
;
3209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3210 if (SWIG_arg_fail(2)) SWIG_fail
;
3212 SWIG_null_ref("wxBitmap");
3214 if (SWIG_arg_fail(2)) SWIG_fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 Py_INCREF(Py_None
); resultobj
= Py_None
;
3230 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
= NULL
;
3232 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3233 wxBitmap
*arg2
= 0 ;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3237 (char *) "self",(char *) "bitmap", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3242 if (SWIG_arg_fail(1)) SWIG_fail
;
3244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3245 if (SWIG_arg_fail(2)) SWIG_fail
;
3247 SWIG_null_ref("wxBitmap");
3249 if (SWIG_arg_fail(2)) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 Py_INCREF(Py_None
); resultobj
= Py_None
;
3265 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
= NULL
;
3267 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3268 wxBitmap
*arg2
= 0 ;
3269 PyObject
* obj0
= 0 ;
3270 PyObject
* obj1
= 0 ;
3272 (char *) "self",(char *) "bitmap", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3277 if (SWIG_arg_fail(1)) SWIG_fail
;
3279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3280 if (SWIG_arg_fail(2)) SWIG_fail
;
3282 SWIG_null_ref("wxBitmap");
3284 if (SWIG_arg_fail(2)) SWIG_fail
;
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3293 Py_INCREF(Py_None
); resultobj
= Py_None
;
3300 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
= NULL
;
3302 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3303 wxBitmap
*arg2
= 0 ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3307 (char *) "self",(char *) "bitmap", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3312 if (SWIG_arg_fail(1)) SWIG_fail
;
3314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3315 if (SWIG_arg_fail(2)) SWIG_fail
;
3317 SWIG_null_ref("wxBitmap");
3319 if (SWIG_arg_fail(2)) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 Py_INCREF(Py_None
); resultobj
= Py_None
;
3335 static PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
= NULL
;
3337 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3338 wxBitmap
*arg2
= 0 ;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "self",(char *) "hover", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3347 if (SWIG_arg_fail(1)) SWIG_fail
;
3349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3350 if (SWIG_arg_fail(2)) SWIG_fail
;
3352 SWIG_null_ref("wxBitmap");
3354 if (SWIG_arg_fail(2)) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 Py_INCREF(Py_None
); resultobj
= Py_None
;
3370 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
= NULL
;
3372 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3377 PyObject
* obj2
= 0 ;
3379 (char *) "self",(char *) "x",(char *) "y", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3384 if (SWIG_arg_fail(1)) SWIG_fail
;
3386 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3387 if (SWIG_arg_fail(2)) SWIG_fail
;
3390 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3391 if (SWIG_arg_fail(3)) SWIG_fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 (arg1
)->SetMargins(arg2
,arg3
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 Py_INCREF(Py_None
); resultobj
= Py_None
;
3407 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
= NULL
;
3409 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3413 (char *) "self", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3418 if (SWIG_arg_fail(1)) SWIG_fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= SWIG_From_int(static_cast<int >(result
));
3435 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
*resultobj
= NULL
;
3437 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3439 PyObject
* obj0
= 0 ;
3441 (char *) "self", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3455 resultobj
= SWIG_From_int(static_cast<int >(result
));
3463 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3466 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3468 return Py_BuildValue((char *)"");
3470 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3471 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3476 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3477 PyObject
*pyobj
= NULL
;
3481 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3483 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3490 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
= NULL
;
3492 wxWindow
*arg1
= (wxWindow
*) 0 ;
3493 int arg2
= (int) -1 ;
3494 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3495 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3496 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3497 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3498 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3499 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3500 long arg6
= (long) 0 ;
3501 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3502 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3503 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3504 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3506 bool temp3
= false ;
3509 bool temp8
= false ;
3510 PyObject
* obj0
= 0 ;
3511 PyObject
* obj1
= 0 ;
3512 PyObject
* obj2
= 0 ;
3513 PyObject
* obj3
= 0 ;
3514 PyObject
* obj4
= 0 ;
3515 PyObject
* obj5
= 0 ;
3516 PyObject
* obj6
= 0 ;
3517 PyObject
* obj7
= 0 ;
3519 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3524 if (SWIG_arg_fail(1)) SWIG_fail
;
3527 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3528 if (SWIG_arg_fail(2)) SWIG_fail
;
3533 arg3
= wxString_in_helper(obj2
);
3534 if (arg3
== NULL
) SWIG_fail
;
3541 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3547 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3552 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3553 if (SWIG_arg_fail(6)) SWIG_fail
;
3558 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3559 if (SWIG_arg_fail(7)) SWIG_fail
;
3561 SWIG_null_ref("wxValidator");
3563 if (SWIG_arg_fail(7)) SWIG_fail
;
3568 arg8
= wxString_in_helper(obj7
);
3569 if (arg8
== NULL
) SWIG_fail
;
3574 if (!wxPyCheckForApp()) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3604 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
= NULL
;
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3613 if (!wxPyCheckForApp()) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (wxCheckBox
*)new wxCheckBox();
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3627 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
= NULL
;
3629 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3630 wxWindow
*arg2
= (wxWindow
*) 0 ;
3631 int arg3
= (int) -1 ;
3632 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3633 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3634 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3635 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3636 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3637 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3638 long arg7
= (long) 0 ;
3639 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3640 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3641 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3642 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3644 bool temp4
= false ;
3647 bool temp9
= false ;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3650 PyObject
* obj2
= 0 ;
3651 PyObject
* obj3
= 0 ;
3652 PyObject
* obj4
= 0 ;
3653 PyObject
* obj5
= 0 ;
3654 PyObject
* obj6
= 0 ;
3655 PyObject
* obj7
= 0 ;
3656 PyObject
* obj8
= 0 ;
3658 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail
;
3664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3665 if (SWIG_arg_fail(2)) SWIG_fail
;
3668 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3669 if (SWIG_arg_fail(3)) SWIG_fail
;
3674 arg4
= wxString_in_helper(obj3
);
3675 if (arg4
== NULL
) SWIG_fail
;
3682 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3688 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3693 arg7
= static_cast<long >(SWIG_As_long(obj6
));
3694 if (SWIG_arg_fail(7)) SWIG_fail
;
3699 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3700 if (SWIG_arg_fail(8)) SWIG_fail
;
3702 SWIG_null_ref("wxValidator");
3704 if (SWIG_arg_fail(8)) SWIG_fail
;
3709 arg9
= wxString_in_helper(obj8
);
3710 if (arg9
== NULL
) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3746 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
= NULL
;
3748 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3750 PyObject
* obj0
= 0 ;
3752 (char *) "self", NULL
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3757 if (SWIG_arg_fail(1)) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 result
= (bool)(arg1
)->GetValue();
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3774 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
= NULL
;
3776 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3785 if (SWIG_arg_fail(1)) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (bool)(arg1
)->IsChecked();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3802 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
= NULL
;
3804 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3806 PyObject
* obj0
= 0 ;
3807 PyObject
* obj1
= 0 ;
3809 (char *) "self",(char *) "state", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3814 if (SWIG_arg_fail(1)) SWIG_fail
;
3816 arg2
= static_cast<bool const >(SWIG_As_bool(obj1
));
3817 if (SWIG_arg_fail(2)) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 (arg1
)->SetValue(arg2
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 Py_INCREF(Py_None
); resultobj
= Py_None
;
3833 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
= NULL
;
3835 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3836 wxCheckBoxState result
;
3837 PyObject
* obj0
= 0 ;
3839 (char *) "self", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3844 if (SWIG_arg_fail(1)) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_From_int((result
));
3859 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
= NULL
;
3861 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3862 wxCheckBoxState arg2
;
3863 PyObject
* obj0
= 0 ;
3864 PyObject
* obj1
= 0 ;
3866 (char *) "self",(char *) "state", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3871 if (SWIG_arg_fail(1)) SWIG_fail
;
3873 arg2
= static_cast<wxCheckBoxState
>(SWIG_As_int(obj1
));
3874 if (SWIG_arg_fail(2)) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 (arg1
)->Set3StateValue(arg2
);
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3883 Py_INCREF(Py_None
); resultobj
= Py_None
;
3890 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
= NULL
;
3892 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3894 PyObject
* obj0
= 0 ;
3896 (char *) "self", NULL
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3901 if (SWIG_arg_fail(1)) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3918 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
= NULL
;
3920 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3922 PyObject
* obj0
= 0 ;
3924 (char *) "self", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3929 if (SWIG_arg_fail(1)) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3946 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
= NULL
;
3948 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3949 wxVisualAttributes result
;
3950 PyObject
* obj0
= 0 ;
3952 (char *) "variant", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3958 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3959 if (SWIG_arg_fail(1)) SWIG_fail
;
3963 if (!wxPyCheckForApp()) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3971 wxVisualAttributes
* resultptr
;
3972 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3981 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3984 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3986 return Py_BuildValue((char *)"");
3988 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3989 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3994 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3995 PyObject
*pyobj
= NULL
;
3999 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
4001 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
4008 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
= NULL
;
4010 wxWindow
*arg1
= (wxWindow
*) 0 ;
4011 int arg2
= (int) -1 ;
4012 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4013 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4014 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4015 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4016 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4017 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4018 long arg6
= (long) 0 ;
4019 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4020 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4021 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
4022 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4026 bool temp5
= false ;
4027 bool temp8
= false ;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4030 PyObject
* obj2
= 0 ;
4031 PyObject
* obj3
= 0 ;
4032 PyObject
* obj4
= 0 ;
4033 PyObject
* obj5
= 0 ;
4034 PyObject
* obj6
= 0 ;
4035 PyObject
* obj7
= 0 ;
4037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4042 if (SWIG_arg_fail(1)) SWIG_fail
;
4045 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4046 if (SWIG_arg_fail(2)) SWIG_fail
;
4052 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4058 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4063 if (! PySequence_Check(obj4
)) {
4064 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4067 arg5
= new wxArrayString
;
4069 int i
, len
=PySequence_Length(obj4
);
4070 for (i
=0; i
<len
; i
++) {
4071 PyObject
* item
= PySequence_GetItem(obj4
, i
);
4072 wxString
* s
= wxString_in_helper(item
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4082 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4083 if (SWIG_arg_fail(6)) SWIG_fail
;
4088 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4089 if (SWIG_arg_fail(7)) SWIG_fail
;
4091 SWIG_null_ref("wxValidator");
4093 if (SWIG_arg_fail(7)) SWIG_fail
;
4098 arg8
= wxString_in_helper(obj7
);
4099 if (arg8
== NULL
) SWIG_fail
;
4104 if (!wxPyCheckForApp()) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
4113 if (temp5
) delete arg5
;
4122 if (temp5
) delete arg5
;
4132 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
= NULL
;
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
4141 if (!wxPyCheckForApp()) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxChoice
*)new wxChoice();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
4155 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= NULL
;
4157 wxChoice
*arg1
= (wxChoice
*) 0 ;
4158 wxWindow
*arg2
= (wxWindow
*) 0 ;
4159 int arg3
= (int) -1 ;
4160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4164 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4165 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4166 long arg7
= (long) 0 ;
4167 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4168 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4169 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
4170 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4174 bool temp6
= false ;
4175 bool temp9
= false ;
4176 PyObject
* obj0
= 0 ;
4177 PyObject
* obj1
= 0 ;
4178 PyObject
* obj2
= 0 ;
4179 PyObject
* obj3
= 0 ;
4180 PyObject
* obj4
= 0 ;
4181 PyObject
* obj5
= 0 ;
4182 PyObject
* obj6
= 0 ;
4183 PyObject
* obj7
= 0 ;
4184 PyObject
* obj8
= 0 ;
4186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4191 if (SWIG_arg_fail(1)) SWIG_fail
;
4192 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4193 if (SWIG_arg_fail(2)) SWIG_fail
;
4196 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4197 if (SWIG_arg_fail(3)) SWIG_fail
;
4203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4214 if (! PySequence_Check(obj5
)) {
4215 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4218 arg6
= new wxArrayString
;
4220 int i
, len
=PySequence_Length(obj5
);
4221 for (i
=0; i
<len
; i
++) {
4222 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4223 wxString
* s
= wxString_in_helper(item
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4233 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4234 if (SWIG_arg_fail(7)) SWIG_fail
;
4239 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4240 if (SWIG_arg_fail(8)) SWIG_fail
;
4242 SWIG_null_ref("wxValidator");
4244 if (SWIG_arg_fail(8)) SWIG_fail
;
4249 arg9
= wxString_in_helper(obj8
);
4250 if (arg9
== NULL
) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4265 if (temp6
) delete arg6
;
4274 if (temp6
) delete arg6
;
4284 static PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
= NULL
;
4286 wxChoice
*arg1
= (wxChoice
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_From_int(static_cast<int >(result
));
4312 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
= NULL
;
4314 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4315 wxVisualAttributes result
;
4316 PyObject
* obj0
= 0 ;
4318 (char *) "variant", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4324 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4325 if (SWIG_arg_fail(1)) SWIG_fail
;
4329 if (!wxPyCheckForApp()) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= wxChoice::GetClassDefaultAttributes(arg1
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4337 wxVisualAttributes
* resultptr
;
4338 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4347 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4350 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4352 return Py_BuildValue((char *)"");
4354 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4355 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4360 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4361 PyObject
*pyobj
= NULL
;
4365 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4367 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4374 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
= NULL
;
4376 wxWindow
*arg1
= (wxWindow
*) 0 ;
4377 int arg2
= (int) -1 ;
4378 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4379 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4380 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4381 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4382 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4383 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4384 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4385 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4386 long arg7
= (long) 0 ;
4387 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4388 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4389 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4390 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4392 bool temp3
= false ;
4395 bool temp6
= false ;
4396 bool temp9
= false ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 PyObject
* obj3
= 0 ;
4401 PyObject
* obj4
= 0 ;
4402 PyObject
* obj5
= 0 ;
4403 PyObject
* obj6
= 0 ;
4404 PyObject
* obj7
= 0 ;
4405 PyObject
* obj8
= 0 ;
4407 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4412 if (SWIG_arg_fail(1)) SWIG_fail
;
4415 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4416 if (SWIG_arg_fail(2)) SWIG_fail
;
4421 arg3
= wxString_in_helper(obj2
);
4422 if (arg3
== NULL
) SWIG_fail
;
4429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4440 if (! PySequence_Check(obj5
)) {
4441 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4444 arg6
= new wxArrayString
;
4446 int i
, len
=PySequence_Length(obj5
);
4447 for (i
=0; i
<len
; i
++) {
4448 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4449 wxString
* s
= wxString_in_helper(item
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4459 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4460 if (SWIG_arg_fail(7)) SWIG_fail
;
4465 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4466 if (SWIG_arg_fail(8)) SWIG_fail
;
4468 SWIG_null_ref("wxValidator");
4470 if (SWIG_arg_fail(8)) SWIG_fail
;
4475 arg9
= wxString_in_helper(obj8
);
4476 if (arg9
== NULL
) SWIG_fail
;
4481 if (!wxPyCheckForApp()) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 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
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4494 if (temp6
) delete arg6
;
4507 if (temp6
) delete arg6
;
4517 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= NULL
;
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4526 if (!wxPyCheckForApp()) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (wxComboBox
*)new wxComboBox();
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4540 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
= NULL
;
4542 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4543 wxWindow
*arg2
= (wxWindow
*) 0 ;
4544 int arg3
= (int) -1 ;
4545 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4546 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4547 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4548 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4549 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4550 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4551 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4552 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4553 long arg8
= (long) 0 ;
4554 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4555 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4556 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4557 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4559 bool temp4
= false ;
4562 bool temp7
= false ;
4563 bool temp10
= false ;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4566 PyObject
* obj2
= 0 ;
4567 PyObject
* obj3
= 0 ;
4568 PyObject
* obj4
= 0 ;
4569 PyObject
* obj5
= 0 ;
4570 PyObject
* obj6
= 0 ;
4571 PyObject
* obj7
= 0 ;
4572 PyObject
* obj8
= 0 ;
4573 PyObject
* obj9
= 0 ;
4575 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4580 if (SWIG_arg_fail(1)) SWIG_fail
;
4581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4582 if (SWIG_arg_fail(2)) SWIG_fail
;
4585 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4586 if (SWIG_arg_fail(3)) SWIG_fail
;
4591 arg4
= wxString_in_helper(obj3
);
4592 if (arg4
== NULL
) SWIG_fail
;
4599 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4605 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4610 if (! PySequence_Check(obj6
)) {
4611 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4614 arg7
= new wxArrayString
;
4616 int i
, len
=PySequence_Length(obj6
);
4617 for (i
=0; i
<len
; i
++) {
4618 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4619 wxString
* s
= wxString_in_helper(item
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4629 arg8
= static_cast<long >(SWIG_As_long(obj7
));
4630 if (SWIG_arg_fail(8)) SWIG_fail
;
4635 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4636 if (SWIG_arg_fail(9)) SWIG_fail
;
4638 SWIG_null_ref("wxValidator");
4640 if (SWIG_arg_fail(9)) SWIG_fail
;
4645 arg10
= wxString_in_helper(obj9
);
4646 if (arg10
== NULL
) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 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
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4665 if (temp7
) delete arg7
;
4678 if (temp7
) delete arg7
;
4688 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
= NULL
;
4690 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4694 (char *) "self", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4699 if (SWIG_arg_fail(1)) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= ((wxComboBox
const *)arg1
)->GetValue();
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4720 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
= NULL
;
4722 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4723 wxString
*arg2
= 0 ;
4724 bool temp2
= false ;
4725 PyObject
* obj0
= 0 ;
4726 PyObject
* obj1
= 0 ;
4728 (char *) "self",(char *) "value", NULL
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4733 if (SWIG_arg_fail(1)) SWIG_fail
;
4735 arg2
= wxString_in_helper(obj1
);
4736 if (arg2
== NULL
) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 (arg1
)->SetValue((wxString
const &)*arg2
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 Py_INCREF(Py_None
); resultobj
= Py_None
;
4761 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
= NULL
;
4763 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4766 (char *) "self", NULL
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4771 if (SWIG_arg_fail(1)) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 Py_INCREF(Py_None
); resultobj
= Py_None
;
4786 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
= NULL
;
4788 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4789 PyObject
* obj0
= 0 ;
4791 (char *) "self", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4796 if (SWIG_arg_fail(1)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 Py_INCREF(Py_None
); resultobj
= Py_None
;
4811 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
= NULL
;
4813 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4814 PyObject
* obj0
= 0 ;
4816 (char *) "self", NULL
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4821 if (SWIG_arg_fail(1)) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 Py_INCREF(Py_None
); resultobj
= Py_None
;
4836 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
= NULL
;
4838 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4843 (char *) "self",(char *) "pos", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4848 if (SWIG_arg_fail(1)) SWIG_fail
;
4850 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4851 if (SWIG_arg_fail(2)) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 (arg1
)->SetInsertionPoint(arg2
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 Py_INCREF(Py_None
); resultobj
= Py_None
;
4867 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
= NULL
;
4869 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4871 PyObject
* obj0
= 0 ;
4873 (char *) "self", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4878 if (SWIG_arg_fail(1)) SWIG_fail
;
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= SWIG_From_long(static_cast<long >(result
));
4895 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
= NULL
;
4897 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "self", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4906 if (SWIG_arg_fail(1)) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_From_long(static_cast<long >(result
));
4923 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
= NULL
;
4925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4928 wxString
*arg4
= 0 ;
4929 bool temp4
= false ;
4930 PyObject
* obj0
= 0 ;
4931 PyObject
* obj1
= 0 ;
4932 PyObject
* obj2
= 0 ;
4933 PyObject
* obj3
= 0 ;
4935 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail
;
4942 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4943 if (SWIG_arg_fail(2)) SWIG_fail
;
4946 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4947 if (SWIG_arg_fail(3)) SWIG_fail
;
4950 arg4
= wxString_in_helper(obj3
);
4951 if (arg4
== NULL
) SWIG_fail
;
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 Py_INCREF(Py_None
); resultobj
= Py_None
;
4976 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
= NULL
;
4978 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4981 PyObject
* obj1
= 0 ;
4983 (char *) "self",(char *) "n", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail
;
4990 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4991 if (SWIG_arg_fail(2)) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 (arg1
)->SetSelection(arg2
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 Py_INCREF(Py_None
); resultobj
= Py_None
;
5007 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
= NULL
;
5009 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5013 PyObject
* obj1
= 0 ;
5014 PyObject
* obj2
= 0 ;
5016 (char *) "self",(char *) "from",(char *) "to", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail
;
5023 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5024 if (SWIG_arg_fail(2)) SWIG_fail
;
5027 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5028 if (SWIG_arg_fail(3)) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 (arg1
)->SetSelection(arg2
,arg3
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 Py_INCREF(Py_None
); resultobj
= Py_None
;
5044 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
= NULL
;
5046 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5047 long *arg2
= (long *) 0 ;
5048 long *arg3
= (long *) 0 ;
5053 PyObject
* obj0
= 0 ;
5055 (char *) "self", NULL
5058 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5059 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
5061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5062 if (SWIG_arg_fail(1)) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 (arg1
)->GetSelection(arg2
,arg3
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5071 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5072 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
5073 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5074 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
5081 static PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
= NULL
;
5083 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5085 PyObject
* obj0
= 0 ;
5087 (char *) "self", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
5091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5092 if (SWIG_arg_fail(1)) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_From_int(static_cast<int >(result
));
5109 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
= NULL
;
5111 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5112 wxString
*arg2
= 0 ;
5114 bool temp2
= false ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5118 (char *) "self",(char *) "string", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5123 if (SWIG_arg_fail(1)) SWIG_fail
;
5125 arg2
= wxString_in_helper(obj1
);
5126 if (arg2
== NULL
) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5153 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
= NULL
;
5155 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5157 wxString
*arg3
= 0 ;
5158 bool temp3
= false ;
5159 PyObject
* obj0
= 0 ;
5160 PyObject
* obj1
= 0 ;
5161 PyObject
* obj2
= 0 ;
5163 (char *) "self",(char *) "n",(char *) "string", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail
;
5170 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5171 if (SWIG_arg_fail(2)) SWIG_fail
;
5174 arg3
= wxString_in_helper(obj2
);
5175 if (arg3
== NULL
) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 Py_INCREF(Py_None
); resultobj
= Py_None
;
5200 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
= NULL
;
5202 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5207 (char *) "self",(char *) "editable", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5212 if (SWIG_arg_fail(1)) SWIG_fail
;
5214 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5215 if (SWIG_arg_fail(2)) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 (arg1
)->SetEditable(arg2
);
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 Py_INCREF(Py_None
); resultobj
= Py_None
;
5231 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
= NULL
;
5233 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5234 PyObject
* obj0
= 0 ;
5236 (char *) "self", NULL
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5241 if (SWIG_arg_fail(1)) SWIG_fail
;
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 (arg1
)->SetInsertionPointEnd();
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 Py_INCREF(Py_None
); resultobj
= Py_None
;
5256 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
= NULL
;
5258 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5262 PyObject
* obj1
= 0 ;
5263 PyObject
* obj2
= 0 ;
5265 (char *) "self",(char *) "from",(char *) "to", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5270 if (SWIG_arg_fail(1)) SWIG_fail
;
5272 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5273 if (SWIG_arg_fail(2)) SWIG_fail
;
5276 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5277 if (SWIG_arg_fail(3)) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 (arg1
)->Remove(arg2
,arg3
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 Py_INCREF(Py_None
); resultobj
= Py_None
;
5293 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
= NULL
;
5295 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5299 (char *) "self", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5304 if (SWIG_arg_fail(1)) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5321 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
= NULL
;
5323 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "self", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 Py_INCREF(Py_None
); resultobj
= Py_None
;
5346 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
*resultobj
= NULL
;
5348 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5349 PyObject
* obj0
= 0 ;
5351 (char *) "self", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5356 if (SWIG_arg_fail(1)) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 Py_INCREF(Py_None
); resultobj
= Py_None
;
5371 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
= NULL
;
5373 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5374 PyObject
* obj0
= 0 ;
5376 (char *) "self", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5381 if (SWIG_arg_fail(1)) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 (arg1
)->SelectAll();
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 Py_INCREF(Py_None
); resultobj
= Py_None
;
5396 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
= NULL
;
5398 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5402 (char *) "self", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5407 if (SWIG_arg_fail(1)) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5424 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
= NULL
;
5426 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5428 PyObject
* obj0
= 0 ;
5430 (char *) "self", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5435 if (SWIG_arg_fail(1)) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5452 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
= NULL
;
5454 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5458 (char *) "self", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5463 if (SWIG_arg_fail(1)) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5480 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
= NULL
;
5482 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5486 (char *) "self", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5491 if (SWIG_arg_fail(1)) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5508 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
= NULL
;
5510 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5512 PyObject
* obj0
= 0 ;
5514 (char *) "self", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail
;
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5536 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
= NULL
;
5538 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5539 wxVisualAttributes result
;
5540 PyObject
* obj0
= 0 ;
5542 (char *) "variant", NULL
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5548 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5549 if (SWIG_arg_fail(1)) SWIG_fail
;
5553 if (!wxPyCheckForApp()) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5561 wxVisualAttributes
* resultptr
;
5562 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5571 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5574 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5576 return Py_BuildValue((char *)"");
5578 static int _wrap_GaugeNameStr_set(PyObject
*) {
5579 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5584 static PyObject
*_wrap_GaugeNameStr_get(void) {
5585 PyObject
*pyobj
= NULL
;
5589 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5591 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5598 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
= NULL
;
5600 wxWindow
*arg1
= (wxWindow
*) 0 ;
5601 int arg2
= (int) -1 ;
5602 int arg3
= (int) 100 ;
5603 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5604 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5605 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5606 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5607 long arg6
= (long) wxGA_HORIZONTAL
;
5608 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5609 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5610 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5611 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5615 bool temp8
= false ;
5616 PyObject
* obj0
= 0 ;
5617 PyObject
* obj1
= 0 ;
5618 PyObject
* obj2
= 0 ;
5619 PyObject
* obj3
= 0 ;
5620 PyObject
* obj4
= 0 ;
5621 PyObject
* obj5
= 0 ;
5622 PyObject
* obj6
= 0 ;
5623 PyObject
* obj7
= 0 ;
5625 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5630 if (SWIG_arg_fail(1)) SWIG_fail
;
5633 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5634 if (SWIG_arg_fail(2)) SWIG_fail
;
5639 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5640 if (SWIG_arg_fail(3)) SWIG_fail
;
5646 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5652 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5657 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5658 if (SWIG_arg_fail(6)) SWIG_fail
;
5663 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5664 if (SWIG_arg_fail(7)) SWIG_fail
;
5666 SWIG_null_ref("wxValidator");
5668 if (SWIG_arg_fail(7)) SWIG_fail
;
5673 arg8
= wxString_in_helper(obj7
);
5674 if (arg8
== NULL
) SWIG_fail
;
5679 if (!wxPyCheckForApp()) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5701 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
*resultobj
= NULL
;
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5710 if (!wxPyCheckForApp()) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (wxGauge
*)new wxGauge();
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5724 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
= NULL
;
5726 wxGauge
*arg1
= (wxGauge
*) 0 ;
5727 wxWindow
*arg2
= (wxWindow
*) 0 ;
5728 int arg3
= (int) -1 ;
5729 int arg4
= (int) 100 ;
5730 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5731 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5732 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5733 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5734 long arg7
= (long) wxGA_HORIZONTAL
;
5735 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5736 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5737 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5738 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5742 bool temp9
= false ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5745 PyObject
* obj2
= 0 ;
5746 PyObject
* obj3
= 0 ;
5747 PyObject
* obj4
= 0 ;
5748 PyObject
* obj5
= 0 ;
5749 PyObject
* obj6
= 0 ;
5750 PyObject
* obj7
= 0 ;
5751 PyObject
* obj8
= 0 ;
5753 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail
;
5759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5760 if (SWIG_arg_fail(2)) SWIG_fail
;
5763 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5764 if (SWIG_arg_fail(3)) SWIG_fail
;
5769 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5770 if (SWIG_arg_fail(4)) SWIG_fail
;
5776 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5782 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5787 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5788 if (SWIG_arg_fail(7)) SWIG_fail
;
5793 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5794 if (SWIG_arg_fail(8)) SWIG_fail
;
5796 SWIG_null_ref("wxValidator");
5798 if (SWIG_arg_fail(8)) SWIG_fail
;
5803 arg9
= wxString_in_helper(obj8
);
5804 if (arg9
== NULL
) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5832 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
= NULL
;
5834 wxGauge
*arg1
= (wxGauge
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5839 (char *) "self",(char *) "range", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5847 if (SWIG_arg_fail(2)) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 (arg1
)->SetRange(arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 Py_INCREF(Py_None
); resultobj
= Py_None
;
5863 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
= NULL
;
5865 wxGauge
*arg1
= (wxGauge
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5869 (char *) "self", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5874 if (SWIG_arg_fail(1)) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_From_int(static_cast<int >(result
));
5891 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
= NULL
;
5893 wxGauge
*arg1
= (wxGauge
*) 0 ;
5895 PyObject
* obj0
= 0 ;
5896 PyObject
* obj1
= 0 ;
5898 (char *) "self",(char *) "pos", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5903 if (SWIG_arg_fail(1)) SWIG_fail
;
5905 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5906 if (SWIG_arg_fail(2)) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 (arg1
)->SetValue(arg2
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5922 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
= NULL
;
5924 wxGauge
*arg1
= (wxGauge
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5928 (char *) "self", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5933 if (SWIG_arg_fail(1)) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_From_int(static_cast<int >(result
));
5950 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
= NULL
;
5952 wxGauge
*arg1
= (wxGauge
*) 0 ;
5954 PyObject
* obj0
= 0 ;
5956 (char *) "self", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5961 if (SWIG_arg_fail(1)) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5978 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
= NULL
;
5980 wxGauge
*arg1
= (wxGauge
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5983 PyObject
* obj1
= 0 ;
5985 (char *) "self",(char *) "w", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5990 if (SWIG_arg_fail(1)) SWIG_fail
;
5992 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5993 if (SWIG_arg_fail(2)) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 (arg1
)->SetShadowWidth(arg2
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6002 Py_INCREF(Py_None
); resultobj
= Py_None
;
6009 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
= NULL
;
6011 wxGauge
*arg1
= (wxGauge
*) 0 ;
6013 PyObject
* obj0
= 0 ;
6015 (char *) "self", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
6019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
6020 if (SWIG_arg_fail(1)) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_From_int(static_cast<int >(result
));
6037 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
= NULL
;
6039 wxGauge
*arg1
= (wxGauge
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6044 (char *) "self",(char *) "w", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
6048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
6049 if (SWIG_arg_fail(1)) SWIG_fail
;
6051 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6052 if (SWIG_arg_fail(2)) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 (arg1
)->SetBezelFace(arg2
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 Py_INCREF(Py_None
); resultobj
= Py_None
;
6068 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
= NULL
;
6070 wxGauge
*arg1
= (wxGauge
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6074 (char *) "self", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
6078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
6079 if (SWIG_arg_fail(1)) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6088 resultobj
= SWIG_From_int(static_cast<int >(result
));
6096 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
= NULL
;
6098 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6099 wxVisualAttributes result
;
6100 PyObject
* obj0
= 0 ;
6102 (char *) "variant", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6108 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6109 if (SWIG_arg_fail(1)) SWIG_fail
;
6113 if (!wxPyCheckForApp()) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= wxGauge::GetClassDefaultAttributes(arg1
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 wxVisualAttributes
* resultptr
;
6122 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6131 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
6133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6134 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
6136 return Py_BuildValue((char *)"");
6138 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
6139 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
6144 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
6145 PyObject
*pyobj
= NULL
;
6149 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6151 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
6158 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
6159 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
6164 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
6165 PyObject
*pyobj
= NULL
;
6169 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6171 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6178 static int _wrap_StaticTextNameStr_set(PyObject
*) {
6179 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
6184 static PyObject
*_wrap_StaticTextNameStr_get(void) {
6185 PyObject
*pyobj
= NULL
;
6189 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6191 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6198 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
= NULL
;
6200 wxWindow
*arg1
= (wxWindow
*) 0 ;
6201 int arg2
= (int) -1 ;
6202 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6203 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6204 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6205 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6206 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6207 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6208 long arg6
= (long) 0 ;
6209 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6210 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6211 wxStaticBox
*result
;
6212 bool temp3
= false ;
6215 bool temp7
= false ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6218 PyObject
* obj2
= 0 ;
6219 PyObject
* obj3
= 0 ;
6220 PyObject
* obj4
= 0 ;
6221 PyObject
* obj5
= 0 ;
6222 PyObject
* obj6
= 0 ;
6224 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6229 if (SWIG_arg_fail(1)) SWIG_fail
;
6232 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6233 if (SWIG_arg_fail(2)) SWIG_fail
;
6238 arg3
= wxString_in_helper(obj2
);
6239 if (arg3
== NULL
) SWIG_fail
;
6246 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6252 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6257 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6258 if (SWIG_arg_fail(6)) SWIG_fail
;
6263 arg7
= wxString_in_helper(obj6
);
6264 if (arg7
== NULL
) SWIG_fail
;
6269 if (!wxPyCheckForApp()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6299 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
= NULL
;
6301 wxStaticBox
*result
;
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6308 if (!wxPyCheckForApp()) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 result
= (wxStaticBox
*)new wxStaticBox();
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6322 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
= NULL
;
6324 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6325 wxWindow
*arg2
= (wxWindow
*) 0 ;
6326 int arg3
= (int) -1 ;
6327 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6328 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6329 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6330 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6331 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6332 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6333 long arg7
= (long) 0 ;
6334 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6335 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6337 bool temp4
= false ;
6340 bool temp8
= false ;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6343 PyObject
* obj2
= 0 ;
6344 PyObject
* obj3
= 0 ;
6345 PyObject
* obj4
= 0 ;
6346 PyObject
* obj5
= 0 ;
6347 PyObject
* obj6
= 0 ;
6348 PyObject
* obj7
= 0 ;
6350 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6355 if (SWIG_arg_fail(1)) SWIG_fail
;
6356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6357 if (SWIG_arg_fail(2)) SWIG_fail
;
6360 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6361 if (SWIG_arg_fail(3)) SWIG_fail
;
6366 arg4
= wxString_in_helper(obj3
);
6367 if (arg4
== NULL
) SWIG_fail
;
6374 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6380 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6385 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6386 if (SWIG_arg_fail(7)) SWIG_fail
;
6391 arg8
= wxString_in_helper(obj7
);
6392 if (arg8
== NULL
) SWIG_fail
;
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6428 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
= NULL
;
6430 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6431 wxVisualAttributes result
;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "variant", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6440 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6441 if (SWIG_arg_fail(1)) SWIG_fail
;
6445 if (!wxPyCheckForApp()) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6453 wxVisualAttributes
* resultptr
;
6454 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6463 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6466 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6468 return Py_BuildValue((char *)"");
6470 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
= NULL
;
6472 wxWindow
*arg1
= (wxWindow
*) 0 ;
6473 int arg2
= (int) -1 ;
6474 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6475 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6476 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6477 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6478 long arg5
= (long) wxLI_HORIZONTAL
;
6479 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6480 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6481 wxStaticLine
*result
;
6484 bool temp6
= false ;
6485 PyObject
* obj0
= 0 ;
6486 PyObject
* obj1
= 0 ;
6487 PyObject
* obj2
= 0 ;
6488 PyObject
* obj3
= 0 ;
6489 PyObject
* obj4
= 0 ;
6490 PyObject
* obj5
= 0 ;
6492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail
;
6500 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6501 if (SWIG_arg_fail(2)) SWIG_fail
;
6507 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6513 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6518 arg5
= static_cast<long >(SWIG_As_long(obj4
));
6519 if (SWIG_arg_fail(5)) SWIG_fail
;
6524 arg6
= wxString_in_helper(obj5
);
6525 if (arg6
== NULL
) SWIG_fail
;
6530 if (!wxPyCheckForApp()) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6552 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
= NULL
;
6554 wxStaticLine
*result
;
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6561 if (!wxPyCheckForApp()) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 result
= (wxStaticLine
*)new wxStaticLine();
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6575 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
= NULL
;
6577 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6578 wxWindow
*arg2
= (wxWindow
*) 0 ;
6579 int arg3
= (int) -1 ;
6580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6584 long arg6
= (long) wxLI_HORIZONTAL
;
6585 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6586 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6590 bool temp7
= false ;
6591 PyObject
* obj0
= 0 ;
6592 PyObject
* obj1
= 0 ;
6593 PyObject
* obj2
= 0 ;
6594 PyObject
* obj3
= 0 ;
6595 PyObject
* obj4
= 0 ;
6596 PyObject
* obj5
= 0 ;
6597 PyObject
* obj6
= 0 ;
6599 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail
;
6605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6606 if (SWIG_arg_fail(2)) SWIG_fail
;
6609 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6610 if (SWIG_arg_fail(3)) SWIG_fail
;
6616 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6622 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6627 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6628 if (SWIG_arg_fail(6)) SWIG_fail
;
6633 arg7
= wxString_in_helper(obj6
);
6634 if (arg7
== NULL
) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6662 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
= NULL
;
6664 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6673 if (SWIG_arg_fail(1)) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6690 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
= NULL
;
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= (int)wxStaticLine::GetDefaultSize();
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_From_int(static_cast<int >(result
));
6714 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= NULL
;
6716 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6717 wxVisualAttributes result
;
6718 PyObject
* obj0
= 0 ;
6720 (char *) "variant", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6726 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6727 if (SWIG_arg_fail(1)) SWIG_fail
;
6731 if (!wxPyCheckForApp()) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 wxVisualAttributes
* resultptr
;
6740 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6749 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6752 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6754 return Py_BuildValue((char *)"");
6756 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
= NULL
;
6758 wxWindow
*arg1
= (wxWindow
*) 0 ;
6759 int arg2
= (int) -1 ;
6760 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6761 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6766 long arg6
= (long) 0 ;
6767 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6768 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6769 wxStaticText
*result
;
6770 bool temp3
= false ;
6773 bool temp7
= false ;
6774 PyObject
* obj0
= 0 ;
6775 PyObject
* obj1
= 0 ;
6776 PyObject
* obj2
= 0 ;
6777 PyObject
* obj3
= 0 ;
6778 PyObject
* obj4
= 0 ;
6779 PyObject
* obj5
= 0 ;
6780 PyObject
* obj6
= 0 ;
6782 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6787 if (SWIG_arg_fail(1)) SWIG_fail
;
6790 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6791 if (SWIG_arg_fail(2)) SWIG_fail
;
6796 arg3
= wxString_in_helper(obj2
);
6797 if (arg3
== NULL
) SWIG_fail
;
6804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6815 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6816 if (SWIG_arg_fail(6)) SWIG_fail
;
6821 arg7
= wxString_in_helper(obj6
);
6822 if (arg7
== NULL
) SWIG_fail
;
6827 if (!wxPyCheckForApp()) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6857 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
= NULL
;
6859 wxStaticText
*result
;
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6866 if (!wxPyCheckForApp()) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (wxStaticText
*)new wxStaticText();
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6880 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
= NULL
;
6882 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6883 wxWindow
*arg2
= (wxWindow
*) 0 ;
6884 int arg3
= (int) -1 ;
6885 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6886 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6887 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6888 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6889 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6890 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6891 long arg7
= (long) 0 ;
6892 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6893 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6895 bool temp4
= false ;
6898 bool temp8
= false ;
6899 PyObject
* obj0
= 0 ;
6900 PyObject
* obj1
= 0 ;
6901 PyObject
* obj2
= 0 ;
6902 PyObject
* obj3
= 0 ;
6903 PyObject
* obj4
= 0 ;
6904 PyObject
* obj5
= 0 ;
6905 PyObject
* obj6
= 0 ;
6906 PyObject
* obj7
= 0 ;
6908 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6913 if (SWIG_arg_fail(1)) SWIG_fail
;
6914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6915 if (SWIG_arg_fail(2)) SWIG_fail
;
6918 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6919 if (SWIG_arg_fail(3)) SWIG_fail
;
6924 arg4
= wxString_in_helper(obj3
);
6925 if (arg4
== NULL
) SWIG_fail
;
6932 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6938 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6943 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6944 if (SWIG_arg_fail(7)) SWIG_fail
;
6949 arg8
= wxString_in_helper(obj7
);
6950 if (arg8
== NULL
) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6986 static PyObject
*_wrap_StaticText_Wrap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
= NULL
;
6988 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6993 (char *) "self",(char *) "width", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) goto fail
;
6997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6998 if (SWIG_arg_fail(1)) SWIG_fail
;
7000 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7001 if (SWIG_arg_fail(2)) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 Py_INCREF(Py_None
); resultobj
= Py_None
;
7017 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= NULL
;
7019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7020 wxVisualAttributes result
;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "variant", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7029 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7030 if (SWIG_arg_fail(1)) SWIG_fail
;
7034 if (!wxPyCheckForApp()) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7042 wxVisualAttributes
* resultptr
;
7043 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7052 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
7054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7055 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
7057 return Py_BuildValue((char *)"");
7059 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
= NULL
;
7061 wxWindow
*arg1
= (wxWindow
*) 0 ;
7062 int arg2
= (int) -1 ;
7063 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
7064 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
7065 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7066 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7067 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7068 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7069 long arg6
= (long) 0 ;
7070 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
7071 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7072 wxStaticBitmap
*result
;
7075 bool temp7
= false ;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7078 PyObject
* obj2
= 0 ;
7079 PyObject
* obj3
= 0 ;
7080 PyObject
* obj4
= 0 ;
7081 PyObject
* obj5
= 0 ;
7082 PyObject
* obj6
= 0 ;
7084 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7089 if (SWIG_arg_fail(1)) SWIG_fail
;
7092 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7093 if (SWIG_arg_fail(2)) SWIG_fail
;
7098 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7099 if (SWIG_arg_fail(3)) SWIG_fail
;
7101 SWIG_null_ref("wxBitmap");
7103 if (SWIG_arg_fail(3)) SWIG_fail
;
7109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7120 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7121 if (SWIG_arg_fail(6)) SWIG_fail
;
7126 arg7
= wxString_in_helper(obj6
);
7127 if (arg7
== NULL
) SWIG_fail
;
7132 if (!wxPyCheckForApp()) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7154 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
= NULL
;
7156 wxStaticBitmap
*result
;
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
7163 if (!wxPyCheckForApp()) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (wxStaticBitmap
*)new wxStaticBitmap();
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
7177 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
= NULL
;
7179 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7180 wxWindow
*arg2
= (wxWindow
*) 0 ;
7181 int arg3
= (int) -1 ;
7182 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
7183 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
7184 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7185 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7186 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7187 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7188 long arg7
= (long) 0 ;
7189 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
7190 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7194 bool temp8
= false ;
7195 PyObject
* obj0
= 0 ;
7196 PyObject
* obj1
= 0 ;
7197 PyObject
* obj2
= 0 ;
7198 PyObject
* obj3
= 0 ;
7199 PyObject
* obj4
= 0 ;
7200 PyObject
* obj5
= 0 ;
7201 PyObject
* obj6
= 0 ;
7202 PyObject
* obj7
= 0 ;
7204 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7209 if (SWIG_arg_fail(1)) SWIG_fail
;
7210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7211 if (SWIG_arg_fail(2)) SWIG_fail
;
7214 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7215 if (SWIG_arg_fail(3)) SWIG_fail
;
7220 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7221 if (SWIG_arg_fail(4)) SWIG_fail
;
7223 SWIG_null_ref("wxBitmap");
7225 if (SWIG_arg_fail(4)) SWIG_fail
;
7231 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7237 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7242 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7243 if (SWIG_arg_fail(7)) SWIG_fail
;
7248 arg8
= wxString_in_helper(obj7
);
7249 if (arg8
== NULL
) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7277 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
= NULL
;
7279 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7283 (char *) "self", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 result
= (arg1
)->GetBitmap();
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7297 wxBitmap
* resultptr
;
7298 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7307 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
= NULL
;
7309 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7310 wxBitmap
*arg2
= 0 ;
7311 PyObject
* obj0
= 0 ;
7312 PyObject
* obj1
= 0 ;
7314 (char *) "self",(char *) "bitmap", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7319 if (SWIG_arg_fail(1)) SWIG_fail
;
7321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7322 if (SWIG_arg_fail(2)) SWIG_fail
;
7324 SWIG_null_ref("wxBitmap");
7326 if (SWIG_arg_fail(2)) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 Py_INCREF(Py_None
); resultobj
= Py_None
;
7342 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
= NULL
;
7344 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7346 PyObject
* obj0
= 0 ;
7347 PyObject
* obj1
= 0 ;
7349 (char *) "self",(char *) "icon", NULL
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7354 if (SWIG_arg_fail(1)) SWIG_fail
;
7356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7357 if (SWIG_arg_fail(2)) SWIG_fail
;
7359 SWIG_null_ref("wxIcon");
7361 if (SWIG_arg_fail(2)) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 Py_INCREF(Py_None
); resultobj
= Py_None
;
7377 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
= NULL
;
7379 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7380 wxVisualAttributes result
;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "variant", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7389 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7390 if (SWIG_arg_fail(1)) SWIG_fail
;
7394 if (!wxPyCheckForApp()) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7402 wxVisualAttributes
* resultptr
;
7403 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7412 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7415 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7417 return Py_BuildValue((char *)"");
7419 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7420 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7425 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7426 PyObject
*pyobj
= NULL
;
7430 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7432 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7439 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
= NULL
;
7441 wxWindow
*arg1
= (wxWindow
*) 0 ;
7442 int arg2
= (int) -1 ;
7443 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7444 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7445 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7446 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7447 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7448 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7449 long arg6
= (long) 0 ;
7450 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7451 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7452 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7453 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7457 bool temp5
= false ;
7458 bool temp8
= false ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 PyObject
* obj3
= 0 ;
7463 PyObject
* obj4
= 0 ;
7464 PyObject
* obj5
= 0 ;
7465 PyObject
* obj6
= 0 ;
7466 PyObject
* obj7
= 0 ;
7468 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail
;
7476 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7477 if (SWIG_arg_fail(2)) SWIG_fail
;
7483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7494 if (! PySequence_Check(obj4
)) {
7495 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7498 arg5
= new wxArrayString
;
7500 int i
, len
=PySequence_Length(obj4
);
7501 for (i
=0; i
<len
; i
++) {
7502 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7503 wxString
* s
= wxString_in_helper(item
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7513 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7514 if (SWIG_arg_fail(6)) SWIG_fail
;
7519 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7520 if (SWIG_arg_fail(7)) SWIG_fail
;
7522 SWIG_null_ref("wxValidator");
7524 if (SWIG_arg_fail(7)) SWIG_fail
;
7529 arg8
= wxString_in_helper(obj7
);
7530 if (arg8
== NULL
) SWIG_fail
;
7535 if (!wxPyCheckForApp()) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7544 if (temp5
) delete arg5
;
7553 if (temp5
) delete arg5
;
7563 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
= NULL
;
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7572 if (!wxPyCheckForApp()) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= (wxListBox
*)new wxListBox();
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7586 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
= NULL
;
7588 wxListBox
*arg1
= (wxListBox
*) 0 ;
7589 wxWindow
*arg2
= (wxWindow
*) 0 ;
7590 int arg3
= (int) -1 ;
7591 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7592 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7593 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7594 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7595 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7596 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7597 long arg7
= (long) 0 ;
7598 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7599 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7600 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7601 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7605 bool temp6
= false ;
7606 bool temp9
= false ;
7607 PyObject
* obj0
= 0 ;
7608 PyObject
* obj1
= 0 ;
7609 PyObject
* obj2
= 0 ;
7610 PyObject
* obj3
= 0 ;
7611 PyObject
* obj4
= 0 ;
7612 PyObject
* obj5
= 0 ;
7613 PyObject
* obj6
= 0 ;
7614 PyObject
* obj7
= 0 ;
7615 PyObject
* obj8
= 0 ;
7617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7622 if (SWIG_arg_fail(1)) SWIG_fail
;
7623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7624 if (SWIG_arg_fail(2)) SWIG_fail
;
7627 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7628 if (SWIG_arg_fail(3)) SWIG_fail
;
7634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7645 if (! PySequence_Check(obj5
)) {
7646 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7649 arg6
= new wxArrayString
;
7651 int i
, len
=PySequence_Length(obj5
);
7652 for (i
=0; i
<len
; i
++) {
7653 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7654 wxString
* s
= wxString_in_helper(item
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7664 arg7
= static_cast<long >(SWIG_As_long(obj6
));
7665 if (SWIG_arg_fail(7)) SWIG_fail
;
7670 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7671 if (SWIG_arg_fail(8)) SWIG_fail
;
7673 SWIG_null_ref("wxValidator");
7675 if (SWIG_arg_fail(8)) SWIG_fail
;
7680 arg9
= wxString_in_helper(obj8
);
7681 if (arg9
== NULL
) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7696 if (temp6
) delete arg6
;
7705 if (temp6
) delete arg6
;
7715 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
= NULL
;
7717 wxListBox
*arg1
= (wxListBox
*) 0 ;
7718 wxString
*arg2
= 0 ;
7720 PyObject
*arg4
= (PyObject
*) NULL
;
7721 bool temp2
= false ;
7722 PyObject
* obj0
= 0 ;
7723 PyObject
* obj1
= 0 ;
7724 PyObject
* obj2
= 0 ;
7725 PyObject
* obj3
= 0 ;
7727 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail
;
7734 arg2
= wxString_in_helper(obj1
);
7735 if (arg2
== NULL
) SWIG_fail
;
7739 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7740 if (SWIG_arg_fail(3)) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 Py_INCREF(Py_None
); resultobj
= Py_None
;
7767 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
= NULL
;
7769 wxListBox
*arg1
= (wxListBox
*) 0 ;
7770 wxArrayString
*arg2
= 0 ;
7772 bool temp2
= false ;
7773 PyObject
* obj0
= 0 ;
7774 PyObject
* obj1
= 0 ;
7775 PyObject
* obj2
= 0 ;
7777 (char *) "self",(char *) "items",(char *) "pos", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail
;
7784 if (! PySequence_Check(obj1
)) {
7785 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7788 arg2
= new wxArrayString
;
7790 int i
, len
=PySequence_Length(obj1
);
7791 for (i
=0; i
<len
; i
++) {
7792 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7793 wxString
* s
= wxString_in_helper(item
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7801 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7802 if (SWIG_arg_fail(3)) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 Py_INCREF(Py_None
); resultobj
= Py_None
;
7813 if (temp2
) delete arg2
;
7818 if (temp2
) delete arg2
;
7824 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
= NULL
;
7826 wxListBox
*arg1
= (wxListBox
*) 0 ;
7827 wxArrayString
*arg2
= 0 ;
7828 bool temp2
= false ;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj1
= 0 ;
7832 (char *) "self",(char *) "items", NULL
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7837 if (SWIG_arg_fail(1)) SWIG_fail
;
7839 if (! PySequence_Check(obj1
)) {
7840 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7843 arg2
= new wxArrayString
;
7845 int i
, len
=PySequence_Length(obj1
);
7846 for (i
=0; i
<len
; i
++) {
7847 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7848 wxString
* s
= wxString_in_helper(item
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 (arg1
)->Set((wxArrayString
const &)*arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7864 if (temp2
) delete arg2
;
7869 if (temp2
) delete arg2
;
7875 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
= NULL
;
7877 wxListBox
*arg1
= (wxListBox
*) 0 ;
7880 PyObject
* obj0
= 0 ;
7881 PyObject
* obj1
= 0 ;
7883 (char *) "self",(char *) "n", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7888 if (SWIG_arg_fail(1)) SWIG_fail
;
7890 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7891 if (SWIG_arg_fail(2)) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7909 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
= NULL
;
7911 wxListBox
*arg1
= (wxListBox
*) 0 ;
7913 bool arg3
= (bool) true ;
7914 PyObject
* obj0
= 0 ;
7915 PyObject
* obj1
= 0 ;
7916 PyObject
* obj2
= 0 ;
7918 (char *) "self",(char *) "n",(char *) "select", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7923 if (SWIG_arg_fail(1)) SWIG_fail
;
7925 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7926 if (SWIG_arg_fail(2)) SWIG_fail
;
7930 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
7931 if (SWIG_arg_fail(3)) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 (arg1
)->SetSelection(arg2
,arg3
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 Py_INCREF(Py_None
); resultobj
= Py_None
;
7948 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
= NULL
;
7950 wxListBox
*arg1
= (wxListBox
*) 0 ;
7952 PyObject
* obj0
= 0 ;
7953 PyObject
* obj1
= 0 ;
7955 (char *) "self",(char *) "n", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7960 if (SWIG_arg_fail(1)) SWIG_fail
;
7962 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7963 if (SWIG_arg_fail(2)) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 (arg1
)->Select(arg2
);
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 Py_INCREF(Py_None
); resultobj
= Py_None
;
7979 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
= NULL
;
7981 wxListBox
*arg1
= (wxListBox
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7984 PyObject
* obj1
= 0 ;
7986 (char *) "self",(char *) "n", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7991 if (SWIG_arg_fail(1)) SWIG_fail
;
7993 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7994 if (SWIG_arg_fail(2)) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 (arg1
)->Deselect(arg2
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 Py_INCREF(Py_None
); resultobj
= Py_None
;
8010 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
= NULL
;
8012 wxListBox
*arg1
= (wxListBox
*) 0 ;
8013 int arg2
= (int) -1 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8017 (char *) "self",(char *) "itemToLeaveSelected", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
8021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8022 if (SWIG_arg_fail(1)) SWIG_fail
;
8025 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8026 if (SWIG_arg_fail(2)) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 (arg1
)->DeselectAll(arg2
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 Py_INCREF(Py_None
); resultobj
= Py_None
;
8043 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
= NULL
;
8045 wxListBox
*arg1
= (wxListBox
*) 0 ;
8046 wxString
*arg2
= 0 ;
8047 bool arg3
= (bool) true ;
8049 bool temp2
= false ;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8052 PyObject
* obj2
= 0 ;
8054 (char *) "self",(char *) "s",(char *) "select", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail
;
8061 arg2
= wxString_in_helper(obj1
);
8062 if (arg2
== NULL
) SWIG_fail
;
8067 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8068 if (SWIG_arg_fail(3)) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8095 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
= NULL
;
8097 wxListBox
*arg1
= (wxListBox
*) 0 ;
8099 PyObject
* obj0
= 0 ;
8101 (char *) "self", NULL
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
8105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8106 if (SWIG_arg_fail(1)) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8121 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
= NULL
;
8123 wxListBox
*arg1
= (wxListBox
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8126 PyObject
* obj1
= 0 ;
8128 (char *) "self",(char *) "n", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
8132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail
;
8135 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8136 if (SWIG_arg_fail(2)) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 (arg1
)->SetFirstItem(arg2
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 Py_INCREF(Py_None
); resultobj
= Py_None
;
8152 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
= NULL
;
8154 wxListBox
*arg1
= (wxListBox
*) 0 ;
8155 wxString
*arg2
= 0 ;
8156 bool temp2
= false ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8160 (char *) "self",(char *) "s", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
8164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail
;
8167 arg2
= wxString_in_helper(obj1
);
8168 if (arg2
== NULL
) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 Py_INCREF(Py_None
); resultobj
= Py_None
;
8193 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
= NULL
;
8195 wxListBox
*arg1
= (wxListBox
*) 0 ;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8200 (char *) "self",(char *) "n", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8205 if (SWIG_arg_fail(1)) SWIG_fail
;
8207 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8208 if (SWIG_arg_fail(2)) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 (arg1
)->EnsureVisible(arg2
);
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 Py_INCREF(Py_None
); resultobj
= Py_None
;
8224 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
= NULL
;
8226 wxListBox
*arg1
= (wxListBox
*) 0 ;
8227 wxString
*arg2
= 0 ;
8228 bool temp2
= false ;
8229 PyObject
* obj0
= 0 ;
8230 PyObject
* obj1
= 0 ;
8232 (char *) "self",(char *) "s", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8237 if (SWIG_arg_fail(1)) SWIG_fail
;
8239 arg2
= wxString_in_helper(obj1
);
8240 if (arg2
== NULL
) SWIG_fail
;
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8247 wxPyEndAllowThreads(__tstate
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 Py_INCREF(Py_None
); resultobj
= Py_None
;
8265 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
= NULL
;
8267 wxListBox
*arg1
= (wxListBox
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8271 (char *) "self", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8276 if (SWIG_arg_fail(1)) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8293 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= NULL
;
8295 wxListBox
*arg1
= (wxListBox
*) 0 ;
8297 wxColour
*arg3
= 0 ;
8299 PyObject
* obj0
= 0 ;
8300 PyObject
* obj1
= 0 ;
8301 PyObject
* obj2
= 0 ;
8303 (char *) "self",(char *) "item",(char *) "c", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8308 if (SWIG_arg_fail(1)) SWIG_fail
;
8310 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8311 if (SWIG_arg_fail(2)) SWIG_fail
;
8315 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 Py_INCREF(Py_None
); resultobj
= Py_None
;
8331 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
= NULL
;
8333 wxListBox
*arg1
= (wxListBox
*) 0 ;
8335 wxColour
*arg3
= 0 ;
8337 PyObject
* obj0
= 0 ;
8338 PyObject
* obj1
= 0 ;
8339 PyObject
* obj2
= 0 ;
8341 (char *) "self",(char *) "item",(char *) "c", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8346 if (SWIG_arg_fail(1)) SWIG_fail
;
8348 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8349 if (SWIG_arg_fail(2)) SWIG_fail
;
8353 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 Py_INCREF(Py_None
); resultobj
= Py_None
;
8369 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
= NULL
;
8371 wxListBox
*arg1
= (wxListBox
*) 0 ;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8376 PyObject
* obj2
= 0 ;
8378 (char *) "self",(char *) "item",(char *) "f", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8383 if (SWIG_arg_fail(1)) SWIG_fail
;
8385 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8386 if (SWIG_arg_fail(2)) SWIG_fail
;
8389 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8390 if (SWIG_arg_fail(3)) SWIG_fail
;
8392 SWIG_null_ref("wxFont");
8394 if (SWIG_arg_fail(3)) SWIG_fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 Py_INCREF(Py_None
); resultobj
= Py_None
;
8410 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
= NULL
;
8412 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8413 wxVisualAttributes result
;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "variant", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8422 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8423 if (SWIG_arg_fail(1)) SWIG_fail
;
8427 if (!wxPyCheckForApp()) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= wxListBox::GetClassDefaultAttributes(arg1
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8435 wxVisualAttributes
* resultptr
;
8436 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8445 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8448 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8450 return Py_BuildValue((char *)"");
8452 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
= NULL
;
8454 wxWindow
*arg1
= (wxWindow
*) 0 ;
8455 int arg2
= (int) -1 ;
8456 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8457 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8458 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8459 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8460 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8461 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8462 long arg6
= (long) 0 ;
8463 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8464 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8465 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8467 wxCheckListBox
*result
;
8470 bool temp5
= false ;
8471 bool temp8
= false ;
8472 PyObject
* obj0
= 0 ;
8473 PyObject
* obj1
= 0 ;
8474 PyObject
* obj2
= 0 ;
8475 PyObject
* obj3
= 0 ;
8476 PyObject
* obj4
= 0 ;
8477 PyObject
* obj5
= 0 ;
8478 PyObject
* obj6
= 0 ;
8479 PyObject
* obj7
= 0 ;
8481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8486 if (SWIG_arg_fail(1)) SWIG_fail
;
8489 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8490 if (SWIG_arg_fail(2)) SWIG_fail
;
8496 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8502 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8507 if (! PySequence_Check(obj4
)) {
8508 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8511 arg5
= new wxArrayString
;
8513 int i
, len
=PySequence_Length(obj4
);
8514 for (i
=0; i
<len
; i
++) {
8515 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8516 wxString
* s
= wxString_in_helper(item
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8526 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8527 if (SWIG_arg_fail(6)) SWIG_fail
;
8532 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8533 if (SWIG_arg_fail(7)) SWIG_fail
;
8535 SWIG_null_ref("wxValidator");
8537 if (SWIG_arg_fail(7)) SWIG_fail
;
8542 arg8
= wxString_in_helper(obj7
);
8543 if (arg8
== NULL
) SWIG_fail
;
8548 if (!wxPyCheckForApp()) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8557 if (temp5
) delete arg5
;
8566 if (temp5
) delete arg5
;
8576 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
= NULL
;
8578 wxCheckListBox
*result
;
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8585 if (!wxPyCheckForApp()) SWIG_fail
;
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 result
= (wxCheckListBox
*)new wxCheckListBox();
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8599 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
= NULL
;
8601 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8602 wxWindow
*arg2
= (wxWindow
*) 0 ;
8603 int arg3
= (int) -1 ;
8604 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8605 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8606 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8607 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8608 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8609 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8610 long arg7
= (long) 0 ;
8611 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8612 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8613 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8614 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8618 bool temp6
= false ;
8619 bool temp9
= false ;
8620 PyObject
* obj0
= 0 ;
8621 PyObject
* obj1
= 0 ;
8622 PyObject
* obj2
= 0 ;
8623 PyObject
* obj3
= 0 ;
8624 PyObject
* obj4
= 0 ;
8625 PyObject
* obj5
= 0 ;
8626 PyObject
* obj6
= 0 ;
8627 PyObject
* obj7
= 0 ;
8628 PyObject
* obj8
= 0 ;
8630 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8635 if (SWIG_arg_fail(1)) SWIG_fail
;
8636 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8637 if (SWIG_arg_fail(2)) SWIG_fail
;
8640 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8641 if (SWIG_arg_fail(3)) SWIG_fail
;
8647 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8653 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8658 if (! PySequence_Check(obj5
)) {
8659 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8662 arg6
= new wxArrayString
;
8664 int i
, len
=PySequence_Length(obj5
);
8665 for (i
=0; i
<len
; i
++) {
8666 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8667 wxString
* s
= wxString_in_helper(item
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8677 arg7
= static_cast<long >(SWIG_As_long(obj6
));
8678 if (SWIG_arg_fail(7)) SWIG_fail
;
8683 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8684 if (SWIG_arg_fail(8)) SWIG_fail
;
8686 SWIG_null_ref("wxValidator");
8688 if (SWIG_arg_fail(8)) SWIG_fail
;
8693 arg9
= wxString_in_helper(obj8
);
8694 if (arg9
== NULL
) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8709 if (temp6
) delete arg6
;
8718 if (temp6
) delete arg6
;
8728 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= NULL
;
8730 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8736 (char *) "self",(char *) "index", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail
;
8743 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8744 if (SWIG_arg_fail(2)) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 result
= (bool)(arg1
)->IsChecked(arg2
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8762 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
= NULL
;
8764 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8766 int arg3
= (int) true ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 PyObject
* obj2
= 0 ;
8771 (char *) "self",(char *) "index",(char *) "check", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail
;
8778 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8779 if (SWIG_arg_fail(2)) SWIG_fail
;
8783 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8784 if (SWIG_arg_fail(3)) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 (arg1
)->Check(arg2
,arg3
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 Py_INCREF(Py_None
); resultobj
= Py_None
;
8801 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
= NULL
;
8803 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8805 PyObject
* obj0
= 0 ;
8807 (char *) "self", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (int)(arg1
)->GetItemHeight();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= SWIG_From_int(static_cast<int >(result
));
8829 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
= NULL
;
8831 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8835 PyObject
* obj0
= 0 ;
8836 PyObject
* obj1
= 0 ;
8838 (char *) "self",(char *) "pt", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail
;
8846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_From_int(static_cast<int >(result
));
8864 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= NULL
;
8866 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8872 PyObject
* obj2
= 0 ;
8874 (char *) "self",(char *) "x",(char *) "y", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8879 if (SWIG_arg_fail(1)) SWIG_fail
;
8881 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8882 if (SWIG_arg_fail(2)) SWIG_fail
;
8885 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8886 if (SWIG_arg_fail(3)) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= SWIG_From_int(static_cast<int >(result
));
8904 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8907 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8909 return Py_BuildValue((char *)"");
8911 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8912 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8917 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8918 PyObject
*pyobj
= NULL
;
8922 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8924 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8931 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
= NULL
;
8933 wxColour
const &arg1_defvalue
= wxNullColour
;
8934 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8935 wxColour
const &arg2_defvalue
= wxNullColour
;
8936 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8937 wxFont
const &arg3_defvalue
= wxNullFont
;
8938 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8939 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8943 PyObject
* obj0
= 0 ;
8944 PyObject
* obj1
= 0 ;
8945 PyObject
* obj2
= 0 ;
8946 PyObject
* obj3
= 0 ;
8948 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8955 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8961 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8966 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8967 if (SWIG_arg_fail(3)) SWIG_fail
;
8969 SWIG_null_ref("wxFont");
8971 if (SWIG_arg_fail(3)) SWIG_fail
;
8976 arg4
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj3
));
8977 if (SWIG_arg_fail(4)) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8994 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
= NULL
;
8996 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8997 PyObject
* obj0
= 0 ;
8999 (char *) "self", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
9003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9004 if (SWIG_arg_fail(1)) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
= NULL
;
9021 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9022 PyObject
* obj0
= 0 ;
9024 (char *) "self", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
9028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9029 if (SWIG_arg_fail(1)) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 Py_INCREF(Py_None
); resultobj
= Py_None
;
9044 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
= NULL
;
9046 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9047 wxColour
*arg2
= 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9052 (char *) "self",(char *) "colText", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9057 if (SWIG_arg_fail(1)) SWIG_fail
;
9060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 Py_INCREF(Py_None
); resultobj
= Py_None
;
9076 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
= NULL
;
9078 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9079 wxColour
*arg2
= 0 ;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9084 (char *) "self",(char *) "colBack", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9089 if (SWIG_arg_fail(1)) SWIG_fail
;
9092 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 Py_INCREF(Py_None
); resultobj
= Py_None
;
9108 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
= NULL
;
9110 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9112 long arg3
= (long) wxTEXT_ATTR_FONT
;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 PyObject
* obj2
= 0 ;
9117 (char *) "self",(char *) "font",(char *) "flags", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9122 if (SWIG_arg_fail(1)) SWIG_fail
;
9124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9125 if (SWIG_arg_fail(2)) SWIG_fail
;
9127 SWIG_null_ref("wxFont");
9129 if (SWIG_arg_fail(2)) SWIG_fail
;
9133 arg3
= static_cast<long >(SWIG_As_long(obj2
));
9134 if (SWIG_arg_fail(3)) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 Py_INCREF(Py_None
); resultobj
= Py_None
;
9151 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
= NULL
;
9153 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9154 wxTextAttrAlignment arg2
;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9158 (char *) "self",(char *) "alignment", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9163 if (SWIG_arg_fail(1)) SWIG_fail
;
9165 arg2
= static_cast<wxTextAttrAlignment
>(SWIG_As_int(obj1
));
9166 if (SWIG_arg_fail(2)) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->SetAlignment(arg2
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9182 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
= NULL
;
9184 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9185 wxArrayInt
*arg2
= 0 ;
9186 bool temp2
= false ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9190 (char *) "self",(char *) "tabs", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
9194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9195 if (SWIG_arg_fail(1)) SWIG_fail
;
9197 if (! PySequence_Check(obj1
)) {
9198 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
9201 arg2
= new wxArrayInt
;
9203 int i
, len
=PySequence_Length(obj1
);
9204 for (i
=0; i
<len
; i
++) {
9205 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9206 PyObject
* number
= PyNumber_Int(item
);
9207 arg2
->Add(PyInt_AS_LONG(number
));
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 Py_INCREF(Py_None
); resultobj
= Py_None
;
9221 if (temp2
) delete arg2
;
9226 if (temp2
) delete arg2
;
9232 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
= NULL
;
9234 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9236 int arg3
= (int) 0 ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 PyObject
* obj2
= 0 ;
9241 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail
;
9248 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9249 if (SWIG_arg_fail(2)) SWIG_fail
;
9253 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9254 if (SWIG_arg_fail(3)) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 (arg1
)->SetLeftIndent(arg2
,arg3
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 Py_INCREF(Py_None
); resultobj
= Py_None
;
9271 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= NULL
;
9273 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9278 (char *) "self",(char *) "indent", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9283 if (SWIG_arg_fail(1)) SWIG_fail
;
9285 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9286 if (SWIG_arg_fail(2)) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 (arg1
)->SetRightIndent(arg2
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 Py_INCREF(Py_None
); resultobj
= Py_None
;
9302 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
= NULL
;
9304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9309 (char *) "self",(char *) "flags", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail
;
9316 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9317 if (SWIG_arg_fail(2)) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 (arg1
)->SetFlags(arg2
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 Py_INCREF(Py_None
); resultobj
= Py_None
;
9333 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
= NULL
;
9335 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9337 PyObject
* obj0
= 0 ;
9339 (char *) "self", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9344 if (SWIG_arg_fail(1)) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9361 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= NULL
;
9363 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9372 if (SWIG_arg_fail(1)) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9389 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
= NULL
;
9391 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9395 (char *) "self", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9417 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
= NULL
;
9419 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9428 if (SWIG_arg_fail(1)) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9445 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
= NULL
;
9447 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9456 if (SWIG_arg_fail(1)) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9473 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= NULL
;
9475 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9479 (char *) "self", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9501 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
= NULL
;
9503 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9507 (char *) "self", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9529 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
= NULL
;
9531 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9537 (char *) "self",(char *) "flag", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9542 if (SWIG_arg_fail(1)) SWIG_fail
;
9544 arg2
= static_cast<long >(SWIG_As_long(obj1
));
9545 if (SWIG_arg_fail(2)) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
= NULL
;
9565 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9569 (char *) "self", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9574 if (SWIG_arg_fail(1)) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9579 result
= (wxColour
*) &_result_ref
;
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9592 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
= NULL
;
9594 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "self", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9603 if (SWIG_arg_fail(1)) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9608 result
= (wxColour
*) &_result_ref
;
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9621 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
= NULL
;
9623 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9625 PyObject
* obj0
= 0 ;
9627 (char *) "self", NULL
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9632 if (SWIG_arg_fail(1)) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9637 result
= (wxFont
*) &_result_ref
;
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9644 wxFont
* resultptr
= new wxFont(*result
);
9645 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9653 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
= NULL
;
9655 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9656 wxTextAttrAlignment result
;
9657 PyObject
* obj0
= 0 ;
9659 (char *) "self", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= SWIG_From_int((result
));
9679 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
= NULL
;
9681 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9683 PyObject
* obj0
= 0 ;
9685 (char *) "self", NULL
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9690 if (SWIG_arg_fail(1)) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9695 result
= (wxArrayInt
*) &_result_ref
;
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= PyList_New(0);
9704 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9705 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9706 PyList_Append(resultobj
, val
);
9716 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
= NULL
;
9718 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9720 PyObject
* obj0
= 0 ;
9722 (char *) "self", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9727 if (SWIG_arg_fail(1)) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= SWIG_From_long(static_cast<long >(result
));
9744 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
= NULL
;
9746 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9755 if (SWIG_arg_fail(1)) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= SWIG_From_long(static_cast<long >(result
));
9772 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
= NULL
;
9774 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "self", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9783 if (SWIG_arg_fail(1)) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= SWIG_From_long(static_cast<long >(result
));
9800 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
= NULL
;
9802 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9806 (char *) "self", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9811 if (SWIG_arg_fail(1)) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= SWIG_From_long(static_cast<long >(result
));
9828 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
= NULL
;
9830 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9839 if (SWIG_arg_fail(1)) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9856 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
= NULL
;
9858 wxTextAttr
*arg1
= 0 ;
9859 wxTextAttr
*arg2
= 0 ;
9860 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9864 PyObject
* obj2
= 0 ;
9866 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9872 if (SWIG_arg_fail(1)) SWIG_fail
;
9874 SWIG_null_ref("wxTextAttr");
9876 if (SWIG_arg_fail(1)) SWIG_fail
;
9879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9880 if (SWIG_arg_fail(2)) SWIG_fail
;
9882 SWIG_null_ref("wxTextAttr");
9884 if (SWIG_arg_fail(2)) SWIG_fail
;
9886 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9887 if (SWIG_arg_fail(3)) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9896 wxTextAttr
* resultptr
;
9897 resultptr
= new wxTextAttr(static_cast<wxTextAttr
& >(result
));
9898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9906 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9909 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9911 return Py_BuildValue((char *)"");
9913 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
= NULL
;
9915 wxWindow
*arg1
= (wxWindow
*) 0 ;
9916 int arg2
= (int) -1 ;
9917 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9918 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9923 long arg6
= (long) 0 ;
9924 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9925 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9926 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9927 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9929 bool temp3
= false ;
9932 bool temp8
= false ;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9935 PyObject
* obj2
= 0 ;
9936 PyObject
* obj3
= 0 ;
9937 PyObject
* obj4
= 0 ;
9938 PyObject
* obj5
= 0 ;
9939 PyObject
* obj6
= 0 ;
9940 PyObject
* obj7
= 0 ;
9942 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9947 if (SWIG_arg_fail(1)) SWIG_fail
;
9950 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9951 if (SWIG_arg_fail(2)) SWIG_fail
;
9956 arg3
= wxString_in_helper(obj2
);
9957 if (arg3
== NULL
) SWIG_fail
;
9964 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9970 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9975 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9976 if (SWIG_arg_fail(6)) SWIG_fail
;
9981 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9982 if (SWIG_arg_fail(7)) SWIG_fail
;
9984 SWIG_null_ref("wxValidator");
9986 if (SWIG_arg_fail(7)) SWIG_fail
;
9991 arg8
= wxString_in_helper(obj7
);
9992 if (arg8
== NULL
) SWIG_fail
;
9997 if (!wxPyCheckForApp()) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
10027 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
= NULL
;
10029 wxTextCtrl
*result
;
10030 char *kwnames
[] = {
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
10036 if (!wxPyCheckForApp()) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (wxTextCtrl
*)new wxTextCtrl();
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
10050 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
= NULL
;
10052 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10053 wxWindow
*arg2
= (wxWindow
*) 0 ;
10054 int arg3
= (int) -1 ;
10055 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10056 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10057 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10058 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10059 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10060 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10061 long arg7
= (long) 0 ;
10062 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10063 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10064 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
10065 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10067 bool temp4
= false ;
10070 bool temp9
= false ;
10071 PyObject
* obj0
= 0 ;
10072 PyObject
* obj1
= 0 ;
10073 PyObject
* obj2
= 0 ;
10074 PyObject
* obj3
= 0 ;
10075 PyObject
* obj4
= 0 ;
10076 PyObject
* obj5
= 0 ;
10077 PyObject
* obj6
= 0 ;
10078 PyObject
* obj7
= 0 ;
10079 PyObject
* obj8
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
10085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10086 if (SWIG_arg_fail(1)) SWIG_fail
;
10087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10088 if (SWIG_arg_fail(2)) SWIG_fail
;
10091 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10092 if (SWIG_arg_fail(3)) SWIG_fail
;
10097 arg4
= wxString_in_helper(obj3
);
10098 if (arg4
== NULL
) SWIG_fail
;
10105 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10111 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10116 arg7
= static_cast<long >(SWIG_As_long(obj6
));
10117 if (SWIG_arg_fail(7)) SWIG_fail
;
10122 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
10123 if (SWIG_arg_fail(8)) SWIG_fail
;
10124 if (arg8
== NULL
) {
10125 SWIG_null_ref("wxValidator");
10127 if (SWIG_arg_fail(8)) SWIG_fail
;
10132 arg9
= wxString_in_helper(obj8
);
10133 if (arg9
== NULL
) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10169 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
= NULL
;
10171 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10173 PyObject
* obj0
= 0 ;
10174 char *kwnames
[] = {
10175 (char *) "self", NULL
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10180 if (SWIG_arg_fail(1)) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10201 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
= NULL
;
10203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10204 wxString
*arg2
= 0 ;
10205 bool temp2
= false ;
10206 PyObject
* obj0
= 0 ;
10207 PyObject
* obj1
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self",(char *) "value", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10214 if (SWIG_arg_fail(1)) SWIG_fail
;
10216 arg2
= wxString_in_helper(obj1
);
10217 if (arg2
== NULL
) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 (arg1
)->SetValue((wxString
const &)*arg2
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 Py_INCREF(Py_None
); resultobj
= Py_None
;
10242 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
= NULL
;
10244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10248 PyObject
* obj0
= 0 ;
10249 PyObject
* obj1
= 0 ;
10250 PyObject
* obj2
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self",(char *) "from",(char *) "to", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail
;
10259 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10260 if (SWIG_arg_fail(2)) SWIG_fail
;
10263 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10264 if (SWIG_arg_fail(3)) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10286 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
= NULL
;
10288 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self",(char *) "lineNo", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10299 if (SWIG_arg_fail(1)) SWIG_fail
;
10301 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10302 if (SWIG_arg_fail(2)) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_From_int(static_cast<int >(result
));
10320 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
= NULL
;
10322 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "lineNo", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail
;
10335 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10336 if (SWIG_arg_fail(2)) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10358 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
= NULL
;
10360 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10369 if (SWIG_arg_fail(1)) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_From_int(static_cast<int >(result
));
10386 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
= NULL
;
10388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10397 if (SWIG_arg_fail(1)) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10414 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
= NULL
;
10416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10442 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
= NULL
;
10444 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10446 PyObject
* obj0
= 0 ;
10447 char *kwnames
[] = {
10448 (char *) "self", NULL
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10453 if (SWIG_arg_fail(1)) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10470 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
= NULL
;
10472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10474 PyObject
* obj0
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10481 if (SWIG_arg_fail(1)) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10498 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
= NULL
;
10500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10501 long *arg2
= (long *) 0 ;
10502 long *arg3
= (long *) 0 ;
10507 PyObject
* obj0
= 0 ;
10508 char *kwnames
[] = {
10509 (char *) "self", NULL
10512 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10513 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10516 if (SWIG_arg_fail(1)) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 Py_INCREF(Py_None
); resultobj
= Py_None
;
10525 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10526 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10527 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10528 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10535 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
= NULL
;
10537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10567 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
= NULL
;
10569 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10570 PyObject
* obj0
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10577 if (SWIG_arg_fail(1)) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 Py_INCREF(Py_None
); resultobj
= Py_None
;
10592 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= NULL
;
10594 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10597 wxString
*arg4
= 0 ;
10598 bool temp4
= false ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 PyObject
* obj2
= 0 ;
10602 PyObject
* obj3
= 0 ;
10603 char *kwnames
[] = {
10604 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10609 if (SWIG_arg_fail(1)) SWIG_fail
;
10611 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10612 if (SWIG_arg_fail(2)) SWIG_fail
;
10615 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10616 if (SWIG_arg_fail(3)) SWIG_fail
;
10619 arg4
= wxString_in_helper(obj3
);
10620 if (arg4
== NULL
) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10645 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
= NULL
;
10647 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 PyObject
* obj2
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self",(char *) "from",(char *) "to", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail
;
10661 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10662 if (SWIG_arg_fail(2)) SWIG_fail
;
10665 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10666 if (SWIG_arg_fail(3)) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->Remove(arg2
,arg3
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 Py_INCREF(Py_None
); resultobj
= Py_None
;
10682 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
= NULL
;
10684 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10685 wxString
*arg2
= 0 ;
10687 bool temp2
= false ;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self",(char *) "file", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10696 if (SWIG_arg_fail(1)) SWIG_fail
;
10698 arg2
= wxString_in_helper(obj1
);
10699 if (arg2
== NULL
) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10726 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
= NULL
;
10728 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10729 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10730 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10732 bool temp2
= false ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 char *kwnames
[] = {
10736 (char *) "self",(char *) "file", NULL
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10741 if (SWIG_arg_fail(1)) SWIG_fail
;
10744 arg2
= wxString_in_helper(obj1
);
10745 if (arg2
== NULL
) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10773 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
= NULL
;
10775 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10783 if (SWIG_arg_fail(1)) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 (arg1
)->MarkDirty();
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 Py_INCREF(Py_None
); resultobj
= Py_None
;
10798 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
= NULL
;
10800 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10808 if (SWIG_arg_fail(1)) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 (arg1
)->DiscardEdits();
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
= NULL
;
10825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10826 unsigned long arg2
;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self",(char *) "len", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10835 if (SWIG_arg_fail(1)) SWIG_fail
;
10837 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
10838 if (SWIG_arg_fail(2)) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 (arg1
)->SetMaxLength(arg2
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 Py_INCREF(Py_None
); resultobj
= Py_None
;
10854 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
= NULL
;
10856 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10857 wxString
*arg2
= 0 ;
10858 bool temp2
= false ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "text", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10867 if (SWIG_arg_fail(1)) SWIG_fail
;
10869 arg2
= wxString_in_helper(obj1
);
10870 if (arg2
== NULL
) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 (arg1
)->WriteText((wxString
const &)*arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 Py_INCREF(Py_None
); resultobj
= Py_None
;
10895 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
= NULL
;
10897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10898 wxString
*arg2
= 0 ;
10899 bool temp2
= false ;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self",(char *) "text", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10908 if (SWIG_arg_fail(1)) SWIG_fail
;
10910 arg2
= wxString_in_helper(obj1
);
10911 if (arg2
== NULL
) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 (arg1
)->AppendText((wxString
const &)*arg2
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 Py_INCREF(Py_None
); resultobj
= Py_None
;
10936 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
= NULL
;
10938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10939 wxKeyEvent
*arg2
= 0 ;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self",(char *) "event", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10949 if (SWIG_arg_fail(1)) SWIG_fail
;
10951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10952 if (SWIG_arg_fail(2)) SWIG_fail
;
10953 if (arg2
== NULL
) {
10954 SWIG_null_ref("wxKeyEvent");
10956 if (SWIG_arg_fail(2)) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10974 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
= NULL
;
10976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10979 wxTextAttr
*arg4
= 0 ;
10981 PyObject
* obj0
= 0 ;
10982 PyObject
* obj1
= 0 ;
10983 PyObject
* obj2
= 0 ;
10984 PyObject
* obj3
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail
;
10993 arg2
= static_cast<long >(SWIG_As_long(obj1
));
10994 if (SWIG_arg_fail(2)) SWIG_fail
;
10997 arg3
= static_cast<long >(SWIG_As_long(obj2
));
10998 if (SWIG_arg_fail(3)) SWIG_fail
;
11001 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
11002 if (SWIG_arg_fail(4)) SWIG_fail
;
11003 if (arg4
== NULL
) {
11004 SWIG_null_ref("wxTextAttr");
11006 if (SWIG_arg_fail(4)) SWIG_fail
;
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11024 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
= NULL
;
11026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11028 wxTextAttr
*arg3
= 0 ;
11030 PyObject
* obj0
= 0 ;
11031 PyObject
* obj1
= 0 ;
11032 PyObject
* obj2
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self",(char *) "position",(char *) "style", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11039 if (SWIG_arg_fail(1)) SWIG_fail
;
11041 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11042 if (SWIG_arg_fail(2)) SWIG_fail
;
11045 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
11046 if (SWIG_arg_fail(3)) SWIG_fail
;
11047 if (arg3
== NULL
) {
11048 SWIG_null_ref("wxTextAttr");
11050 if (SWIG_arg_fail(3)) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11068 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
= NULL
;
11070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11071 wxTextAttr
*arg2
= 0 ;
11073 PyObject
* obj0
= 0 ;
11074 PyObject
* obj1
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self",(char *) "style", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11081 if (SWIG_arg_fail(1)) SWIG_fail
;
11083 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
11084 if (SWIG_arg_fail(2)) SWIG_fail
;
11085 if (arg2
== NULL
) {
11086 SWIG_null_ref("wxTextAttr");
11088 if (SWIG_arg_fail(2)) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
= NULL
;
11108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11109 wxTextAttr
*result
;
11110 PyObject
* obj0
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
11116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
11122 result
= (wxTextAttr
*) &_result_ref
;
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
11135 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
= NULL
;
11137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11143 PyObject
* obj2
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self",(char *) "x",(char *) "y", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11150 if (SWIG_arg_fail(1)) SWIG_fail
;
11152 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11153 if (SWIG_arg_fail(2)) SWIG_fail
;
11156 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11157 if (SWIG_arg_fail(3)) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 resultobj
= SWIG_From_long(static_cast<long >(result
));
11175 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
= NULL
;
11177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11179 long *arg3
= (long *) 0 ;
11180 long *arg4
= (long *) 0 ;
11185 PyObject
* obj0
= 0 ;
11186 PyObject
* obj1
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self",(char *) "pos", NULL
11191 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11192 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
11194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11195 if (SWIG_arg_fail(1)) SWIG_fail
;
11197 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11198 if (SWIG_arg_fail(2)) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 Py_INCREF(Py_None
); resultobj
= Py_None
;
11208 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11209 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11210 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11211 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11218 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
= NULL
;
11220 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 PyObject
* obj1
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self",(char *) "pos", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11230 if (SWIG_arg_fail(1)) SWIG_fail
;
11232 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11233 if (SWIG_arg_fail(2)) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 (arg1
)->ShowPosition(arg2
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 Py_INCREF(Py_None
); resultobj
= Py_None
;
11249 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
= NULL
;
11251 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11252 wxPoint
*arg2
= 0 ;
11253 long *arg3
= (long *) 0 ;
11254 long *arg4
= (long *) 0 ;
11255 wxTextCtrlHitTestResult result
;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self",(char *) "pt", NULL
11267 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11268 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11271 if (SWIG_arg_fail(1)) SWIG_fail
;
11274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= SWIG_From_int((result
));
11284 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11285 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11286 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11287 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11294 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
= NULL
;
11296 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11297 wxPoint
*arg2
= 0 ;
11298 long *arg3
= (long *) 0 ;
11299 wxTextCtrlHitTestResult result
;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self",(char *) "pt", NULL
11309 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail
;
11315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_From_int((result
));
11325 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11326 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11333 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
= NULL
;
11335 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 Py_INCREF(Py_None
); resultobj
= Py_None
;
11358 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
= NULL
;
11360 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11368 if (SWIG_arg_fail(1)) SWIG_fail
;
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 Py_INCREF(Py_None
); resultobj
= Py_None
;
11383 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
= NULL
;
11385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11386 PyObject
* obj0
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "self", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11393 if (SWIG_arg_fail(1)) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 Py_INCREF(Py_None
); resultobj
= Py_None
;
11408 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
= NULL
;
11410 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11412 PyObject
* obj0
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "self", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11419 if (SWIG_arg_fail(1)) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11436 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
= NULL
;
11438 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11440 PyObject
* obj0
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "self", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11447 if (SWIG_arg_fail(1)) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11464 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
= NULL
;
11466 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11468 PyObject
* obj0
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11475 if (SWIG_arg_fail(1)) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11492 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
= NULL
;
11494 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11502 if (SWIG_arg_fail(1)) SWIG_fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 Py_INCREF(Py_None
); resultobj
= Py_None
;
11517 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
= NULL
;
11519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 Py_INCREF(Py_None
); resultobj
= Py_None
;
11542 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
= NULL
;
11544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11553 if (SWIG_arg_fail(1)) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11570 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
= NULL
;
11572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11574 PyObject
* obj0
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11581 if (SWIG_arg_fail(1)) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11598 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
= NULL
;
11600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self",(char *) "pos", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11610 if (SWIG_arg_fail(1)) SWIG_fail
;
11612 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11613 if (SWIG_arg_fail(2)) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 (arg1
)->SetInsertionPoint(arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11629 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
= NULL
;
11631 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "self", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11639 if (SWIG_arg_fail(1)) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 (arg1
)->SetInsertionPointEnd();
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 Py_INCREF(Py_None
); resultobj
= Py_None
;
11654 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
= NULL
;
11656 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11658 PyObject
* obj0
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11665 if (SWIG_arg_fail(1)) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_From_long(static_cast<long >(result
));
11682 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
= NULL
;
11684 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11686 PyObject
* obj0
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11693 if (SWIG_arg_fail(1)) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_From_long(static_cast<long >(result
));
11710 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
= NULL
;
11712 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11718 char *kwnames
[] = {
11719 (char *) "self",(char *) "from",(char *) "to", NULL
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11724 if (SWIG_arg_fail(1)) SWIG_fail
;
11726 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11727 if (SWIG_arg_fail(2)) SWIG_fail
;
11730 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11731 if (SWIG_arg_fail(3)) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 (arg1
)->SetSelection(arg2
,arg3
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 Py_INCREF(Py_None
); resultobj
= Py_None
;
11747 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
= NULL
;
11749 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11750 PyObject
* obj0
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11757 if (SWIG_arg_fail(1)) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 (arg1
)->SelectAll();
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11765 Py_INCREF(Py_None
); resultobj
= Py_None
;
11772 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
= NULL
;
11774 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11776 PyObject
* obj0
= 0 ;
11777 PyObject
* obj1
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self",(char *) "editable", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11784 if (SWIG_arg_fail(1)) SWIG_fail
;
11786 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11787 if (SWIG_arg_fail(2)) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 (arg1
)->SetEditable(arg2
);
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 Py_INCREF(Py_None
); resultobj
= Py_None
;
11803 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
= NULL
;
11805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11806 wxString
*arg2
= 0 ;
11807 bool temp2
= false ;
11808 PyObject
* obj0
= 0 ;
11809 PyObject
* obj1
= 0 ;
11810 char *kwnames
[] = {
11811 (char *) "self",(char *) "text", NULL
11814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11816 if (SWIG_arg_fail(1)) SWIG_fail
;
11818 arg2
= wxString_in_helper(obj1
);
11819 if (arg2
== NULL
) SWIG_fail
;
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11829 Py_INCREF(Py_None
); resultobj
= Py_None
;
11844 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
= NULL
;
11846 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11850 PyObject
* obj0
= 0 ;
11851 PyObject
* obj1
= 0 ;
11852 PyObject
* obj2
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self",(char *) "from",(char *) "to", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail
;
11861 arg2
= static_cast<long >(SWIG_As_long(obj1
));
11862 if (SWIG_arg_fail(2)) SWIG_fail
;
11865 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11866 if (SWIG_arg_fail(3)) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11888 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
= NULL
;
11890 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11891 wxVisualAttributes result
;
11892 PyObject
* obj0
= 0 ;
11893 char *kwnames
[] = {
11894 (char *) "variant", NULL
11897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11900 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
11901 if (SWIG_arg_fail(1)) SWIG_fail
;
11905 if (!wxPyCheckForApp()) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 wxVisualAttributes
* resultptr
;
11914 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
11915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11923 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11926 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11928 return Py_BuildValue((char *)"");
11930 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
= NULL
;
11933 wxMouseEvent
*arg2
= 0 ;
11936 wxTextUrlEvent
*result
;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 PyObject
* obj2
= 0 ;
11940 PyObject
* obj3
= 0 ;
11941 char *kwnames
[] = {
11942 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11947 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11948 if (SWIG_arg_fail(1)) SWIG_fail
;
11951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11952 if (SWIG_arg_fail(2)) SWIG_fail
;
11953 if (arg2
== NULL
) {
11954 SWIG_null_ref("wxMouseEvent");
11956 if (SWIG_arg_fail(2)) SWIG_fail
;
11959 arg3
= static_cast<long >(SWIG_As_long(obj2
));
11960 if (SWIG_arg_fail(3)) SWIG_fail
;
11963 arg4
= static_cast<long >(SWIG_As_long(obj3
));
11964 if (SWIG_arg_fail(4)) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11980 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
= NULL
;
11982 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11983 wxMouseEvent
*result
;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11991 if (SWIG_arg_fail(1)) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11996 result
= (wxMouseEvent
*) &_result_ref
;
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
12009 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
= NULL
;
12011 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
12013 PyObject
* obj0
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
12019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= SWIG_From_long(static_cast<long >(result
));
12037 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
= NULL
;
12039 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
12047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_From_long(static_cast<long >(result
));
12065 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
12067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12068 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
12070 return Py_BuildValue((char *)"");
12072 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
12073 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
12078 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
12079 PyObject
*pyobj
= NULL
;
12083 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
12085 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
12092 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
= NULL
;
12094 wxWindow
*arg1
= (wxWindow
*) 0 ;
12095 int arg2
= (int) -1 ;
12096 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12097 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12098 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12099 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12100 long arg5
= (long) wxSB_HORIZONTAL
;
12101 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
12102 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
12103 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
12104 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12105 wxScrollBar
*result
;
12108 bool temp7
= false ;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 PyObject
* obj2
= 0 ;
12112 PyObject
* obj3
= 0 ;
12113 PyObject
* obj4
= 0 ;
12114 PyObject
* obj5
= 0 ;
12115 PyObject
* obj6
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail
;
12125 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12126 if (SWIG_arg_fail(2)) SWIG_fail
;
12132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12138 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12143 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12144 if (SWIG_arg_fail(5)) SWIG_fail
;
12149 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12150 if (SWIG_arg_fail(6)) SWIG_fail
;
12151 if (arg6
== NULL
) {
12152 SWIG_null_ref("wxValidator");
12154 if (SWIG_arg_fail(6)) SWIG_fail
;
12159 arg7
= wxString_in_helper(obj6
);
12160 if (arg7
== NULL
) SWIG_fail
;
12165 if (!wxPyCheckForApp()) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12187 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
= NULL
;
12189 wxScrollBar
*result
;
12190 char *kwnames
[] = {
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12196 if (!wxPyCheckForApp()) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 result
= (wxScrollBar
*)new wxScrollBar();
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12210 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
= NULL
;
12212 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12213 wxWindow
*arg2
= (wxWindow
*) 0 ;
12214 int arg3
= (int) -1 ;
12215 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12216 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12217 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12218 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12219 long arg6
= (long) wxSB_HORIZONTAL
;
12220 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12221 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12222 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12223 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12227 bool temp8
= false ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 PyObject
* obj2
= 0 ;
12231 PyObject
* obj3
= 0 ;
12232 PyObject
* obj4
= 0 ;
12233 PyObject
* obj5
= 0 ;
12234 PyObject
* obj6
= 0 ;
12235 PyObject
* obj7
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail
;
12243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12244 if (SWIG_arg_fail(2)) SWIG_fail
;
12247 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12248 if (SWIG_arg_fail(3)) SWIG_fail
;
12254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12265 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12266 if (SWIG_arg_fail(6)) SWIG_fail
;
12271 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12272 if (SWIG_arg_fail(7)) SWIG_fail
;
12273 if (arg7
== NULL
) {
12274 SWIG_null_ref("wxValidator");
12276 if (SWIG_arg_fail(7)) SWIG_fail
;
12281 arg8
= wxString_in_helper(obj7
);
12282 if (arg8
== NULL
) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12310 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
= NULL
;
12312 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12321 if (SWIG_arg_fail(1)) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_From_int(static_cast<int >(result
));
12338 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
= NULL
;
12340 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12349 if (SWIG_arg_fail(1)) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_From_int(static_cast<int >(result
));
12366 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
= NULL
;
12368 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12377 if (SWIG_arg_fail(1)) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_From_int(static_cast<int >(result
));
12394 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
= NULL
;
12396 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12405 if (SWIG_arg_fail(1)) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= SWIG_From_int(static_cast<int >(result
));
12422 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
= NULL
;
12424 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12433 if (SWIG_arg_fail(1)) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12450 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
= NULL
;
12452 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 PyObject
* obj1
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self",(char *) "viewStart", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12462 if (SWIG_arg_fail(1)) SWIG_fail
;
12464 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12465 if (SWIG_arg_fail(2)) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 (arg1
)->SetThumbPosition(arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 Py_INCREF(Py_None
); resultobj
= Py_None
;
12481 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
= NULL
;
12483 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12488 bool arg6
= (bool) true ;
12489 PyObject
* obj0
= 0 ;
12490 PyObject
* obj1
= 0 ;
12491 PyObject
* obj2
= 0 ;
12492 PyObject
* obj3
= 0 ;
12493 PyObject
* obj4
= 0 ;
12494 PyObject
* obj5
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12501 if (SWIG_arg_fail(1)) SWIG_fail
;
12503 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12504 if (SWIG_arg_fail(2)) SWIG_fail
;
12507 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12508 if (SWIG_arg_fail(3)) SWIG_fail
;
12511 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12512 if (SWIG_arg_fail(4)) SWIG_fail
;
12515 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12516 if (SWIG_arg_fail(5)) SWIG_fail
;
12520 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
12521 if (SWIG_arg_fail(6)) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 Py_INCREF(Py_None
); resultobj
= Py_None
;
12538 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
= NULL
;
12540 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12541 wxVisualAttributes result
;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "variant", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12550 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
12551 if (SWIG_arg_fail(1)) SWIG_fail
;
12555 if (!wxPyCheckForApp()) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 wxVisualAttributes
* resultptr
;
12564 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
12565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12573 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12576 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12578 return Py_BuildValue((char *)"");
12580 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12581 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12586 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12587 PyObject
*pyobj
= NULL
;
12591 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12593 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12600 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12601 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12606 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12607 PyObject
*pyobj
= NULL
;
12611 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12613 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12620 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
= NULL
;
12622 wxWindow
*arg1
= (wxWindow
*) 0 ;
12623 int arg2
= (int) -1 ;
12624 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12625 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12626 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12627 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12628 long arg5
= (long) wxSP_HORIZONTAL
;
12629 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12630 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12631 wxSpinButton
*result
;
12634 bool temp6
= false ;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj1
= 0 ;
12637 PyObject
* obj2
= 0 ;
12638 PyObject
* obj3
= 0 ;
12639 PyObject
* obj4
= 0 ;
12640 PyObject
* obj5
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12647 if (SWIG_arg_fail(1)) SWIG_fail
;
12650 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12651 if (SWIG_arg_fail(2)) SWIG_fail
;
12657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12663 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12668 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12669 if (SWIG_arg_fail(5)) SWIG_fail
;
12674 arg6
= wxString_in_helper(obj5
);
12675 if (arg6
== NULL
) SWIG_fail
;
12680 if (!wxPyCheckForApp()) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12702 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
= NULL
;
12704 wxSpinButton
*result
;
12705 char *kwnames
[] = {
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12711 if (!wxPyCheckForApp()) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (wxSpinButton
*)new wxSpinButton();
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12725 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
= NULL
;
12727 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12728 wxWindow
*arg2
= (wxWindow
*) 0 ;
12729 int arg3
= (int) -1 ;
12730 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12731 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12732 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12733 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12734 long arg6
= (long) wxSP_HORIZONTAL
;
12735 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12736 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12740 bool temp7
= false ;
12741 PyObject
* obj0
= 0 ;
12742 PyObject
* obj1
= 0 ;
12743 PyObject
* obj2
= 0 ;
12744 PyObject
* obj3
= 0 ;
12745 PyObject
* obj4
= 0 ;
12746 PyObject
* obj5
= 0 ;
12747 PyObject
* obj6
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12754 if (SWIG_arg_fail(1)) SWIG_fail
;
12755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12756 if (SWIG_arg_fail(2)) SWIG_fail
;
12759 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12760 if (SWIG_arg_fail(3)) SWIG_fail
;
12766 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12772 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12777 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12778 if (SWIG_arg_fail(6)) SWIG_fail
;
12783 arg7
= wxString_in_helper(obj6
);
12784 if (arg7
== NULL
) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12812 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= NULL
;
12814 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_From_int(static_cast<int >(result
));
12840 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
= NULL
;
12842 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= SWIG_From_int(static_cast<int >(result
));
12868 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
= NULL
;
12870 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 resultobj
= SWIG_From_int(static_cast<int >(result
));
12896 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
= NULL
;
12898 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 PyObject
* obj1
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self",(char *) "val", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12908 if (SWIG_arg_fail(1)) SWIG_fail
;
12910 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12911 if (SWIG_arg_fail(2)) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 (arg1
)->SetValue(arg2
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 Py_INCREF(Py_None
); resultobj
= Py_None
;
12927 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
= NULL
;
12929 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "self",(char *) "minVal", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12939 if (SWIG_arg_fail(1)) SWIG_fail
;
12941 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12942 if (SWIG_arg_fail(2)) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->SetMin(arg2
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 Py_INCREF(Py_None
); resultobj
= Py_None
;
12958 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
= NULL
;
12960 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self",(char *) "maxVal", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12970 if (SWIG_arg_fail(1)) SWIG_fail
;
12972 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12973 if (SWIG_arg_fail(2)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 (arg1
)->SetMax(arg2
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 Py_INCREF(Py_None
); resultobj
= Py_None
;
12989 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
= NULL
;
12991 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 PyObject
* obj2
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
13003 if (SWIG_arg_fail(1)) SWIG_fail
;
13005 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13006 if (SWIG_arg_fail(2)) SWIG_fail
;
13009 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13010 if (SWIG_arg_fail(3)) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 (arg1
)->SetRange(arg2
,arg3
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 Py_INCREF(Py_None
); resultobj
= Py_None
;
13026 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
= NULL
;
13028 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
13036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
13037 if (SWIG_arg_fail(1)) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13054 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
= NULL
;
13056 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13057 wxVisualAttributes result
;
13058 PyObject
* obj0
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "variant", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13066 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13067 if (SWIG_arg_fail(1)) SWIG_fail
;
13071 if (!wxPyCheckForApp()) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13079 wxVisualAttributes
* resultptr
;
13080 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13089 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
13091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13092 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
13094 return Py_BuildValue((char *)"");
13096 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
= NULL
;
13098 wxWindow
*arg1
= (wxWindow
*) 0 ;
13099 int arg2
= (int) -1 ;
13100 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13101 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13102 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13103 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13104 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13105 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13106 long arg6
= (long) wxSP_ARROW_KEYS
;
13107 int arg7
= (int) 0 ;
13108 int arg8
= (int) 100 ;
13109 int arg9
= (int) 0 ;
13110 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
13111 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13112 wxSpinCtrl
*result
;
13113 bool temp3
= false ;
13116 bool temp10
= false ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 PyObject
* obj2
= 0 ;
13120 PyObject
* obj3
= 0 ;
13121 PyObject
* obj4
= 0 ;
13122 PyObject
* obj5
= 0 ;
13123 PyObject
* obj6
= 0 ;
13124 PyObject
* obj7
= 0 ;
13125 PyObject
* obj8
= 0 ;
13126 PyObject
* obj9
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13133 if (SWIG_arg_fail(1)) SWIG_fail
;
13136 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13137 if (SWIG_arg_fail(2)) SWIG_fail
;
13142 arg3
= wxString_in_helper(obj2
);
13143 if (arg3
== NULL
) SWIG_fail
;
13150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13161 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13162 if (SWIG_arg_fail(6)) SWIG_fail
;
13167 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13168 if (SWIG_arg_fail(7)) SWIG_fail
;
13173 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13174 if (SWIG_arg_fail(8)) SWIG_fail
;
13179 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13180 if (SWIG_arg_fail(9)) SWIG_fail
;
13185 arg10
= wxString_in_helper(obj9
);
13186 if (arg10
== NULL
) SWIG_fail
;
13191 if (!wxPyCheckForApp()) SWIG_fail
;
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13221 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
= NULL
;
13223 wxSpinCtrl
*result
;
13224 char *kwnames
[] = {
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13230 if (!wxPyCheckForApp()) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13244 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
= NULL
;
13246 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13247 wxWindow
*arg2
= (wxWindow
*) 0 ;
13248 int arg3
= (int) -1 ;
13249 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13250 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13251 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13252 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13253 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13254 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13255 long arg7
= (long) wxSP_ARROW_KEYS
;
13256 int arg8
= (int) 0 ;
13257 int arg9
= (int) 100 ;
13258 int arg10
= (int) 0 ;
13259 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13260 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13262 bool temp4
= false ;
13265 bool temp11
= false ;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 PyObject
* obj2
= 0 ;
13269 PyObject
* obj3
= 0 ;
13270 PyObject
* obj4
= 0 ;
13271 PyObject
* obj5
= 0 ;
13272 PyObject
* obj6
= 0 ;
13273 PyObject
* obj7
= 0 ;
13274 PyObject
* obj8
= 0 ;
13275 PyObject
* obj9
= 0 ;
13276 PyObject
* obj10
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13283 if (SWIG_arg_fail(1)) SWIG_fail
;
13284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13285 if (SWIG_arg_fail(2)) SWIG_fail
;
13288 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13289 if (SWIG_arg_fail(3)) SWIG_fail
;
13294 arg4
= wxString_in_helper(obj3
);
13295 if (arg4
== NULL
) SWIG_fail
;
13302 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13308 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13313 arg7
= static_cast<long >(SWIG_As_long(obj6
));
13314 if (SWIG_arg_fail(7)) SWIG_fail
;
13319 arg8
= static_cast<int >(SWIG_As_int(obj7
));
13320 if (SWIG_arg_fail(8)) SWIG_fail
;
13325 arg9
= static_cast<int >(SWIG_As_int(obj8
));
13326 if (SWIG_arg_fail(9)) SWIG_fail
;
13331 arg10
= static_cast<int >(SWIG_As_int(obj9
));
13332 if (SWIG_arg_fail(10)) SWIG_fail
;
13337 arg11
= wxString_in_helper(obj10
);
13338 if (arg11
== NULL
) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13374 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
= NULL
;
13376 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13385 if (SWIG_arg_fail(1)) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_From_int(static_cast<int >(result
));
13402 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
= NULL
;
13404 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 char *kwnames
[] = {
13409 (char *) "self",(char *) "value", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13414 if (SWIG_arg_fail(1)) SWIG_fail
;
13416 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13417 if (SWIG_arg_fail(2)) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 (arg1
)->SetValue(arg2
);
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 Py_INCREF(Py_None
); resultobj
= Py_None
;
13433 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
= NULL
;
13435 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13436 wxString
*arg2
= 0 ;
13437 bool temp2
= false ;
13438 PyObject
* obj0
= 0 ;
13439 PyObject
* obj1
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self",(char *) "text", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
13449 if (arg2
== NULL
) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 (arg1
)->SetValue((wxString
const &)*arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 Py_INCREF(Py_None
); resultobj
= Py_None
;
13474 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
= NULL
;
13476 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 PyObject
* obj1
= 0 ;
13481 PyObject
* obj2
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13488 if (SWIG_arg_fail(1)) SWIG_fail
;
13490 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13491 if (SWIG_arg_fail(2)) SWIG_fail
;
13494 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13495 if (SWIG_arg_fail(3)) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 (arg1
)->SetRange(arg2
,arg3
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 Py_INCREF(Py_None
); resultobj
= Py_None
;
13511 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
= NULL
;
13513 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "self", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13522 if (SWIG_arg_fail(1)) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_From_int(static_cast<int >(result
));
13539 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
= NULL
;
13541 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13543 PyObject
* obj0
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13550 if (SWIG_arg_fail(1)) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= SWIG_From_int(static_cast<int >(result
));
13567 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
= NULL
;
13569 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13572 PyObject
* obj0
= 0 ;
13573 PyObject
* obj1
= 0 ;
13574 PyObject
* obj2
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self",(char *) "from",(char *) "to", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13581 if (SWIG_arg_fail(1)) SWIG_fail
;
13583 arg2
= static_cast<long >(SWIG_As_long(obj1
));
13584 if (SWIG_arg_fail(2)) SWIG_fail
;
13587 arg3
= static_cast<long >(SWIG_As_long(obj2
));
13588 if (SWIG_arg_fail(3)) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 (arg1
)->SetSelection(arg2
,arg3
);
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 Py_INCREF(Py_None
); resultobj
= Py_None
;
13604 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
= NULL
;
13606 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13607 wxVisualAttributes result
;
13608 PyObject
* obj0
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "variant", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13616 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
13617 if (SWIG_arg_fail(1)) SWIG_fail
;
13621 if (!wxPyCheckForApp()) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13629 wxVisualAttributes
* resultptr
;
13630 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
13631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13639 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13642 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13644 return Py_BuildValue((char *)"");
13646 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
= NULL
;
13648 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13649 int arg2
= (int) 0 ;
13650 wxSpinEvent
*result
;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "commandType",(char *) "winid", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13660 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13661 if (SWIG_arg_fail(1)) SWIG_fail
;
13666 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13667 if (SWIG_arg_fail(2)) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13684 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
= NULL
;
13686 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13688 PyObject
* obj0
= 0 ;
13689 char *kwnames
[] = {
13690 (char *) "self", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13695 if (SWIG_arg_fail(1)) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13704 resultobj
= SWIG_From_int(static_cast<int >(result
));
13712 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
= NULL
;
13714 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13716 PyObject
* obj0
= 0 ;
13717 PyObject
* obj1
= 0 ;
13718 char *kwnames
[] = {
13719 (char *) "self",(char *) "pos", NULL
13722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13724 if (SWIG_arg_fail(1)) SWIG_fail
;
13726 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13727 if (SWIG_arg_fail(2)) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 (arg1
)->SetPosition(arg2
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 Py_INCREF(Py_None
); resultobj
= Py_None
;
13743 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13746 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13748 return Py_BuildValue((char *)"");
13750 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13751 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13756 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13757 PyObject
*pyobj
= NULL
;
13761 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13763 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13770 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13771 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13776 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13777 PyObject
*pyobj
= NULL
;
13781 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13783 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13790 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
= NULL
;
13792 wxWindow
*arg1
= (wxWindow
*) 0 ;
13793 int arg2
= (int) -1 ;
13794 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13795 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13796 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13797 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13798 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13799 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13800 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13801 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13802 int arg7
= (int) 0 ;
13803 long arg8
= (long) wxRA_HORIZONTAL
;
13804 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13805 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13806 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13807 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13808 wxRadioBox
*result
;
13809 bool temp3
= false ;
13812 bool temp6
= false ;
13813 bool temp10
= false ;
13814 PyObject
* obj0
= 0 ;
13815 PyObject
* obj1
= 0 ;
13816 PyObject
* obj2
= 0 ;
13817 PyObject
* obj3
= 0 ;
13818 PyObject
* obj4
= 0 ;
13819 PyObject
* obj5
= 0 ;
13820 PyObject
* obj6
= 0 ;
13821 PyObject
* obj7
= 0 ;
13822 PyObject
* obj8
= 0 ;
13823 PyObject
* obj9
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13830 if (SWIG_arg_fail(1)) SWIG_fail
;
13833 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13834 if (SWIG_arg_fail(2)) SWIG_fail
;
13839 arg3
= wxString_in_helper(obj2
);
13840 if (arg3
== NULL
) SWIG_fail
;
13847 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13853 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13858 if (! PySequence_Check(obj5
)) {
13859 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13862 arg6
= new wxArrayString
;
13864 int i
, len
=PySequence_Length(obj5
);
13865 for (i
=0; i
<len
; i
++) {
13866 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13867 wxString
* s
= wxString_in_helper(item
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13877 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13878 if (SWIG_arg_fail(7)) SWIG_fail
;
13883 arg8
= static_cast<long >(SWIG_As_long(obj7
));
13884 if (SWIG_arg_fail(8)) SWIG_fail
;
13889 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13890 if (SWIG_arg_fail(9)) SWIG_fail
;
13891 if (arg9
== NULL
) {
13892 SWIG_null_ref("wxValidator");
13894 if (SWIG_arg_fail(9)) SWIG_fail
;
13899 arg10
= wxString_in_helper(obj9
);
13900 if (arg10
== NULL
) SWIG_fail
;
13905 if (!wxPyCheckForApp()) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 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
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13918 if (temp6
) delete arg6
;
13931 if (temp6
) delete arg6
;
13941 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
= NULL
;
13943 wxRadioBox
*result
;
13944 char *kwnames
[] = {
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13950 if (!wxPyCheckForApp()) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (wxRadioBox
*)new wxRadioBox();
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13964 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13965 PyObject
*resultobj
= NULL
;
13966 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13967 wxWindow
*arg2
= (wxWindow
*) 0 ;
13968 int arg3
= (int) -1 ;
13969 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13970 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13971 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13972 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13973 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13974 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13975 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13976 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13977 int arg8
= (int) 0 ;
13978 long arg9
= (long) wxRA_HORIZONTAL
;
13979 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13980 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13981 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13982 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13984 bool temp4
= false ;
13987 bool temp7
= false ;
13988 bool temp11
= false ;
13989 PyObject
* obj0
= 0 ;
13990 PyObject
* obj1
= 0 ;
13991 PyObject
* obj2
= 0 ;
13992 PyObject
* obj3
= 0 ;
13993 PyObject
* obj4
= 0 ;
13994 PyObject
* obj5
= 0 ;
13995 PyObject
* obj6
= 0 ;
13996 PyObject
* obj7
= 0 ;
13997 PyObject
* obj8
= 0 ;
13998 PyObject
* obj9
= 0 ;
13999 PyObject
* obj10
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14006 if (SWIG_arg_fail(1)) SWIG_fail
;
14007 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14008 if (SWIG_arg_fail(2)) SWIG_fail
;
14011 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14012 if (SWIG_arg_fail(3)) SWIG_fail
;
14017 arg4
= wxString_in_helper(obj3
);
14018 if (arg4
== NULL
) SWIG_fail
;
14025 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14031 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14036 if (! PySequence_Check(obj6
)) {
14037 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14040 arg7
= new wxArrayString
;
14042 int i
, len
=PySequence_Length(obj6
);
14043 for (i
=0; i
<len
; i
++) {
14044 PyObject
* item
= PySequence_GetItem(obj6
, i
);
14045 wxString
* s
= wxString_in_helper(item
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14055 arg8
= static_cast<int >(SWIG_As_int(obj7
));
14056 if (SWIG_arg_fail(8)) SWIG_fail
;
14061 arg9
= static_cast<long >(SWIG_As_long(obj8
));
14062 if (SWIG_arg_fail(9)) SWIG_fail
;
14067 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14068 if (SWIG_arg_fail(10)) SWIG_fail
;
14069 if (arg10
== NULL
) {
14070 SWIG_null_ref("wxValidator");
14072 if (SWIG_arg_fail(10)) SWIG_fail
;
14077 arg11
= wxString_in_helper(obj10
);
14078 if (arg11
== NULL
) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 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
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14097 if (temp7
) delete arg7
;
14110 if (temp7
) delete arg7
;
14120 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
= NULL
;
14122 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self",(char *) "n", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14132 if (SWIG_arg_fail(1)) SWIG_fail
;
14134 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14135 if (SWIG_arg_fail(2)) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 (arg1
)->SetSelection(arg2
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 Py_INCREF(Py_None
); resultobj
= Py_None
;
14151 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
= NULL
;
14153 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14155 PyObject
* obj0
= 0 ;
14156 char *kwnames
[] = {
14157 (char *) "self", NULL
14160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
14161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14162 if (SWIG_arg_fail(1)) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= SWIG_From_int(static_cast<int >(result
));
14179 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
= NULL
;
14181 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14190 if (SWIG_arg_fail(1)) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14211 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
= NULL
;
14213 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14214 wxString
*arg2
= 0 ;
14216 bool temp2
= false ;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 char *kwnames
[] = {
14220 (char *) "self",(char *) "s", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14225 if (SWIG_arg_fail(1)) SWIG_fail
;
14227 arg2
= wxString_in_helper(obj1
);
14228 if (arg2
== NULL
) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14255 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14256 PyObject
*resultobj
= NULL
;
14257 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14259 PyObject
* obj0
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14266 if (SWIG_arg_fail(1)) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= SWIG_From_int(static_cast<int >(result
));
14283 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
= NULL
;
14285 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14286 wxString
*arg2
= 0 ;
14288 bool temp2
= false ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self",(char *) "s", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14297 if (SWIG_arg_fail(1)) SWIG_fail
;
14299 arg2
= wxString_in_helper(obj1
);
14300 if (arg2
== NULL
) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_From_int(static_cast<int >(result
));
14327 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
= NULL
;
14329 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 PyObject
* obj1
= 0 ;
14334 char *kwnames
[] = {
14335 (char *) "self",(char *) "n", NULL
14338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14340 if (SWIG_arg_fail(1)) SWIG_fail
;
14342 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14343 if (SWIG_arg_fail(2)) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14365 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
= NULL
;
14367 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14369 wxString
*arg3
= 0 ;
14370 bool temp3
= false ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 PyObject
* obj2
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self",(char *) "n",(char *) "label", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14380 if (SWIG_arg_fail(1)) SWIG_fail
;
14382 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14383 if (SWIG_arg_fail(2)) SWIG_fail
;
14386 arg3
= wxString_in_helper(obj2
);
14387 if (arg3
== NULL
) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 Py_INCREF(Py_None
); resultobj
= Py_None
;
14412 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
= NULL
;
14414 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14416 bool arg3
= (bool) true ;
14417 PyObject
* obj0
= 0 ;
14418 PyObject
* obj1
= 0 ;
14419 PyObject
* obj2
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self",(char *) "n",(char *) "enable", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail
;
14428 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14429 if (SWIG_arg_fail(2)) SWIG_fail
;
14433 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14434 if (SWIG_arg_fail(3)) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 (arg1
)->Enable(arg2
,arg3
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 Py_INCREF(Py_None
); resultobj
= Py_None
;
14451 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
= NULL
;
14453 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14455 bool arg3
= (bool) true ;
14456 PyObject
* obj0
= 0 ;
14457 PyObject
* obj1
= 0 ;
14458 PyObject
* obj2
= 0 ;
14459 char *kwnames
[] = {
14460 (char *) "self",(char *) "n",(char *) "show", NULL
14463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14465 if (SWIG_arg_fail(1)) SWIG_fail
;
14467 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14468 if (SWIG_arg_fail(2)) SWIG_fail
;
14472 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14473 if (SWIG_arg_fail(3)) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 (arg1
)->Show(arg2
,arg3
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 Py_INCREF(Py_None
); resultobj
= Py_None
;
14490 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
= NULL
;
14492 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14501 if (SWIG_arg_fail(1)) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= SWIG_From_int(static_cast<int >(result
));
14518 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
= NULL
;
14520 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14529 if (SWIG_arg_fail(1)) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_From_int(static_cast<int >(result
));
14546 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
= NULL
;
14548 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 PyObject
* obj2
= 0 ;
14556 PyObject
* obj3
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail
;
14565 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14566 if (SWIG_arg_fail(2)) SWIG_fail
;
14569 arg3
= static_cast<wxDirection
>(SWIG_As_int(obj2
));
14570 if (SWIG_arg_fail(3)) SWIG_fail
;
14573 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14574 if (SWIG_arg_fail(4)) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,arg3
,arg4
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_From_int(static_cast<int >(result
));
14592 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
= NULL
;
14594 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14595 wxVisualAttributes result
;
14596 PyObject
* obj0
= 0 ;
14597 char *kwnames
[] = {
14598 (char *) "variant", NULL
14601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14604 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14605 if (SWIG_arg_fail(1)) SWIG_fail
;
14609 if (!wxPyCheckForApp()) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14617 wxVisualAttributes
* resultptr
;
14618 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14627 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14630 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14632 return Py_BuildValue((char *)"");
14634 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
= NULL
;
14636 wxWindow
*arg1
= (wxWindow
*) 0 ;
14637 int arg2
= (int) -1 ;
14638 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14639 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14644 long arg6
= (long) 0 ;
14645 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14646 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14647 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14648 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14649 wxRadioButton
*result
;
14650 bool temp3
= false ;
14653 bool temp8
= false ;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 PyObject
* obj2
= 0 ;
14657 PyObject
* obj3
= 0 ;
14658 PyObject
* obj4
= 0 ;
14659 PyObject
* obj5
= 0 ;
14660 PyObject
* obj6
= 0 ;
14661 PyObject
* obj7
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail
;
14671 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14672 if (SWIG_arg_fail(2)) SWIG_fail
;
14677 arg3
= wxString_in_helper(obj2
);
14678 if (arg3
== NULL
) SWIG_fail
;
14685 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14691 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14696 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14697 if (SWIG_arg_fail(6)) SWIG_fail
;
14702 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14703 if (SWIG_arg_fail(7)) SWIG_fail
;
14704 if (arg7
== NULL
) {
14705 SWIG_null_ref("wxValidator");
14707 if (SWIG_arg_fail(7)) SWIG_fail
;
14712 arg8
= wxString_in_helper(obj7
);
14713 if (arg8
== NULL
) SWIG_fail
;
14718 if (!wxPyCheckForApp()) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14748 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
= NULL
;
14750 wxRadioButton
*result
;
14751 char *kwnames
[] = {
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14757 if (!wxPyCheckForApp()) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (wxRadioButton
*)new wxRadioButton();
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14771 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
= NULL
;
14773 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14774 wxWindow
*arg2
= (wxWindow
*) 0 ;
14775 int arg3
= (int) -1 ;
14776 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14777 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14778 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14779 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14780 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14781 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14782 long arg7
= (long) 0 ;
14783 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14784 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14785 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14786 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14788 bool temp4
= false ;
14791 bool temp9
= false ;
14792 PyObject
* obj0
= 0 ;
14793 PyObject
* obj1
= 0 ;
14794 PyObject
* obj2
= 0 ;
14795 PyObject
* obj3
= 0 ;
14796 PyObject
* obj4
= 0 ;
14797 PyObject
* obj5
= 0 ;
14798 PyObject
* obj6
= 0 ;
14799 PyObject
* obj7
= 0 ;
14800 PyObject
* obj8
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail
;
14808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14809 if (SWIG_arg_fail(2)) SWIG_fail
;
14812 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14813 if (SWIG_arg_fail(3)) SWIG_fail
;
14818 arg4
= wxString_in_helper(obj3
);
14819 if (arg4
== NULL
) SWIG_fail
;
14826 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14832 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14837 arg7
= static_cast<long >(SWIG_As_long(obj6
));
14838 if (SWIG_arg_fail(7)) SWIG_fail
;
14843 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14844 if (SWIG_arg_fail(8)) SWIG_fail
;
14845 if (arg8
== NULL
) {
14846 SWIG_null_ref("wxValidator");
14848 if (SWIG_arg_fail(8)) SWIG_fail
;
14853 arg9
= wxString_in_helper(obj8
);
14854 if (arg9
== NULL
) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14890 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
= NULL
;
14892 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14894 PyObject
* obj0
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14901 if (SWIG_arg_fail(1)) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (bool)(arg1
)->GetValue();
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14918 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
= NULL
;
14920 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "self",(char *) "value", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14930 if (SWIG_arg_fail(1)) SWIG_fail
;
14932 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14933 if (SWIG_arg_fail(2)) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 (arg1
)->SetValue(arg2
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 Py_INCREF(Py_None
); resultobj
= Py_None
;
14949 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
= NULL
;
14951 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14952 wxVisualAttributes result
;
14953 PyObject
* obj0
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "variant", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14961 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
14962 if (SWIG_arg_fail(1)) SWIG_fail
;
14966 if (!wxPyCheckForApp()) SWIG_fail
;
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
14970 wxPyEndAllowThreads(__tstate
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14974 wxVisualAttributes
* resultptr
;
14975 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
14976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14984 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14987 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14989 return Py_BuildValue((char *)"");
14991 static int _wrap_SliderNameStr_set(PyObject
*) {
14992 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14997 static PyObject
*_wrap_SliderNameStr_get(void) {
14998 PyObject
*pyobj
= NULL
;
15002 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
15004 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
15011 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
= NULL
;
15013 wxWindow
*arg1
= (wxWindow
*) 0 ;
15014 int arg2
= (int) -1 ;
15015 int arg3
= (int) 0 ;
15016 int arg4
= (int) 0 ;
15017 int arg5
= (int) 100 ;
15018 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15019 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15020 wxSize
const &arg7_defvalue
= wxDefaultSize
;
15021 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
15022 long arg8
= (long) wxSL_HORIZONTAL
;
15023 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15024 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15025 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
15026 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15030 bool temp10
= false ;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 PyObject
* obj2
= 0 ;
15034 PyObject
* obj3
= 0 ;
15035 PyObject
* obj4
= 0 ;
15036 PyObject
* obj5
= 0 ;
15037 PyObject
* obj6
= 0 ;
15038 PyObject
* obj7
= 0 ;
15039 PyObject
* obj8
= 0 ;
15040 PyObject
* obj9
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail
;
15050 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15051 if (SWIG_arg_fail(2)) SWIG_fail
;
15056 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15057 if (SWIG_arg_fail(3)) SWIG_fail
;
15062 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15063 if (SWIG_arg_fail(4)) SWIG_fail
;
15068 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15069 if (SWIG_arg_fail(5)) SWIG_fail
;
15075 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15081 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
15086 arg8
= static_cast<long >(SWIG_As_long(obj7
));
15087 if (SWIG_arg_fail(8)) SWIG_fail
;
15092 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15093 if (SWIG_arg_fail(9)) SWIG_fail
;
15094 if (arg9
== NULL
) {
15095 SWIG_null_ref("wxValidator");
15097 if (SWIG_arg_fail(9)) SWIG_fail
;
15102 arg10
= wxString_in_helper(obj9
);
15103 if (arg10
== NULL
) SWIG_fail
;
15108 if (!wxPyCheckForApp()) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15130 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
= NULL
;
15133 char *kwnames
[] = {
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
15139 if (!wxPyCheckForApp()) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (wxSlider
*)new wxSlider();
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15153 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
= NULL
;
15155 wxSlider
*arg1
= (wxSlider
*) 0 ;
15156 wxWindow
*arg2
= (wxWindow
*) 0 ;
15157 int arg3
= (int) -1 ;
15158 int arg4
= (int) 0 ;
15159 int arg5
= (int) 0 ;
15160 int arg6
= (int) 100 ;
15161 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15162 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15163 wxSize
const &arg8_defvalue
= wxDefaultSize
;
15164 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
15165 long arg9
= (long) wxSL_HORIZONTAL
;
15166 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15167 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15168 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
15169 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15173 bool temp11
= false ;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 PyObject
* obj2
= 0 ;
15177 PyObject
* obj3
= 0 ;
15178 PyObject
* obj4
= 0 ;
15179 PyObject
* obj5
= 0 ;
15180 PyObject
* obj6
= 0 ;
15181 PyObject
* obj7
= 0 ;
15182 PyObject
* obj8
= 0 ;
15183 PyObject
* obj9
= 0 ;
15184 PyObject
* obj10
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15191 if (SWIG_arg_fail(1)) SWIG_fail
;
15192 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15193 if (SWIG_arg_fail(2)) SWIG_fail
;
15196 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15197 if (SWIG_arg_fail(3)) SWIG_fail
;
15202 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15203 if (SWIG_arg_fail(4)) SWIG_fail
;
15208 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15209 if (SWIG_arg_fail(5)) SWIG_fail
;
15214 arg6
= static_cast<int >(SWIG_As_int(obj5
));
15215 if (SWIG_arg_fail(6)) SWIG_fail
;
15221 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15227 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15232 arg9
= static_cast<long >(SWIG_As_long(obj8
));
15233 if (SWIG_arg_fail(9)) SWIG_fail
;
15238 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15239 if (SWIG_arg_fail(10)) SWIG_fail
;
15240 if (arg10
== NULL
) {
15241 SWIG_null_ref("wxValidator");
15243 if (SWIG_arg_fail(10)) SWIG_fail
;
15248 arg11
= wxString_in_helper(obj10
);
15249 if (arg11
== NULL
) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15277 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
= NULL
;
15279 wxSlider
*arg1
= (wxSlider
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15288 if (SWIG_arg_fail(1)) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15297 resultobj
= SWIG_From_int(static_cast<int >(result
));
15305 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
= NULL
;
15307 wxSlider
*arg1
= (wxSlider
*) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 PyObject
* obj1
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self",(char *) "value", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15317 if (SWIG_arg_fail(1)) SWIG_fail
;
15319 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15320 if (SWIG_arg_fail(2)) SWIG_fail
;
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 (arg1
)->SetValue(arg2
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 Py_INCREF(Py_None
); resultobj
= Py_None
;
15336 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
= NULL
;
15338 wxSlider
*arg1
= (wxSlider
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 PyObject
* obj2
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15350 if (SWIG_arg_fail(1)) SWIG_fail
;
15352 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15353 if (SWIG_arg_fail(2)) SWIG_fail
;
15356 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15357 if (SWIG_arg_fail(3)) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 (arg1
)->SetRange(arg2
,arg3
);
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 Py_INCREF(Py_None
); resultobj
= Py_None
;
15373 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= NULL
;
15375 wxSlider
*arg1
= (wxSlider
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15384 if (SWIG_arg_fail(1)) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= SWIG_From_int(static_cast<int >(result
));
15401 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
= NULL
;
15403 wxSlider
*arg1
= (wxSlider
*) 0 ;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_From_int(static_cast<int >(result
));
15429 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
= NULL
;
15431 wxSlider
*arg1
= (wxSlider
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "minValue", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15441 if (SWIG_arg_fail(1)) SWIG_fail
;
15443 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15444 if (SWIG_arg_fail(2)) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 (arg1
)->SetMin(arg2
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 Py_INCREF(Py_None
); resultobj
= Py_None
;
15460 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
= NULL
;
15462 wxSlider
*arg1
= (wxSlider
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self",(char *) "maxValue", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15472 if (SWIG_arg_fail(1)) SWIG_fail
;
15474 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15475 if (SWIG_arg_fail(2)) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 (arg1
)->SetMax(arg2
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 Py_INCREF(Py_None
); resultobj
= Py_None
;
15491 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
= NULL
;
15493 wxSlider
*arg1
= (wxSlider
*) 0 ;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self",(char *) "lineSize", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15503 if (SWIG_arg_fail(1)) SWIG_fail
;
15505 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15506 if (SWIG_arg_fail(2)) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 (arg1
)->SetLineSize(arg2
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
= NULL
;
15524 wxSlider
*arg1
= (wxSlider
*) 0 ;
15526 PyObject
* obj0
= 0 ;
15527 PyObject
* obj1
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "self",(char *) "pageSize", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15534 if (SWIG_arg_fail(1)) SWIG_fail
;
15536 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15537 if (SWIG_arg_fail(2)) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->SetPageSize(arg2
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15553 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
= NULL
;
15555 wxSlider
*arg1
= (wxSlider
*) 0 ;
15557 PyObject
* obj0
= 0 ;
15558 char *kwnames
[] = {
15559 (char *) "self", NULL
15562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15573 resultobj
= SWIG_From_int(static_cast<int >(result
));
15581 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
= NULL
;
15583 wxSlider
*arg1
= (wxSlider
*) 0 ;
15585 PyObject
* obj0
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15592 if (SWIG_arg_fail(1)) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15601 resultobj
= SWIG_From_int(static_cast<int >(result
));
15609 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
= NULL
;
15611 wxSlider
*arg1
= (wxSlider
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self",(char *) "lenPixels", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15621 if (SWIG_arg_fail(1)) SWIG_fail
;
15623 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15624 if (SWIG_arg_fail(2)) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 (arg1
)->SetThumbLength(arg2
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 Py_INCREF(Py_None
); resultobj
= Py_None
;
15640 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
= NULL
;
15642 wxSlider
*arg1
= (wxSlider
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15651 if (SWIG_arg_fail(1)) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_From_int(static_cast<int >(result
));
15668 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
= NULL
;
15670 wxSlider
*arg1
= (wxSlider
*) 0 ;
15672 int arg3
= (int) 1 ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 PyObject
* obj2
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self",(char *) "n",(char *) "pos", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
15689 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15690 if (SWIG_arg_fail(3)) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->SetTickFreq(arg2
,arg3
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 Py_INCREF(Py_None
); resultobj
= Py_None
;
15707 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
= NULL
;
15709 wxSlider
*arg1
= (wxSlider
*) 0 ;
15711 PyObject
* obj0
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15718 if (SWIG_arg_fail(1)) SWIG_fail
;
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= SWIG_From_int(static_cast<int >(result
));
15735 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
= NULL
;
15737 wxSlider
*arg1
= (wxSlider
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15745 if (SWIG_arg_fail(1)) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 (arg1
)->ClearTicks();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 Py_INCREF(Py_None
); resultobj
= Py_None
;
15760 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
= NULL
;
15762 wxSlider
*arg1
= (wxSlider
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "tickPos", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15772 if (SWIG_arg_fail(1)) SWIG_fail
;
15774 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15775 if (SWIG_arg_fail(2)) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 (arg1
)->SetTick(arg2
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 Py_INCREF(Py_None
); resultobj
= Py_None
;
15791 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
= NULL
;
15793 wxSlider
*arg1
= (wxSlider
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15801 if (SWIG_arg_fail(1)) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 (arg1
)->ClearSel();
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 Py_INCREF(Py_None
); resultobj
= Py_None
;
15816 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
= NULL
;
15818 wxSlider
*arg1
= (wxSlider
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "self", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15827 if (SWIG_arg_fail(1)) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= SWIG_From_int(static_cast<int >(result
));
15844 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
= NULL
;
15846 wxSlider
*arg1
= (wxSlider
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15855 if (SWIG_arg_fail(1)) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15864 resultobj
= SWIG_From_int(static_cast<int >(result
));
15872 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
= NULL
;
15874 wxSlider
*arg1
= (wxSlider
*) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 PyObject
* obj1
= 0 ;
15879 PyObject
* obj2
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self",(char *) "min",(char *) "max", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15886 if (SWIG_arg_fail(1)) SWIG_fail
;
15888 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15889 if (SWIG_arg_fail(2)) SWIG_fail
;
15892 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15893 if (SWIG_arg_fail(3)) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->SetSelection(arg2
,arg3
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
= NULL
;
15911 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15912 wxVisualAttributes result
;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "variant", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15921 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
15922 if (SWIG_arg_fail(1)) SWIG_fail
;
15926 if (!wxPyCheckForApp()) SWIG_fail
;
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 result
= wxSlider::GetClassDefaultAttributes(arg1
);
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15934 wxVisualAttributes
* resultptr
;
15935 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
15936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15944 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15947 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15949 return Py_BuildValue((char *)"");
15951 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15952 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15957 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15958 PyObject
*pyobj
= NULL
;
15962 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15964 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15971 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
= NULL
;
15973 wxWindow
*arg1
= (wxWindow
*) 0 ;
15974 int arg2
= (int) -1 ;
15975 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15976 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15977 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15978 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15979 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15980 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15981 long arg6
= (long) 0 ;
15982 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15983 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15984 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15985 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15986 wxToggleButton
*result
;
15987 bool temp3
= false ;
15990 bool temp8
= false ;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 PyObject
* obj2
= 0 ;
15994 PyObject
* obj3
= 0 ;
15995 PyObject
* obj4
= 0 ;
15996 PyObject
* obj5
= 0 ;
15997 PyObject
* obj6
= 0 ;
15998 PyObject
* obj7
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16005 if (SWIG_arg_fail(1)) SWIG_fail
;
16008 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16009 if (SWIG_arg_fail(2)) SWIG_fail
;
16014 arg3
= wxString_in_helper(obj2
);
16015 if (arg3
== NULL
) SWIG_fail
;
16022 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16028 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16033 arg6
= static_cast<long >(SWIG_As_long(obj5
));
16034 if (SWIG_arg_fail(6)) SWIG_fail
;
16039 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16040 if (SWIG_arg_fail(7)) SWIG_fail
;
16041 if (arg7
== NULL
) {
16042 SWIG_null_ref("wxValidator");
16044 if (SWIG_arg_fail(7)) SWIG_fail
;
16049 arg8
= wxString_in_helper(obj7
);
16050 if (arg8
== NULL
) SWIG_fail
;
16055 if (!wxPyCheckForApp()) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
16085 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
= NULL
;
16087 wxToggleButton
*result
;
16088 char *kwnames
[] = {
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
16094 if (!wxPyCheckForApp()) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (wxToggleButton
*)new wxToggleButton();
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
16108 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
= NULL
;
16110 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16111 wxWindow
*arg2
= (wxWindow
*) 0 ;
16112 int arg3
= (int) -1 ;
16113 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16114 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16115 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16116 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16117 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16118 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16119 long arg7
= (long) 0 ;
16120 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16121 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16122 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
16123 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16125 bool temp4
= false ;
16128 bool temp9
= false ;
16129 PyObject
* obj0
= 0 ;
16130 PyObject
* obj1
= 0 ;
16131 PyObject
* obj2
= 0 ;
16132 PyObject
* obj3
= 0 ;
16133 PyObject
* obj4
= 0 ;
16134 PyObject
* obj5
= 0 ;
16135 PyObject
* obj6
= 0 ;
16136 PyObject
* obj7
= 0 ;
16137 PyObject
* obj8
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail
;
16145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16146 if (SWIG_arg_fail(2)) SWIG_fail
;
16149 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16150 if (SWIG_arg_fail(3)) SWIG_fail
;
16155 arg4
= wxString_in_helper(obj3
);
16156 if (arg4
== NULL
) SWIG_fail
;
16163 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16169 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16174 arg7
= static_cast<long >(SWIG_As_long(obj6
));
16175 if (SWIG_arg_fail(7)) SWIG_fail
;
16180 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16181 if (SWIG_arg_fail(8)) SWIG_fail
;
16182 if (arg8
== NULL
) {
16183 SWIG_null_ref("wxValidator");
16185 if (SWIG_arg_fail(8)) SWIG_fail
;
16190 arg9
= wxString_in_helper(obj8
);
16191 if (arg9
== NULL
) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16227 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
= NULL
;
16229 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 PyObject
* obj1
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self",(char *) "value", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16239 if (SWIG_arg_fail(1)) SWIG_fail
;
16241 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16242 if (SWIG_arg_fail(2)) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 (arg1
)->SetValue(arg2
);
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 Py_INCREF(Py_None
); resultobj
= Py_None
;
16258 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
= NULL
;
16260 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 char *kwnames
[] = {
16264 (char *) "self", NULL
16267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16269 if (SWIG_arg_fail(1)) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16286 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
= NULL
;
16288 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16289 wxString
*arg2
= 0 ;
16290 bool temp2
= false ;
16291 PyObject
* obj0
= 0 ;
16292 PyObject
* obj1
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self",(char *) "label", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16299 if (SWIG_arg_fail(1)) SWIG_fail
;
16301 arg2
= wxString_in_helper(obj1
);
16302 if (arg2
== NULL
) SWIG_fail
;
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 (arg1
)->SetLabel((wxString
const &)*arg2
);
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16312 Py_INCREF(Py_None
); resultobj
= Py_None
;
16327 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
= NULL
;
16329 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16330 wxVisualAttributes result
;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "variant", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16339 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16340 if (SWIG_arg_fail(1)) SWIG_fail
;
16344 if (!wxPyCheckForApp()) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16352 wxVisualAttributes
* resultptr
;
16353 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
16354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16362 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16365 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16367 return Py_BuildValue((char *)"");
16369 static int _wrap_NotebookNameStr_set(PyObject
*) {
16370 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16375 static PyObject
*_wrap_NotebookNameStr_get(void) {
16376 PyObject
*pyobj
= NULL
;
16380 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16382 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16389 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
= NULL
;
16391 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16393 PyObject
* obj0
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16400 if (SWIG_arg_fail(1)) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
16417 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
= NULL
;
16419 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self",(char *) "n", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16430 if (SWIG_arg_fail(1)) SWIG_fail
;
16432 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16433 if (SWIG_arg_fail(2)) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= wxPyMake_wxObject(result
, 0);
16451 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
= NULL
;
16453 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16462 if (SWIG_arg_fail(1)) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= wxPyMake_wxObject(result
, 0);
16479 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
= NULL
;
16481 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= SWIG_From_int(static_cast<int >(result
));
16507 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
= NULL
;
16509 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16511 wxString
*arg3
= 0 ;
16513 bool temp3
= false ;
16514 PyObject
* obj0
= 0 ;
16515 PyObject
* obj1
= 0 ;
16516 PyObject
* obj2
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "n",(char *) "strText", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16526 if (SWIG_arg_fail(2)) SWIG_fail
;
16529 arg3
= wxString_in_helper(obj2
);
16530 if (arg3
== NULL
) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16557 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
= NULL
;
16559 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16562 PyObject
* obj0
= 0 ;
16563 PyObject
* obj1
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self",(char *) "n", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16570 if (SWIG_arg_fail(1)) SWIG_fail
;
16572 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16573 if (SWIG_arg_fail(2)) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16595 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
= NULL
;
16597 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16598 wxImageList
*arg2
= (wxImageList
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self",(char *) "imageList", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16607 if (SWIG_arg_fail(1)) SWIG_fail
;
16608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16609 if (SWIG_arg_fail(2)) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 (arg1
)->SetImageList(arg2
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 Py_INCREF(Py_None
); resultobj
= Py_None
;
16624 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
= NULL
;
16626 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16627 wxImageList
*arg2
= (wxImageList
*) 0 ;
16628 PyObject
* obj0
= 0 ;
16629 PyObject
* obj1
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self",(char *) "imageList", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16636 if (SWIG_arg_fail(1)) SWIG_fail
;
16637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16638 if (SWIG_arg_fail(2)) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 (arg1
)->AssignImageList(arg2
);
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16646 Py_INCREF(Py_None
); resultobj
= Py_None
;
16653 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
= NULL
;
16655 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16656 wxImageList
*result
;
16657 PyObject
* obj0
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16664 if (SWIG_arg_fail(1)) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16681 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
= NULL
;
16683 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self",(char *) "n", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16694 if (SWIG_arg_fail(1)) SWIG_fail
;
16696 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16697 if (SWIG_arg_fail(2)) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= SWIG_From_int(static_cast<int >(result
));
16715 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
= NULL
;
16717 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 PyObject
* obj2
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self",(char *) "n",(char *) "imageId", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16730 if (SWIG_arg_fail(1)) SWIG_fail
;
16732 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16733 if (SWIG_arg_fail(2)) SWIG_fail
;
16736 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16737 if (SWIG_arg_fail(3)) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16755 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
= NULL
;
16757 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16760 PyObject
* obj0
= 0 ;
16761 PyObject
* obj1
= 0 ;
16762 char *kwnames
[] = {
16763 (char *) "self",(char *) "size", NULL
16766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16768 if (SWIG_arg_fail(1)) SWIG_fail
;
16771 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 Py_INCREF(Py_None
); resultobj
= Py_None
;
16787 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
= NULL
;
16789 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "self",(char *) "sizePage", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16801 if (SWIG_arg_fail(1)) SWIG_fail
;
16804 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16814 wxSize
* resultptr
;
16815 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16824 static PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
= NULL
;
16826 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16827 unsigned int result
;
16828 PyObject
* obj0
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames
,&obj0
)) goto fail
;
16834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16835 if (SWIG_arg_fail(1)) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
16852 static PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
= NULL
;
16854 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16855 unsigned int arg2
;
16856 PyObject
* obj0
= 0 ;
16857 PyObject
* obj1
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "self",(char *) "internalBorder", NULL
16862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
16863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16864 if (SWIG_arg_fail(1)) SWIG_fail
;
16866 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
16867 if (SWIG_arg_fail(2)) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 (arg1
)->SetInternalBorder(arg2
);
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16876 Py_INCREF(Py_None
); resultobj
= Py_None
;
16883 static PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
= NULL
;
16885 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "self", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16894 if (SWIG_arg_fail(1)) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16911 static PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
= NULL
;
16913 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self",(char *) "fit", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16923 if (SWIG_arg_fail(1)) SWIG_fail
;
16925 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16926 if (SWIG_arg_fail(2)) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 (arg1
)->SetFitToCurrentPage(arg2
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 Py_INCREF(Py_None
); resultobj
= Py_None
;
16942 static PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
= NULL
;
16944 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16946 PyObject
* obj0
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames
,&obj0
)) goto fail
;
16952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16953 if (SWIG_arg_fail(1)) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16970 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
= NULL
;
16972 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16975 PyObject
* obj0
= 0 ;
16976 PyObject
* obj1
= 0 ;
16977 char *kwnames
[] = {
16978 (char *) "self",(char *) "n", NULL
16981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16983 if (SWIG_arg_fail(1)) SWIG_fail
;
16985 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
16986 if (SWIG_arg_fail(2)) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (bool)(arg1
)->DeletePage(arg2
);
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17004 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
= NULL
;
17006 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self",(char *) "n", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
17016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17017 if (SWIG_arg_fail(1)) SWIG_fail
;
17019 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17020 if (SWIG_arg_fail(2)) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (bool)(arg1
)->RemovePage(arg2
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17038 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
= NULL
;
17040 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17042 PyObject
* obj0
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
17048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17049 if (SWIG_arg_fail(1)) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (bool)(arg1
)->DeleteAllPages();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17066 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
= NULL
;
17068 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17069 wxWindow
*arg2
= (wxWindow
*) 0 ;
17070 wxString
*arg3
= 0 ;
17071 bool arg4
= (bool) false ;
17072 int arg5
= (int) -1 ;
17074 bool temp3
= false ;
17075 PyObject
* obj0
= 0 ;
17076 PyObject
* obj1
= 0 ;
17077 PyObject
* obj2
= 0 ;
17078 PyObject
* obj3
= 0 ;
17079 PyObject
* obj4
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail
;
17087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17088 if (SWIG_arg_fail(2)) SWIG_fail
;
17090 arg3
= wxString_in_helper(obj2
);
17091 if (arg3
== NULL
) SWIG_fail
;
17096 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
17097 if (SWIG_arg_fail(4)) SWIG_fail
;
17102 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17103 if (SWIG_arg_fail(5)) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17130 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= NULL
;
17132 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17134 wxWindow
*arg3
= (wxWindow
*) 0 ;
17135 wxString
*arg4
= 0 ;
17136 bool arg5
= (bool) false ;
17137 int arg6
= (int) -1 ;
17139 bool temp4
= false ;
17140 PyObject
* obj0
= 0 ;
17141 PyObject
* obj1
= 0 ;
17142 PyObject
* obj2
= 0 ;
17143 PyObject
* obj3
= 0 ;
17144 PyObject
* obj4
= 0 ;
17145 PyObject
* obj5
= 0 ;
17146 char *kwnames
[] = {
17147 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17152 if (SWIG_arg_fail(1)) SWIG_fail
;
17154 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
17155 if (SWIG_arg_fail(2)) SWIG_fail
;
17157 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17158 if (SWIG_arg_fail(3)) SWIG_fail
;
17160 arg4
= wxString_in_helper(obj3
);
17161 if (arg4
== NULL
) SWIG_fail
;
17166 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
17167 if (SWIG_arg_fail(5)) SWIG_fail
;
17172 arg6
= static_cast<int >(SWIG_As_int(obj5
));
17173 if (SWIG_arg_fail(6)) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17200 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
= NULL
;
17202 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "self",(char *) "n", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) 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
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (int)(arg1
)->SetSelection(arg2
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= SWIG_From_int(static_cast<int >(result
));
17234 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
= NULL
;
17236 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
17237 bool arg2
= (bool) true ;
17238 PyObject
* obj0
= 0 ;
17239 PyObject
* obj1
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self",(char *) "forward", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
17246 if (SWIG_arg_fail(1)) SWIG_fail
;
17249 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17250 if (SWIG_arg_fail(2)) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 (arg1
)->AdvanceSelection(arg2
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 Py_INCREF(Py_None
); resultobj
= Py_None
;
17267 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
= NULL
;
17269 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17270 wxVisualAttributes result
;
17271 PyObject
* obj0
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "variant", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17279 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17280 if (SWIG_arg_fail(1)) SWIG_fail
;
17284 if (!wxPyCheckForApp()) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 wxVisualAttributes
* resultptr
;
17293 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17302 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
17304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17305 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
17307 return Py_BuildValue((char *)"");
17309 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
= NULL
;
17311 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17312 int arg2
= (int) 0 ;
17313 int arg3
= (int) -1 ;
17314 int arg4
= (int) -1 ;
17315 wxBookCtrlBaseEvent
*result
;
17316 PyObject
* obj0
= 0 ;
17317 PyObject
* obj1
= 0 ;
17318 PyObject
* obj2
= 0 ;
17319 PyObject
* obj3
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17327 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17328 if (SWIG_arg_fail(1)) SWIG_fail
;
17333 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17334 if (SWIG_arg_fail(2)) SWIG_fail
;
17339 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17340 if (SWIG_arg_fail(3)) SWIG_fail
;
17345 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17346 if (SWIG_arg_fail(4)) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17363 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
= NULL
;
17365 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17367 PyObject
* obj0
= 0 ;
17368 char *kwnames
[] = {
17369 (char *) "self", NULL
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17374 if (SWIG_arg_fail(1)) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= SWIG_From_int(static_cast<int >(result
));
17391 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
= NULL
;
17393 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17395 PyObject
* obj0
= 0 ;
17396 PyObject
* obj1
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self",(char *) "nSel", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17403 if (SWIG_arg_fail(1)) SWIG_fail
;
17405 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17406 if (SWIG_arg_fail(2)) SWIG_fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 (arg1
)->SetSelection(arg2
);
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 Py_INCREF(Py_None
); resultobj
= Py_None
;
17422 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
= NULL
;
17424 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17426 PyObject
* obj0
= 0 ;
17427 char *kwnames
[] = {
17428 (char *) "self", NULL
17431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17433 if (SWIG_arg_fail(1)) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= SWIG_From_int(static_cast<int >(result
));
17450 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
= NULL
;
17452 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self",(char *) "nOldSel", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17462 if (SWIG_arg_fail(1)) SWIG_fail
;
17464 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17465 if (SWIG_arg_fail(2)) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 (arg1
)->SetOldSelection(arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 Py_INCREF(Py_None
); resultobj
= Py_None
;
17481 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17484 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17486 return Py_BuildValue((char *)"");
17488 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
= NULL
;
17490 wxWindow
*arg1
= (wxWindow
*) 0 ;
17491 int arg2
= (int) -1 ;
17492 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17493 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17494 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17495 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17496 long arg5
= (long) 0 ;
17497 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17498 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17499 wxNotebook
*result
;
17502 bool temp6
= false ;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 PyObject
* obj2
= 0 ;
17506 PyObject
* obj3
= 0 ;
17507 PyObject
* obj4
= 0 ;
17508 PyObject
* obj5
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail
;
17518 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17519 if (SWIG_arg_fail(2)) SWIG_fail
;
17525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17531 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17536 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17537 if (SWIG_arg_fail(5)) SWIG_fail
;
17542 arg6
= wxString_in_helper(obj5
);
17543 if (arg6
== NULL
) SWIG_fail
;
17548 if (!wxPyCheckForApp()) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17570 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
= NULL
;
17572 wxNotebook
*result
;
17573 char *kwnames
[] = {
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17579 if (!wxPyCheckForApp()) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (wxNotebook
*)new wxNotebook();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17593 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
= NULL
;
17595 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17596 wxWindow
*arg2
= (wxWindow
*) 0 ;
17597 int arg3
= (int) -1 ;
17598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17602 long arg6
= (long) 0 ;
17603 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17608 bool temp7
= false ;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 PyObject
* obj2
= 0 ;
17612 PyObject
* obj3
= 0 ;
17613 PyObject
* obj4
= 0 ;
17614 PyObject
* obj5
= 0 ;
17615 PyObject
* obj6
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17622 if (SWIG_arg_fail(1)) SWIG_fail
;
17623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17624 if (SWIG_arg_fail(2)) SWIG_fail
;
17627 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17628 if (SWIG_arg_fail(3)) SWIG_fail
;
17634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17645 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17646 if (SWIG_arg_fail(6)) SWIG_fail
;
17651 arg7
= wxString_in_helper(obj6
);
17652 if (arg7
== NULL
) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17680 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
= NULL
;
17682 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17684 PyObject
* obj0
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "self", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17691 if (SWIG_arg_fail(1)) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_From_int(static_cast<int >(result
));
17708 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
= NULL
;
17710 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self",(char *) "padding", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17721 if (SWIG_arg_fail(1)) SWIG_fail
;
17724 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 Py_INCREF(Py_None
); resultobj
= Py_None
;
17740 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
= NULL
;
17742 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17745 PyObject
* obj0
= 0 ;
17746 PyObject
* obj1
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "self",(char *) "sz", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17753 if (SWIG_arg_fail(1)) SWIG_fail
;
17756 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 Py_INCREF(Py_None
); resultobj
= Py_None
;
17772 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
= NULL
;
17774 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17775 wxPoint
*arg2
= 0 ;
17776 long *arg3
= (long *) 0 ;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self",(char *) "pt", NULL
17787 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17790 if (SWIG_arg_fail(1)) SWIG_fail
;
17793 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= SWIG_From_int(static_cast<int >(result
));
17805 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17806 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17813 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
= NULL
;
17815 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self",(char *) "sizePage", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17827 if (SWIG_arg_fail(1)) SWIG_fail
;
17830 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 wxSize
* resultptr
;
17841 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17850 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
= NULL
;
17852 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17861 if (SWIG_arg_fail(1)) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 wxColour
* resultptr
;
17871 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
17872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17880 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
= NULL
;
17882 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17883 wxVisualAttributes result
;
17884 PyObject
* obj0
= 0 ;
17885 char *kwnames
[] = {
17886 (char *) "variant", NULL
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17892 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
17893 if (SWIG_arg_fail(1)) SWIG_fail
;
17897 if (!wxPyCheckForApp()) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17905 wxVisualAttributes
* resultptr
;
17906 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
17907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17915 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17918 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17920 return Py_BuildValue((char *)"");
17922 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
= NULL
;
17924 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17925 int arg2
= (int) 0 ;
17926 int arg3
= (int) -1 ;
17927 int arg4
= (int) -1 ;
17928 wxNotebookEvent
*result
;
17929 PyObject
* obj0
= 0 ;
17930 PyObject
* obj1
= 0 ;
17931 PyObject
* obj2
= 0 ;
17932 PyObject
* obj3
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17940 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
17941 if (SWIG_arg_fail(1)) SWIG_fail
;
17946 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17947 if (SWIG_arg_fail(2)) SWIG_fail
;
17952 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17953 if (SWIG_arg_fail(3)) SWIG_fail
;
17958 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17959 if (SWIG_arg_fail(4)) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17976 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17979 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17981 return Py_BuildValue((char *)"");
17983 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
= NULL
;
17985 wxWindow
*arg1
= (wxWindow
*) 0 ;
17986 int arg2
= (int) -1 ;
17987 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17988 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17989 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17990 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17991 long arg5
= (long) 0 ;
17992 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17993 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17994 wxListbook
*result
;
17997 bool temp6
= false ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 PyObject
* obj2
= 0 ;
18001 PyObject
* obj3
= 0 ;
18002 PyObject
* obj4
= 0 ;
18003 PyObject
* obj5
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18010 if (SWIG_arg_fail(1)) SWIG_fail
;
18013 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18014 if (SWIG_arg_fail(2)) SWIG_fail
;
18020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18026 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18031 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18032 if (SWIG_arg_fail(5)) SWIG_fail
;
18037 arg6
= wxString_in_helper(obj5
);
18038 if (arg6
== NULL
) SWIG_fail
;
18043 if (!wxPyCheckForApp()) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
18065 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
= NULL
;
18067 wxListbook
*result
;
18068 char *kwnames
[] = {
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
18074 if (!wxPyCheckForApp()) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (wxListbook
*)new wxListbook();
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
18088 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
= NULL
;
18090 wxListbook
*arg1
= (wxListbook
*) 0 ;
18091 wxWindow
*arg2
= (wxWindow
*) 0 ;
18092 int arg3
= (int) -1 ;
18093 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18094 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18095 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18096 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18097 long arg6
= (long) 0 ;
18098 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18099 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18103 bool temp7
= false ;
18104 PyObject
* obj0
= 0 ;
18105 PyObject
* obj1
= 0 ;
18106 PyObject
* obj2
= 0 ;
18107 PyObject
* obj3
= 0 ;
18108 PyObject
* obj4
= 0 ;
18109 PyObject
* obj5
= 0 ;
18110 PyObject
* obj6
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18117 if (SWIG_arg_fail(1)) SWIG_fail
;
18118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18119 if (SWIG_arg_fail(2)) SWIG_fail
;
18122 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18123 if (SWIG_arg_fail(3)) SWIG_fail
;
18129 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18135 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18140 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18141 if (SWIG_arg_fail(6)) SWIG_fail
;
18146 arg7
= wxString_in_helper(obj6
);
18147 if (arg7
== NULL
) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18175 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
= NULL
;
18177 wxListbook
*arg1
= (wxListbook
*) 0 ;
18178 wxListView
*result
;
18179 PyObject
* obj0
= 0 ;
18180 char *kwnames
[] = {
18181 (char *) "self", NULL
18184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
18185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
18186 if (SWIG_arg_fail(1)) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (wxListView
*)(arg1
)->GetListView();
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
18201 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
18203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18204 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
18206 return Py_BuildValue((char *)"");
18208 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
= NULL
;
18210 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18211 int arg2
= (int) 0 ;
18212 int arg3
= (int) -1 ;
18213 int arg4
= (int) -1 ;
18214 wxListbookEvent
*result
;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 PyObject
* obj2
= 0 ;
18218 PyObject
* obj3
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18226 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18227 if (SWIG_arg_fail(1)) SWIG_fail
;
18232 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18233 if (SWIG_arg_fail(2)) SWIG_fail
;
18238 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18239 if (SWIG_arg_fail(3)) SWIG_fail
;
18244 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18245 if (SWIG_arg_fail(4)) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
18262 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
18264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18265 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
18267 return Py_BuildValue((char *)"");
18269 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
= NULL
;
18271 wxWindow
*arg1
= (wxWindow
*) 0 ;
18273 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18274 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18275 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18276 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18277 long arg5
= (long) 0 ;
18278 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18279 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18280 wxChoicebook
*result
;
18283 bool temp6
= false ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 PyObject
* obj2
= 0 ;
18287 PyObject
* obj3
= 0 ;
18288 PyObject
* obj4
= 0 ;
18289 PyObject
* obj5
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18296 if (SWIG_arg_fail(1)) SWIG_fail
;
18298 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18299 if (SWIG_arg_fail(2)) SWIG_fail
;
18304 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18310 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18315 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18316 if (SWIG_arg_fail(5)) SWIG_fail
;
18321 arg6
= wxString_in_helper(obj5
);
18322 if (arg6
== NULL
) SWIG_fail
;
18327 if (!wxPyCheckForApp()) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18349 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
= NULL
;
18351 wxChoicebook
*result
;
18352 char *kwnames
[] = {
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18358 if (!wxPyCheckForApp()) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= (wxChoicebook
*)new wxChoicebook();
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18372 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
= NULL
;
18374 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18375 wxWindow
*arg2
= (wxWindow
*) 0 ;
18377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18381 long arg6
= (long) 0 ;
18382 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18383 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18387 bool temp7
= false ;
18388 PyObject
* obj0
= 0 ;
18389 PyObject
* obj1
= 0 ;
18390 PyObject
* obj2
= 0 ;
18391 PyObject
* obj3
= 0 ;
18392 PyObject
* obj4
= 0 ;
18393 PyObject
* obj5
= 0 ;
18394 PyObject
* obj6
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18401 if (SWIG_arg_fail(1)) SWIG_fail
;
18402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18403 if (SWIG_arg_fail(2)) SWIG_fail
;
18405 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18406 if (SWIG_arg_fail(3)) SWIG_fail
;
18411 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18417 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18422 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18423 if (SWIG_arg_fail(6)) SWIG_fail
;
18428 arg7
= wxString_in_helper(obj6
);
18429 if (arg7
== NULL
) SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18457 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
= NULL
;
18459 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18483 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
= NULL
;
18485 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18494 if (SWIG_arg_fail(1)) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (bool)(arg1
)->DeleteAllPages();
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18511 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18514 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18516 return Py_BuildValue((char *)"");
18518 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
= NULL
;
18520 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18521 int arg2
= (int) 0 ;
18522 int arg3
= (int) -1 ;
18523 int arg4
= (int) -1 ;
18524 wxChoicebookEvent
*result
;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 PyObject
* obj2
= 0 ;
18528 PyObject
* obj3
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18536 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
18537 if (SWIG_arg_fail(1)) SWIG_fail
;
18542 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18543 if (SWIG_arg_fail(2)) SWIG_fail
;
18548 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18549 if (SWIG_arg_fail(3)) SWIG_fail
;
18554 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18555 if (SWIG_arg_fail(4)) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18572 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18575 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18577 return Py_BuildValue((char *)"");
18579 static PyObject
*_wrap_new_Treebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
= NULL
;
18581 wxWindow
*arg1
= (wxWindow
*) 0 ;
18583 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18584 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18585 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18586 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18587 long arg5
= (long) wxBK_DEFAULT
;
18588 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18589 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18590 wxTreebook
*result
;
18593 bool temp6
= false ;
18594 PyObject
* obj0
= 0 ;
18595 PyObject
* obj1
= 0 ;
18596 PyObject
* obj2
= 0 ;
18597 PyObject
* obj3
= 0 ;
18598 PyObject
* obj4
= 0 ;
18599 PyObject
* obj5
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18606 if (SWIG_arg_fail(1)) SWIG_fail
;
18608 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18609 if (SWIG_arg_fail(2)) SWIG_fail
;
18614 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18620 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18625 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18626 if (SWIG_arg_fail(5)) SWIG_fail
;
18631 arg6
= wxString_in_helper(obj5
);
18632 if (arg6
== NULL
) SWIG_fail
;
18637 if (!wxPyCheckForApp()) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebook
, 1);
18659 static PyObject
*_wrap_new_PreTreebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
= NULL
;
18661 wxTreebook
*result
;
18662 char *kwnames
[] = {
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreebook",kwnames
)) goto fail
;
18668 if (!wxPyCheckForApp()) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (wxTreebook
*)new wxTreebook();
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebook
, 1);
18682 static PyObject
*_wrap_Treebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18683 PyObject
*resultobj
= NULL
;
18684 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18685 wxWindow
*arg2
= (wxWindow
*) 0 ;
18687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18691 long arg6
= (long) wxBK_DEFAULT
;
18692 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18697 bool temp7
= false ;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 PyObject
* obj2
= 0 ;
18701 PyObject
* obj3
= 0 ;
18702 PyObject
* obj4
= 0 ;
18703 PyObject
* obj5
= 0 ;
18704 PyObject
* obj6
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18711 if (SWIG_arg_fail(1)) SWIG_fail
;
18712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18713 if (SWIG_arg_fail(2)) SWIG_fail
;
18715 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18716 if (SWIG_arg_fail(3)) SWIG_fail
;
18721 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18727 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18732 arg6
= static_cast<long >(SWIG_As_long(obj5
));
18733 if (SWIG_arg_fail(6)) SWIG_fail
;
18738 arg7
= wxString_in_helper(obj6
);
18739 if (arg7
== NULL
) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18767 static PyObject
*_wrap_Treebook_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
= NULL
;
18769 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18771 wxWindow
*arg3
= (wxWindow
*) 0 ;
18772 wxString
*arg4
= 0 ;
18773 bool arg5
= (bool) false ;
18774 int arg6
= (int) wxNOT_FOUND
;
18776 bool temp4
= false ;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 PyObject
* obj2
= 0 ;
18780 PyObject
* obj3
= 0 ;
18781 PyObject
* obj4
= 0 ;
18782 PyObject
* obj5
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail
;
18791 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18792 if (SWIG_arg_fail(2)) SWIG_fail
;
18794 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18795 if (SWIG_arg_fail(3)) SWIG_fail
;
18797 arg4
= wxString_in_helper(obj3
);
18798 if (arg4
== NULL
) SWIG_fail
;
18803 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
18804 if (SWIG_arg_fail(5)) SWIG_fail
;
18809 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18810 if (SWIG_arg_fail(6)) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18837 static PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
= NULL
;
18839 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18841 wxWindow
*arg3
= (wxWindow
*) 0 ;
18842 wxString
*arg4
= 0 ;
18843 bool arg5
= (bool) false ;
18844 int arg6
= (int) wxNOT_FOUND
;
18846 bool temp4
= false ;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 PyObject
* obj2
= 0 ;
18850 PyObject
* obj3
= 0 ;
18851 PyObject
* obj4
= 0 ;
18852 PyObject
* obj5
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18859 if (SWIG_arg_fail(1)) SWIG_fail
;
18861 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
18862 if (SWIG_arg_fail(2)) SWIG_fail
;
18864 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18865 if (SWIG_arg_fail(3)) SWIG_fail
;
18867 arg4
= wxString_in_helper(obj3
);
18868 if (arg4
== NULL
) SWIG_fail
;
18873 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
18874 if (SWIG_arg_fail(5)) SWIG_fail
;
18879 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18880 if (SWIG_arg_fail(6)) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18907 static PyObject
*_wrap_Treebook_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
= NULL
;
18909 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18910 wxWindow
*arg2
= (wxWindow
*) 0 ;
18911 wxString
*arg3
= 0 ;
18912 bool arg4
= (bool) false ;
18913 int arg5
= (int) wxNOT_FOUND
;
18915 bool temp3
= false ;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 PyObject
* obj2
= 0 ;
18919 PyObject
* obj3
= 0 ;
18920 PyObject
* obj4
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18927 if (SWIG_arg_fail(1)) SWIG_fail
;
18928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18929 if (SWIG_arg_fail(2)) SWIG_fail
;
18931 arg3
= wxString_in_helper(obj2
);
18932 if (arg3
== NULL
) SWIG_fail
;
18937 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
18938 if (SWIG_arg_fail(4)) SWIG_fail
;
18943 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18944 if (SWIG_arg_fail(5)) SWIG_fail
;
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18971 static PyObject
*_wrap_Treebook_AddSubPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= NULL
;
18973 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
18974 wxWindow
*arg2
= (wxWindow
*) 0 ;
18975 wxString
*arg3
= 0 ;
18976 bool arg4
= (bool) false ;
18977 int arg5
= (int) wxNOT_FOUND
;
18979 bool temp3
= false ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 PyObject
* obj2
= 0 ;
18983 PyObject
* obj3
= 0 ;
18984 PyObject
* obj4
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail
;
18992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18993 if (SWIG_arg_fail(2)) SWIG_fail
;
18995 arg3
= wxString_in_helper(obj2
);
18996 if (arg3
== NULL
) SWIG_fail
;
19001 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
19002 if (SWIG_arg_fail(4)) SWIG_fail
;
19007 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19008 if (SWIG_arg_fail(5)) SWIG_fail
;
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19015 wxPyEndAllowThreads(__tstate
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19035 static PyObject
*_wrap_Treebook_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
= NULL
;
19037 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 PyObject
* obj1
= 0 ;
19042 char *kwnames
[] = {
19043 (char *) "self",(char *) "pos", NULL
19046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
19047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19048 if (SWIG_arg_fail(1)) SWIG_fail
;
19050 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19051 if (SWIG_arg_fail(2)) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 result
= (bool)(arg1
)->DeletePage(arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19069 static PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
= NULL
;
19071 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "pos", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
19081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19082 if (SWIG_arg_fail(1)) SWIG_fail
;
19084 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19085 if (SWIG_arg_fail(2)) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19103 static PyObject
*_wrap_Treebook_ExpandNode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
= NULL
;
19105 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19107 bool arg3
= (bool) true ;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj1
= 0 ;
19111 PyObject
* obj2
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self",(char *) "pos",(char *) "expand", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19118 if (SWIG_arg_fail(1)) SWIG_fail
;
19120 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19121 if (SWIG_arg_fail(2)) SWIG_fail
;
19125 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19126 if (SWIG_arg_fail(3)) SWIG_fail
;
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19145 static PyObject
*_wrap_Treebook_CollapseNode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
= NULL
;
19147 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19150 PyObject
* obj0
= 0 ;
19151 PyObject
* obj1
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "self",(char *) "pos", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) goto fail
;
19157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19158 if (SWIG_arg_fail(1)) SWIG_fail
;
19160 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19161 if (SWIG_arg_fail(2)) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (bool)(arg1
)->CollapseNode(arg2
);
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19179 static PyObject
*_wrap_Treebook_GetPageParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
= NULL
;
19181 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self",(char *) "pos", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) goto fail
;
19191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19192 if (SWIG_arg_fail(1)) SWIG_fail
;
19194 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
19195 if (SWIG_arg_fail(2)) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= SWIG_From_int(static_cast<int >(result
));
19213 static PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
= NULL
;
19215 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
19216 wxTreeCtrl
*result
;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Treebook_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
19223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreebook
, SWIG_POINTER_EXCEPTION
| 0);
19224 if (SWIG_arg_fail(1)) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeCtrl
, 0);
19239 static PyObject
* Treebook_swigregister(PyObject
*, PyObject
*args
) {
19241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19242 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook
, obj
);
19244 return Py_BuildValue((char *)"");
19246 static PyObject
*_wrap_new_TreebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
= NULL
;
19248 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19249 int arg2
= (int) 0 ;
19250 int arg3
= (int) wxNOT_FOUND
;
19251 int arg4
= (int) wxNOT_FOUND
;
19252 wxTreebookEvent
*result
;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 PyObject
* obj2
= 0 ;
19256 PyObject
* obj3
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19264 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
19265 if (SWIG_arg_fail(1)) SWIG_fail
;
19270 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19271 if (SWIG_arg_fail(2)) SWIG_fail
;
19276 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19277 if (SWIG_arg_fail(3)) SWIG_fail
;
19282 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19283 if (SWIG_arg_fail(4)) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreebookEvent
, 1);
19300 static PyObject
* TreebookEvent_swigregister(PyObject
*, PyObject
*args
) {
19302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19303 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent
, obj
);
19305 return Py_BuildValue((char *)"");
19307 static PyObject
*_wrap_new_Toolbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
= NULL
;
19309 wxWindow
*arg1
= (wxWindow
*) 0 ;
19311 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19312 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19313 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19314 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19315 long arg5
= (long) wxBK_DEFAULT
;
19316 wxString
const &arg6_defvalue
= wxPyEmptyString
;
19317 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19318 wxToolbook
*result
;
19321 bool temp6
= false ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 PyObject
* obj2
= 0 ;
19325 PyObject
* obj3
= 0 ;
19326 PyObject
* obj4
= 0 ;
19327 PyObject
* obj5
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19334 if (SWIG_arg_fail(1)) SWIG_fail
;
19336 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19337 if (SWIG_arg_fail(2)) SWIG_fail
;
19342 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19348 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19353 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19354 if (SWIG_arg_fail(5)) SWIG_fail
;
19359 arg6
= wxString_in_helper(obj5
);
19360 if (arg6
== NULL
) SWIG_fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbook
, 1);
19386 static PyObject
*_wrap_new_PreToolbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
= NULL
;
19388 wxToolbook
*result
;
19389 char *kwnames
[] = {
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolbook",kwnames
)) goto fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= (wxToolbook
*)new wxToolbook();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbook
, 1);
19408 static PyObject
*_wrap_Toolbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
= NULL
;
19410 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19411 wxWindow
*arg2
= (wxWindow
*) 0 ;
19413 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19414 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19415 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19416 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19417 long arg6
= (long) 0 ;
19418 wxString
const &arg7_defvalue
= wxEmptyString
;
19419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19423 bool temp7
= false ;
19424 PyObject
* obj0
= 0 ;
19425 PyObject
* obj1
= 0 ;
19426 PyObject
* obj2
= 0 ;
19427 PyObject
* obj3
= 0 ;
19428 PyObject
* obj4
= 0 ;
19429 PyObject
* obj5
= 0 ;
19430 PyObject
* obj6
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19437 if (SWIG_arg_fail(1)) SWIG_fail
;
19438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19439 if (SWIG_arg_fail(2)) SWIG_fail
;
19441 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19442 if (SWIG_arg_fail(3)) SWIG_fail
;
19447 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19453 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19458 arg6
= static_cast<long >(SWIG_As_long(obj5
));
19459 if (SWIG_arg_fail(6)) SWIG_fail
;
19464 arg7
= wxString_in_helper(obj6
);
19465 if (arg7
== NULL
) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19493 static PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
= NULL
;
19495 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19496 wxToolBarBase
*result
;
19497 PyObject
* obj0
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Toolbook_GetToolBar",kwnames
,&obj0
)) goto fail
;
19503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19504 if (SWIG_arg_fail(1)) SWIG_fail
;
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19521 static PyObject
*_wrap_Toolbook_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
= NULL
;
19523 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
19524 PyObject
* obj0
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Toolbook_Realize",kwnames
,&obj0
)) goto fail
;
19530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolbook
, SWIG_POINTER_EXCEPTION
| 0);
19531 if (SWIG_arg_fail(1)) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 Py_INCREF(Py_None
); resultobj
= Py_None
;
19546 static PyObject
* Toolbook_swigregister(PyObject
*, PyObject
*args
) {
19548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19549 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook
, obj
);
19551 return Py_BuildValue((char *)"");
19553 static PyObject
*_wrap_new_ToolbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
= NULL
;
19555 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19556 int arg2
= (int) 0 ;
19557 int arg3
= (int) wxNOT_FOUND
;
19558 int arg4
= (int) wxNOT_FOUND
;
19559 wxToolbookEvent
*result
;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 PyObject
* obj2
= 0 ;
19563 PyObject
* obj3
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19571 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
19572 if (SWIG_arg_fail(1)) SWIG_fail
;
19577 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19578 if (SWIG_arg_fail(2)) SWIG_fail
;
19583 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19584 if (SWIG_arg_fail(3)) SWIG_fail
;
19589 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19590 if (SWIG_arg_fail(4)) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolbookEvent
, 1);
19607 static PyObject
* ToolbookEvent_swigregister(PyObject
*, PyObject
*args
) {
19609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19610 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent
, obj
);
19612 return Py_BuildValue((char *)"");
19614 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= NULL
;
19616 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "self", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
19624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19625 if (SWIG_arg_fail(1)) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (int)(arg1
)->GetId();
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_From_int(static_cast<int >(result
));
19642 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
= NULL
;
19644 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19646 PyObject
* obj0
= 0 ;
19647 char *kwnames
[] = {
19648 (char *) "self", NULL
19651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
19652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19653 if (SWIG_arg_fail(1)) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (wxControl
*)(arg1
)->GetControl();
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= wxPyMake_wxObject(result
, 0);
19670 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
= NULL
;
19672 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19673 wxToolBarBase
*result
;
19674 PyObject
* obj0
= 0 ;
19675 char *kwnames
[] = {
19676 (char *) "self", NULL
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
19680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19681 if (SWIG_arg_fail(1)) SWIG_fail
;
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19698 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
= NULL
;
19700 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19702 PyObject
* obj0
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
19708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19709 if (SWIG_arg_fail(1)) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (int)(arg1
)->IsButton();
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= SWIG_From_int(static_cast<int >(result
));
19726 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
= NULL
;
19728 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19730 PyObject
* obj0
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
19736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19737 if (SWIG_arg_fail(1)) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (int)(arg1
)->IsControl();
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_From_int(static_cast<int >(result
));
19754 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
= NULL
;
19756 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
19764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19765 if (SWIG_arg_fail(1)) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (int)(arg1
)->IsSeparator();
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= SWIG_From_int(static_cast<int >(result
));
19782 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
= NULL
;
19784 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19793 if (SWIG_arg_fail(1)) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (int)(arg1
)->GetStyle();
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= SWIG_From_int(static_cast<int >(result
));
19810 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
= NULL
;
19812 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19814 PyObject
* obj0
= 0 ;
19815 char *kwnames
[] = {
19816 (char *) "self", NULL
19819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
19820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19821 if (SWIG_arg_fail(1)) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (wxItemKind
)(arg1
)->GetKind();
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= SWIG_From_int((result
));
19836 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
= NULL
;
19838 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19840 PyObject
* obj0
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
19846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19847 if (SWIG_arg_fail(1)) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (bool)(arg1
)->IsEnabled();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19864 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
= NULL
;
19866 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
19874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19875 if (SWIG_arg_fail(1)) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 result
= (bool)(arg1
)->IsToggled();
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19892 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
= NULL
;
19894 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19896 PyObject
* obj0
= 0 ;
19897 char *kwnames
[] = {
19898 (char *) "self", NULL
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
19902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19903 if (SWIG_arg_fail(1)) SWIG_fail
;
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 result
= (bool)(arg1
)->CanBeToggled();
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19920 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
= NULL
;
19922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19924 PyObject
* obj0
= 0 ;
19925 char *kwnames
[] = {
19926 (char *) "self", NULL
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
19930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19931 if (SWIG_arg_fail(1)) SWIG_fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
19936 result
= (wxBitmap
*) &_result_ref
;
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19943 wxBitmap
* resultptr
= new wxBitmap(*result
);
19944 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19952 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
= NULL
;
19954 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19956 PyObject
* obj0
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "self", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
19962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19963 if (SWIG_arg_fail(1)) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
19968 result
= (wxBitmap
*) &_result_ref
;
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19975 wxBitmap
* resultptr
= new wxBitmap(*result
);
19976 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19984 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
= NULL
;
19986 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
19994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 result
= (arg1
)->GetBitmap();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20004 wxBitmap
* resultptr
;
20005 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
20006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
20014 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
= NULL
;
20016 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20018 PyObject
* obj0
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
20024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20025 if (SWIG_arg_fail(1)) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 result
= (arg1
)->GetLabel();
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20046 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
= NULL
;
20048 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 char *kwnames
[] = {
20052 (char *) "self", NULL
20055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
20056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20057 if (SWIG_arg_fail(1)) SWIG_fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 result
= (arg1
)->GetShortHelp();
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20078 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
= NULL
;
20080 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
20088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20089 if (SWIG_arg_fail(1)) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 result
= (arg1
)->GetLongHelp();
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20110 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
= NULL
;
20112 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self",(char *) "enable", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20123 if (SWIG_arg_fail(1)) SWIG_fail
;
20125 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
20126 if (SWIG_arg_fail(2)) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 result
= (bool)(arg1
)->Enable(arg2
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20144 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
= NULL
;
20146 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20147 PyObject
* obj0
= 0 ;
20148 char *kwnames
[] = {
20149 (char *) "self", NULL
20152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
20153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20154 if (SWIG_arg_fail(1)) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20162 Py_INCREF(Py_None
); resultobj
= Py_None
;
20169 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
= NULL
;
20171 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 char *kwnames
[] = {
20177 (char *) "self",(char *) "toggle", NULL
20180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
20181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20182 if (SWIG_arg_fail(1)) SWIG_fail
;
20184 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
20185 if (SWIG_arg_fail(2)) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 result
= (bool)(arg1
)->SetToggle(arg2
);
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20203 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
= NULL
;
20205 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20206 wxString
*arg2
= 0 ;
20208 bool temp2
= false ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "help", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail
;
20219 arg2
= wxString_in_helper(obj1
);
20220 if (arg2
== NULL
) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20247 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
= NULL
;
20249 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20250 wxString
*arg2
= 0 ;
20252 bool temp2
= false ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self",(char *) "help", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20261 if (SWIG_arg_fail(1)) SWIG_fail
;
20263 arg2
= wxString_in_helper(obj1
);
20264 if (arg2
== NULL
) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20291 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
= NULL
;
20293 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20294 wxBitmap
*arg2
= 0 ;
20295 PyObject
* obj0
= 0 ;
20296 PyObject
* obj1
= 0 ;
20297 char *kwnames
[] = {
20298 (char *) "self",(char *) "bmp", NULL
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
20302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20303 if (SWIG_arg_fail(1)) SWIG_fail
;
20305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20306 if (SWIG_arg_fail(2)) SWIG_fail
;
20307 if (arg2
== NULL
) {
20308 SWIG_null_ref("wxBitmap");
20310 if (SWIG_arg_fail(2)) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 Py_INCREF(Py_None
); resultobj
= Py_None
;
20326 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
= NULL
;
20328 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20329 wxBitmap
*arg2
= 0 ;
20330 PyObject
* obj0
= 0 ;
20331 PyObject
* obj1
= 0 ;
20332 char *kwnames
[] = {
20333 (char *) "self",(char *) "bmp", NULL
20336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
20337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20338 if (SWIG_arg_fail(1)) SWIG_fail
;
20340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20341 if (SWIG_arg_fail(2)) SWIG_fail
;
20342 if (arg2
== NULL
) {
20343 SWIG_null_ref("wxBitmap");
20345 if (SWIG_arg_fail(2)) SWIG_fail
;
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20354 Py_INCREF(Py_None
); resultobj
= Py_None
;
20361 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
= NULL
;
20363 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20364 wxString
*arg2
= 0 ;
20365 bool temp2
= false ;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20368 char *kwnames
[] = {
20369 (char *) "self",(char *) "label", NULL
20372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20374 if (SWIG_arg_fail(1)) SWIG_fail
;
20376 arg2
= wxString_in_helper(obj1
);
20377 if (arg2
== NULL
) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 (arg1
)->SetLabel((wxString
const &)*arg2
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 Py_INCREF(Py_None
); resultobj
= Py_None
;
20402 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
= NULL
;
20404 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
20411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20412 if (SWIG_arg_fail(1)) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 Py_INCREF(Py_None
); resultobj
= Py_None
;
20427 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
= NULL
;
20429 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20430 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self",(char *) "tbar", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
20438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail
;
20440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20441 if (SWIG_arg_fail(2)) SWIG_fail
;
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 (arg1
)->Attach(arg2
);
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20449 Py_INCREF(Py_None
); resultobj
= Py_None
;
20456 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
= NULL
;
20458 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
20466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail
;
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 resultobj
= result
;
20482 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20483 PyObject
*resultobj
= NULL
;
20484 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
20485 PyObject
*arg2
= (PyObject
*) 0 ;
20486 PyObject
* obj0
= 0 ;
20487 PyObject
* obj1
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self",(char *) "clientData", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20494 if (SWIG_arg_fail(1)) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 wxToolBarToolBase_SetClientData(arg1
,arg2
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 Py_INCREF(Py_None
); resultobj
= Py_None
;
20510 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
20512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20513 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
20515 return Py_BuildValue((char *)"");
20517 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
= NULL
;
20519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20521 wxString
*arg3
= 0 ;
20522 wxBitmap
*arg4
= 0 ;
20523 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
20524 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
20525 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
20526 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20527 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20528 wxString
const &arg8_defvalue
= wxPyEmptyString
;
20529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20530 PyObject
*arg9
= (PyObject
*) NULL
;
20531 wxToolBarToolBase
*result
;
20532 bool temp3
= false ;
20533 bool temp7
= false ;
20534 bool temp8
= false ;
20535 PyObject
* obj0
= 0 ;
20536 PyObject
* obj1
= 0 ;
20537 PyObject
* obj2
= 0 ;
20538 PyObject
* obj3
= 0 ;
20539 PyObject
* obj4
= 0 ;
20540 PyObject
* obj5
= 0 ;
20541 PyObject
* obj6
= 0 ;
20542 PyObject
* obj7
= 0 ;
20543 PyObject
* obj8
= 0 ;
20544 char *kwnames
[] = {
20545 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
20549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20550 if (SWIG_arg_fail(1)) SWIG_fail
;
20552 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20553 if (SWIG_arg_fail(2)) SWIG_fail
;
20556 arg3
= wxString_in_helper(obj2
);
20557 if (arg3
== NULL
) SWIG_fail
;
20561 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20562 if (SWIG_arg_fail(4)) SWIG_fail
;
20563 if (arg4
== NULL
) {
20564 SWIG_null_ref("wxBitmap");
20566 if (SWIG_arg_fail(4)) SWIG_fail
;
20570 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20571 if (SWIG_arg_fail(5)) SWIG_fail
;
20572 if (arg5
== NULL
) {
20573 SWIG_null_ref("wxBitmap");
20575 if (SWIG_arg_fail(5)) SWIG_fail
;
20580 arg6
= static_cast<wxItemKind
>(SWIG_As_int(obj5
));
20581 if (SWIG_arg_fail(6)) SWIG_fail
;
20586 arg7
= wxString_in_helper(obj6
);
20587 if (arg7
== NULL
) SWIG_fail
;
20593 arg8
= wxString_in_helper(obj7
);
20594 if (arg8
== NULL
) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20641 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
= NULL
;
20643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20646 wxString
*arg4
= 0 ;
20647 wxBitmap
*arg5
= 0 ;
20648 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
20649 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
20650 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
20651 wxString
const &arg8_defvalue
= wxPyEmptyString
;
20652 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20653 wxString
const &arg9_defvalue
= wxPyEmptyString
;
20654 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
20655 PyObject
*arg10
= (PyObject
*) NULL
;
20656 wxToolBarToolBase
*result
;
20657 bool temp4
= false ;
20658 bool temp8
= false ;
20659 bool temp9
= false ;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 PyObject
* obj2
= 0 ;
20663 PyObject
* obj3
= 0 ;
20664 PyObject
* obj4
= 0 ;
20665 PyObject
* obj5
= 0 ;
20666 PyObject
* obj6
= 0 ;
20667 PyObject
* obj7
= 0 ;
20668 PyObject
* obj8
= 0 ;
20669 PyObject
* obj9
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
20675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20676 if (SWIG_arg_fail(1)) SWIG_fail
;
20678 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20679 if (SWIG_arg_fail(2)) SWIG_fail
;
20682 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20683 if (SWIG_arg_fail(3)) SWIG_fail
;
20686 arg4
= wxString_in_helper(obj3
);
20687 if (arg4
== NULL
) SWIG_fail
;
20691 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20692 if (SWIG_arg_fail(5)) SWIG_fail
;
20693 if (arg5
== NULL
) {
20694 SWIG_null_ref("wxBitmap");
20696 if (SWIG_arg_fail(5)) SWIG_fail
;
20700 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20701 if (SWIG_arg_fail(6)) SWIG_fail
;
20702 if (arg6
== NULL
) {
20703 SWIG_null_ref("wxBitmap");
20705 if (SWIG_arg_fail(6)) SWIG_fail
;
20710 arg7
= static_cast<wxItemKind
>(SWIG_As_int(obj6
));
20711 if (SWIG_arg_fail(7)) SWIG_fail
;
20716 arg8
= wxString_in_helper(obj7
);
20717 if (arg8
== NULL
) SWIG_fail
;
20723 arg9
= wxString_in_helper(obj8
);
20724 if (arg9
== NULL
) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20771 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
= NULL
;
20773 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20774 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
20775 wxToolBarToolBase
*result
;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self",(char *) "tool", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20784 if (SWIG_arg_fail(1)) SWIG_fail
;
20785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20786 if (SWIG_arg_fail(2)) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20803 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
= NULL
;
20805 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20807 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
20808 wxToolBarToolBase
*result
;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20811 PyObject
* obj2
= 0 ;
20812 char *kwnames
[] = {
20813 (char *) "self",(char *) "pos",(char *) "tool", NULL
20816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20818 if (SWIG_arg_fail(1)) SWIG_fail
;
20820 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20821 if (SWIG_arg_fail(2)) SWIG_fail
;
20823 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
20824 if (SWIG_arg_fail(3)) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20841 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
= NULL
;
20843 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20844 wxControl
*arg2
= (wxControl
*) 0 ;
20845 wxToolBarToolBase
*result
;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self",(char *) "control", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20854 if (SWIG_arg_fail(1)) SWIG_fail
;
20855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
20856 if (SWIG_arg_fail(2)) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20873 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
= NULL
;
20875 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20877 wxControl
*arg3
= (wxControl
*) 0 ;
20878 wxToolBarToolBase
*result
;
20879 PyObject
* obj0
= 0 ;
20880 PyObject
* obj1
= 0 ;
20881 PyObject
* obj2
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self",(char *) "pos",(char *) "control", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail
;
20890 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20891 if (SWIG_arg_fail(2)) SWIG_fail
;
20893 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
20894 if (SWIG_arg_fail(3)) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20911 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
= NULL
;
20913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self",(char *) "id", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20924 if (SWIG_arg_fail(1)) SWIG_fail
;
20926 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20927 if (SWIG_arg_fail(2)) SWIG_fail
;
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= wxPyMake_wxObject(result
, 0);
20945 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
= NULL
;
20947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20948 wxToolBarToolBase
*result
;
20949 PyObject
* obj0
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "self", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
20955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20956 if (SWIG_arg_fail(1)) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20973 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
= NULL
;
20975 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20977 wxToolBarToolBase
*result
;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "self",(char *) "pos", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
20985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20986 if (SWIG_arg_fail(1)) SWIG_fail
;
20988 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
20989 if (SWIG_arg_fail(2)) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21007 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
= NULL
;
21009 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21011 wxToolBarToolBase
*result
;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self",(char *) "id", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
21019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21020 if (SWIG_arg_fail(1)) SWIG_fail
;
21022 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21023 if (SWIG_arg_fail(2)) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21041 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
= NULL
;
21043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21048 char *kwnames
[] = {
21049 (char *) "self",(char *) "pos", NULL
21052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
21053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21054 if (SWIG_arg_fail(1)) SWIG_fail
;
21056 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
21057 if (SWIG_arg_fail(2)) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21075 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21076 PyObject
*resultobj
= NULL
;
21077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self",(char *) "id", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
21087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21088 if (SWIG_arg_fail(1)) SWIG_fail
;
21090 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21091 if (SWIG_arg_fail(2)) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (bool)(arg1
)->DeleteTool(arg2
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21109 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
= NULL
;
21111 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
21118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21119 if (SWIG_arg_fail(1)) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 (arg1
)->ClearTools();
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 Py_INCREF(Py_None
); resultobj
= Py_None
;
21134 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
= NULL
;
21136 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
21144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (bool)(arg1
)->Realize();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21162 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
= NULL
;
21164 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 PyObject
* obj2
= 0 ;
21170 char *kwnames
[] = {
21171 (char *) "self",(char *) "id",(char *) "enable", NULL
21174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21176 if (SWIG_arg_fail(1)) SWIG_fail
;
21178 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21179 if (SWIG_arg_fail(2)) SWIG_fail
;
21182 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21183 if (SWIG_arg_fail(3)) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 (arg1
)->EnableTool(arg2
,arg3
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 Py_INCREF(Py_None
); resultobj
= Py_None
;
21199 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
= NULL
;
21201 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21204 PyObject
* obj0
= 0 ;
21205 PyObject
* obj1
= 0 ;
21206 PyObject
* obj2
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "self",(char *) "id",(char *) "toggle", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21213 if (SWIG_arg_fail(1)) SWIG_fail
;
21215 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21216 if (SWIG_arg_fail(2)) SWIG_fail
;
21219 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21220 if (SWIG_arg_fail(3)) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 (arg1
)->ToggleTool(arg2
,arg3
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 Py_INCREF(Py_None
); resultobj
= Py_None
;
21236 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
= NULL
;
21238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 PyObject
* obj2
= 0 ;
21244 char *kwnames
[] = {
21245 (char *) "self",(char *) "id",(char *) "toggle", NULL
21248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21250 if (SWIG_arg_fail(1)) SWIG_fail
;
21252 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21253 if (SWIG_arg_fail(2)) SWIG_fail
;
21256 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21257 if (SWIG_arg_fail(3)) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 (arg1
)->SetToggle(arg2
,arg3
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 Py_INCREF(Py_None
); resultobj
= Py_None
;
21273 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
= NULL
;
21275 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 char *kwnames
[] = {
21281 (char *) "self",(char *) "id", NULL
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
21285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21286 if (SWIG_arg_fail(1)) SWIG_fail
;
21288 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21289 if (SWIG_arg_fail(2)) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= result
;
21305 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
= NULL
;
21307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21309 PyObject
*arg3
= (PyObject
*) 0 ;
21310 PyObject
* obj0
= 0 ;
21311 PyObject
* obj1
= 0 ;
21312 PyObject
* obj2
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self",(char *) "id",(char *) "clientData", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21319 if (SWIG_arg_fail(1)) SWIG_fail
;
21321 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21322 if (SWIG_arg_fail(2)) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 Py_INCREF(Py_None
); resultobj
= Py_None
;
21339 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
= NULL
;
21341 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 PyObject
* obj1
= 0 ;
21346 char *kwnames
[] = {
21347 (char *) "self",(char *) "id", NULL
21350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
21351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21352 if (SWIG_arg_fail(1)) SWIG_fail
;
21354 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21355 if (SWIG_arg_fail(2)) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= SWIG_From_int(static_cast<int >(result
));
21373 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
= NULL
;
21375 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self",(char *) "id", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
21385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21386 if (SWIG_arg_fail(1)) SWIG_fail
;
21388 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21389 if (SWIG_arg_fail(2)) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (bool)(arg1
)->GetToolState(arg2
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21407 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
= NULL
;
21409 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21412 PyObject
* obj0
= 0 ;
21413 PyObject
* obj1
= 0 ;
21414 char *kwnames
[] = {
21415 (char *) "self",(char *) "id", NULL
21418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21420 if (SWIG_arg_fail(1)) SWIG_fail
;
21422 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21423 if (SWIG_arg_fail(2)) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21441 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
= NULL
;
21443 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21445 wxString
*arg3
= 0 ;
21446 bool temp3
= false ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 PyObject
* obj2
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self",(char *) "id",(char *) "helpString", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail
;
21458 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21459 if (SWIG_arg_fail(2)) SWIG_fail
;
21462 arg3
= wxString_in_helper(obj2
);
21463 if (arg3
== NULL
) SWIG_fail
;
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 Py_INCREF(Py_None
); resultobj
= Py_None
;
21488 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
= NULL
;
21490 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21493 PyObject
* obj0
= 0 ;
21494 PyObject
* obj1
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self",(char *) "id", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail
;
21503 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21504 if (SWIG_arg_fail(2)) SWIG_fail
;
21507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21508 result
= (arg1
)->GetToolShortHelp(arg2
);
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21526 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
= NULL
;
21528 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21530 wxString
*arg3
= 0 ;
21531 bool temp3
= false ;
21532 PyObject
* obj0
= 0 ;
21533 PyObject
* obj1
= 0 ;
21534 PyObject
* obj2
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self",(char *) "id",(char *) "helpString", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21541 if (SWIG_arg_fail(1)) SWIG_fail
;
21543 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21544 if (SWIG_arg_fail(2)) SWIG_fail
;
21547 arg3
= wxString_in_helper(obj2
);
21548 if (arg3
== NULL
) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 Py_INCREF(Py_None
); resultobj
= Py_None
;
21573 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
= NULL
;
21575 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self",(char *) "id", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21586 if (SWIG_arg_fail(1)) SWIG_fail
;
21588 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21589 if (SWIG_arg_fail(2)) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 result
= (arg1
)->GetToolLongHelp(arg2
);
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21611 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
= NULL
;
21613 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 PyObject
* obj2
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "x",(char *) "y", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail
;
21627 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21628 if (SWIG_arg_fail(2)) SWIG_fail
;
21631 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21632 if (SWIG_arg_fail(3)) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 (arg1
)->SetMargins(arg2
,arg3
);
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 Py_INCREF(Py_None
); resultobj
= Py_None
;
21648 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
= NULL
;
21650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self",(char *) "size", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail
;
21664 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 (arg1
)->SetMargins((wxSize
const &)*arg2
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 Py_INCREF(Py_None
); resultobj
= Py_None
;
21680 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
= NULL
;
21682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21684 PyObject
* obj0
= 0 ;
21685 PyObject
* obj1
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self",(char *) "packing", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
21691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21692 if (SWIG_arg_fail(1)) SWIG_fail
;
21694 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21695 if (SWIG_arg_fail(2)) SWIG_fail
;
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 (arg1
)->SetToolPacking(arg2
);
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 Py_INCREF(Py_None
); resultobj
= Py_None
;
21711 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
= NULL
;
21713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21715 PyObject
* obj0
= 0 ;
21716 PyObject
* obj1
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self",(char *) "separation", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
21722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21723 if (SWIG_arg_fail(1)) SWIG_fail
;
21725 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21726 if (SWIG_arg_fail(2)) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 (arg1
)->SetToolSeparation(arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 Py_INCREF(Py_None
); resultobj
= Py_None
;
21742 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
= NULL
;
21744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21746 PyObject
* obj0
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 result
= (arg1
)->GetToolMargins();
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21762 wxSize
* resultptr
;
21763 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21772 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
= NULL
;
21774 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21776 PyObject
* obj0
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
21782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21783 if (SWIG_arg_fail(1)) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= (arg1
)->GetMargins();
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21792 wxSize
* resultptr
;
21793 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
21794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21802 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
= NULL
;
21804 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
21812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21813 if (SWIG_arg_fail(1)) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (int)(arg1
)->GetToolPacking();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= SWIG_From_int(static_cast<int >(result
));
21830 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
= NULL
;
21832 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21834 PyObject
* obj0
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
21840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21841 if (SWIG_arg_fail(1)) SWIG_fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (int)(arg1
)->GetToolSeparation();
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= SWIG_From_int(static_cast<int >(result
));
21858 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
= NULL
;
21860 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 char *kwnames
[] = {
21865 (char *) "self",(char *) "nRows", NULL
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
21869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail
;
21872 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21873 if (SWIG_arg_fail(2)) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 (arg1
)->SetRows(arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 Py_INCREF(Py_None
); resultobj
= Py_None
;
21889 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
= NULL
;
21891 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21894 PyObject
* obj0
= 0 ;
21895 PyObject
* obj1
= 0 ;
21896 PyObject
* obj2
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "self",(char *) "rows",(char *) "cols", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21903 if (SWIG_arg_fail(1)) SWIG_fail
;
21905 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21906 if (SWIG_arg_fail(2)) SWIG_fail
;
21909 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21910 if (SWIG_arg_fail(3)) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 Py_INCREF(Py_None
); resultobj
= Py_None
;
21926 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
= NULL
;
21928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
21936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21937 if (SWIG_arg_fail(1)) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (int)(arg1
)->GetMaxRows();
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 resultobj
= SWIG_From_int(static_cast<int >(result
));
21954 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
= NULL
;
21956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "self", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
21964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21965 if (SWIG_arg_fail(1)) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 result
= (int)(arg1
)->GetMaxCols();
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_From_int(static_cast<int >(result
));
21982 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
= NULL
;
21984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21987 PyObject
* obj0
= 0 ;
21988 PyObject
* obj1
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self",(char *) "size", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21995 if (SWIG_arg_fail(1)) SWIG_fail
;
21998 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 Py_INCREF(Py_None
); resultobj
= Py_None
;
22014 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
= NULL
;
22016 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
22024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (arg1
)->GetToolBitmapSize();
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 wxSize
* resultptr
;
22035 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22044 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
= NULL
;
22046 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
22054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 result
= (arg1
)->GetToolSize();
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22064 wxSize
* resultptr
;
22065 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22074 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22075 PyObject
*resultobj
= NULL
;
22076 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22079 wxToolBarToolBase
*result
;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 PyObject
* obj2
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self",(char *) "x",(char *) "y", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22089 if (SWIG_arg_fail(1)) SWIG_fail
;
22091 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22092 if (SWIG_arg_fail(2)) SWIG_fail
;
22095 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22096 if (SWIG_arg_fail(3)) SWIG_fail
;
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22114 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
= NULL
;
22116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22118 wxToolBarToolBase
*result
;
22119 PyObject
* obj0
= 0 ;
22120 PyObject
* obj1
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self",(char *) "toolid", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
22126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22127 if (SWIG_arg_fail(1)) SWIG_fail
;
22129 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22130 if (SWIG_arg_fail(2)) SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22148 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
= NULL
;
22150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22152 PyObject
* obj0
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
22158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
22159 if (SWIG_arg_fail(1)) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 result
= (bool)(arg1
)->IsVertical();
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22176 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
22178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22179 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
22181 return Py_BuildValue((char *)"");
22183 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
= NULL
;
22185 wxWindow
*arg1
= (wxWindow
*) 0 ;
22186 int arg2
= (int) -1 ;
22187 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22188 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22189 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22190 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22191 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
22192 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
22193 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22197 bool temp6
= false ;
22198 PyObject
* obj0
= 0 ;
22199 PyObject
* obj1
= 0 ;
22200 PyObject
* obj2
= 0 ;
22201 PyObject
* obj3
= 0 ;
22202 PyObject
* obj4
= 0 ;
22203 PyObject
* obj5
= 0 ;
22204 char *kwnames
[] = {
22205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22210 if (SWIG_arg_fail(1)) SWIG_fail
;
22213 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22214 if (SWIG_arg_fail(2)) SWIG_fail
;
22220 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22226 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22231 arg5
= static_cast<long >(SWIG_As_long(obj4
));
22232 if (SWIG_arg_fail(5)) SWIG_fail
;
22237 arg6
= wxString_in_helper(obj5
);
22238 if (arg6
== NULL
) SWIG_fail
;
22243 if (!wxPyCheckForApp()) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
22265 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
= NULL
;
22268 char *kwnames
[] = {
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
22274 if (!wxPyCheckForApp()) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= (wxToolBar
*)new wxToolBar();
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
22288 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
= NULL
;
22290 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
22291 wxWindow
*arg2
= (wxWindow
*) 0 ;
22292 int arg3
= (int) -1 ;
22293 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22294 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22295 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22296 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22297 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
22298 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
22299 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22303 bool temp7
= false ;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 PyObject
* obj2
= 0 ;
22307 PyObject
* obj3
= 0 ;
22308 PyObject
* obj4
= 0 ;
22309 PyObject
* obj5
= 0 ;
22310 PyObject
* obj6
= 0 ;
22311 char *kwnames
[] = {
22312 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
22317 if (SWIG_arg_fail(1)) SWIG_fail
;
22318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22319 if (SWIG_arg_fail(2)) SWIG_fail
;
22322 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22323 if (SWIG_arg_fail(3)) SWIG_fail
;
22329 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22335 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22340 arg6
= static_cast<long >(SWIG_As_long(obj5
));
22341 if (SWIG_arg_fail(6)) SWIG_fail
;
22346 arg7
= wxString_in_helper(obj6
);
22347 if (arg7
== NULL
) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22375 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
= NULL
;
22377 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
22380 wxToolBarToolBase
*result
;
22381 PyObject
* obj0
= 0 ;
22382 PyObject
* obj1
= 0 ;
22383 PyObject
* obj2
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self",(char *) "x",(char *) "y", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
22390 if (SWIG_arg_fail(1)) SWIG_fail
;
22392 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22393 if (SWIG_arg_fail(2)) SWIG_fail
;
22396 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22397 if (SWIG_arg_fail(3)) SWIG_fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22407 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22415 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22416 PyObject
*resultobj
= NULL
;
22417 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
22418 wxVisualAttributes result
;
22419 PyObject
* obj0
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "variant", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22427 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
22428 if (SWIG_arg_fail(1)) SWIG_fail
;
22432 if (!wxPyCheckForApp()) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22440 wxVisualAttributes
* resultptr
;
22441 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
22442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22450 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
22452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22453 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
22455 return Py_BuildValue((char *)"");
22457 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
22458 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
22463 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
22464 PyObject
*pyobj
= NULL
;
22468 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
22470 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
22477 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
= NULL
;
22479 wxColour
const &arg1_defvalue
= wxNullColour
;
22480 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
22481 wxColour
const &arg2_defvalue
= wxNullColour
;
22482 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
22483 wxFont
const &arg3_defvalue
= wxNullFont
;
22484 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
22485 wxListItemAttr
*result
;
22488 PyObject
* obj0
= 0 ;
22489 PyObject
* obj1
= 0 ;
22490 PyObject
* obj2
= 0 ;
22491 char *kwnames
[] = {
22492 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22499 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
22505 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22510 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22511 if (SWIG_arg_fail(3)) SWIG_fail
;
22512 if (arg3
== NULL
) {
22513 SWIG_null_ref("wxFont");
22515 if (SWIG_arg_fail(3)) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
22532 static PyObject
*_wrap_delete_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
= NULL
;
22534 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22535 PyObject
* obj0
= 0 ;
22536 char *kwnames
[] = {
22537 (char *) "self", NULL
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItemAttr",kwnames
,&obj0
)) goto fail
;
22541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22542 if (SWIG_arg_fail(1)) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 Py_INCREF(Py_None
); resultobj
= Py_None
;
22557 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
= NULL
;
22559 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22560 wxColour
*arg2
= 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self",(char *) "colText", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22570 if (SWIG_arg_fail(1)) SWIG_fail
;
22573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 Py_INCREF(Py_None
); resultobj
= Py_None
;
22589 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
= NULL
;
22591 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22592 wxColour
*arg2
= 0 ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 char *kwnames
[] = {
22597 (char *) "self",(char *) "colBack", NULL
22600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail
;
22605 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
= NULL
;
22623 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self",(char *) "font", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22633 if (SWIG_arg_fail(1)) SWIG_fail
;
22635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22636 if (SWIG_arg_fail(2)) SWIG_fail
;
22637 if (arg2
== NULL
) {
22638 SWIG_null_ref("wxFont");
22640 if (SWIG_arg_fail(2)) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 (arg1
)->SetFont((wxFont
const &)*arg2
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 Py_INCREF(Py_None
); resultobj
= Py_None
;
22656 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
= NULL
;
22658 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
22666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22667 if (SWIG_arg_fail(1)) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= (bool)(arg1
)->HasTextColour();
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22684 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
= NULL
;
22686 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
22694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22695 if (SWIG_arg_fail(1)) SWIG_fail
;
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 result
= (bool)(arg1
)->HasBackgroundColour();
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22712 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
= NULL
;
22714 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
22722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22723 if (SWIG_arg_fail(1)) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (bool)(arg1
)->HasFont();
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22740 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
= NULL
;
22742 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22744 PyObject
* obj0
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
22750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22751 if (SWIG_arg_fail(1)) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (arg1
)->GetTextColour();
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22760 wxColour
* resultptr
;
22761 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22770 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
= NULL
;
22772 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22774 PyObject
* obj0
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22781 if (SWIG_arg_fail(1)) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (arg1
)->GetBackgroundColour();
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 wxColour
* resultptr
;
22791 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
22792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22800 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
= NULL
;
22802 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22804 PyObject
* obj0
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "self", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
22810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (arg1
)->GetFont();
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22820 wxFont
* resultptr
;
22821 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
22822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22830 static PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
= NULL
;
22832 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22833 wxListItemAttr
*arg2
= 0 ;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "source", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22845 if (SWIG_arg_fail(2)) SWIG_fail
;
22846 if (arg2
== NULL
) {
22847 SWIG_null_ref("wxListItemAttr");
22849 if (SWIG_arg_fail(2)) SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 Py_INCREF(Py_None
); resultobj
= Py_None
;
22865 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
= NULL
;
22867 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
22868 PyObject
* obj0
= 0 ;
22869 char *kwnames
[] = {
22870 (char *) "self", NULL
22873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
22874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
22875 if (SWIG_arg_fail(1)) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 wxListItemAttr_Destroy(arg1
);
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 Py_INCREF(Py_None
); resultobj
= Py_None
;
22890 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
22892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22893 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
22895 return Py_BuildValue((char *)"");
22897 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
= NULL
;
22899 wxListItem
*result
;
22900 char *kwnames
[] = {
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (wxListItem
*)new wxListItem();
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= wxPyMake_wxObject(result
, (bool)1);
22921 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
= NULL
;
22923 wxListItem
*arg1
= (wxListItem
*) 0 ;
22924 PyObject
* obj0
= 0 ;
22925 char *kwnames
[] = {
22926 (char *) "self", NULL
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
22930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22931 if (SWIG_arg_fail(1)) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 Py_INCREF(Py_None
); resultobj
= Py_None
;
22946 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
= NULL
;
22948 wxListItem
*arg1
= (wxListItem
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
22955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22956 if (SWIG_arg_fail(1)) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 Py_INCREF(Py_None
); resultobj
= Py_None
;
22971 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
= NULL
;
22973 wxListItem
*arg1
= (wxListItem
*) 0 ;
22974 PyObject
* obj0
= 0 ;
22975 char *kwnames
[] = {
22976 (char *) "self", NULL
22979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
22980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22981 if (SWIG_arg_fail(1)) SWIG_fail
;
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 (arg1
)->ClearAttributes();
22986 wxPyEndAllowThreads(__tstate
);
22987 if (PyErr_Occurred()) SWIG_fail
;
22989 Py_INCREF(Py_None
); resultobj
= Py_None
;
22996 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22997 PyObject
*resultobj
= NULL
;
22998 wxListItem
*arg1
= (wxListItem
*) 0 ;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self",(char *) "mask", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
23007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail
;
23010 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23011 if (SWIG_arg_fail(2)) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 (arg1
)->SetMask(arg2
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 Py_INCREF(Py_None
); resultobj
= Py_None
;
23027 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
= NULL
;
23029 wxListItem
*arg1
= (wxListItem
*) 0 ;
23031 PyObject
* obj0
= 0 ;
23032 PyObject
* obj1
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self",(char *) "id", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail
;
23041 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23042 if (SWIG_arg_fail(2)) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 (arg1
)->SetId(arg2
);
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 Py_INCREF(Py_None
); resultobj
= Py_None
;
23058 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
= NULL
;
23060 wxListItem
*arg1
= (wxListItem
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 PyObject
* obj1
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self",(char *) "col", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23070 if (SWIG_arg_fail(1)) SWIG_fail
;
23072 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23073 if (SWIG_arg_fail(2)) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 (arg1
)->SetColumn(arg2
);
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 Py_INCREF(Py_None
); resultobj
= Py_None
;
23089 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
= NULL
;
23091 wxListItem
*arg1
= (wxListItem
*) 0 ;
23093 PyObject
* obj0
= 0 ;
23094 PyObject
* obj1
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self",(char *) "state", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
23100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23101 if (SWIG_arg_fail(1)) SWIG_fail
;
23103 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23104 if (SWIG_arg_fail(2)) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 (arg1
)->SetState(arg2
);
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 Py_INCREF(Py_None
); resultobj
= Py_None
;
23120 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
= NULL
;
23122 wxListItem
*arg1
= (wxListItem
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 PyObject
* obj1
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self",(char *) "stateMask", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
23131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail
;
23134 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23135 if (SWIG_arg_fail(2)) SWIG_fail
;
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23139 (arg1
)->SetStateMask(arg2
);
23141 wxPyEndAllowThreads(__tstate
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 Py_INCREF(Py_None
); resultobj
= Py_None
;
23151 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
= NULL
;
23153 wxListItem
*arg1
= (wxListItem
*) 0 ;
23154 wxString
*arg2
= 0 ;
23155 bool temp2
= false ;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self",(char *) "text", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
23163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23164 if (SWIG_arg_fail(1)) SWIG_fail
;
23166 arg2
= wxString_in_helper(obj1
);
23167 if (arg2
== NULL
) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 (arg1
)->SetText((wxString
const &)*arg2
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 Py_INCREF(Py_None
); resultobj
= Py_None
;
23192 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
= NULL
;
23194 wxListItem
*arg1
= (wxListItem
*) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 char *kwnames
[] = {
23199 (char *) "self",(char *) "image", NULL
23202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23204 if (SWIG_arg_fail(1)) SWIG_fail
;
23206 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23207 if (SWIG_arg_fail(2)) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->SetImage(arg2
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 Py_INCREF(Py_None
); resultobj
= Py_None
;
23223 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
= NULL
;
23225 wxListItem
*arg1
= (wxListItem
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 PyObject
* obj1
= 0 ;
23229 char *kwnames
[] = {
23230 (char *) "self",(char *) "data", NULL
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23235 if (SWIG_arg_fail(1)) SWIG_fail
;
23237 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23238 if (SWIG_arg_fail(2)) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 (arg1
)->SetData(arg2
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 Py_INCREF(Py_None
); resultobj
= Py_None
;
23254 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
= NULL
;
23256 wxListItem
*arg1
= (wxListItem
*) 0 ;
23258 PyObject
* obj0
= 0 ;
23259 PyObject
* obj1
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self",(char *) "width", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
23265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23266 if (SWIG_arg_fail(1)) SWIG_fail
;
23268 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23269 if (SWIG_arg_fail(2)) SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 (arg1
)->SetWidth(arg2
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 Py_INCREF(Py_None
); resultobj
= Py_None
;
23285 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
= NULL
;
23287 wxListItem
*arg1
= (wxListItem
*) 0 ;
23288 wxListColumnFormat arg2
;
23289 PyObject
* obj0
= 0 ;
23290 PyObject
* obj1
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self",(char *) "align", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
23296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 arg2
= static_cast<wxListColumnFormat
>(SWIG_As_int(obj1
));
23300 if (SWIG_arg_fail(2)) SWIG_fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 (arg1
)->SetAlign(arg2
);
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 Py_INCREF(Py_None
); resultobj
= Py_None
;
23316 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23317 PyObject
*resultobj
= NULL
;
23318 wxListItem
*arg1
= (wxListItem
*) 0 ;
23319 wxColour
*arg2
= 0 ;
23321 PyObject
* obj0
= 0 ;
23322 PyObject
* obj1
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "self",(char *) "colText", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail
;
23332 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23341 Py_INCREF(Py_None
); resultobj
= Py_None
;
23348 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
= NULL
;
23350 wxListItem
*arg1
= (wxListItem
*) 0 ;
23351 wxColour
*arg2
= 0 ;
23353 PyObject
* obj0
= 0 ;
23354 PyObject
* obj1
= 0 ;
23355 char *kwnames
[] = {
23356 (char *) "self",(char *) "colBack", NULL
23359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23361 if (SWIG_arg_fail(1)) SWIG_fail
;
23364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 Py_INCREF(Py_None
); resultobj
= Py_None
;
23380 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
= NULL
;
23382 wxListItem
*arg1
= (wxListItem
*) 0 ;
23384 PyObject
* obj0
= 0 ;
23385 PyObject
* obj1
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self",(char *) "font", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
23391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23392 if (SWIG_arg_fail(1)) SWIG_fail
;
23394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
23395 if (SWIG_arg_fail(2)) SWIG_fail
;
23396 if (arg2
== NULL
) {
23397 SWIG_null_ref("wxFont");
23399 if (SWIG_arg_fail(2)) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 (arg1
)->SetFont((wxFont
const &)*arg2
);
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 Py_INCREF(Py_None
); resultobj
= Py_None
;
23415 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
= NULL
;
23417 wxListItem
*arg1
= (wxListItem
*) 0 ;
23419 PyObject
* obj0
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "self", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
23425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (long)(arg1
)->GetMask();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= SWIG_From_long(static_cast<long >(result
));
23443 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
= NULL
;
23445 wxListItem
*arg1
= (wxListItem
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
23453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23454 if (SWIG_arg_fail(1)) SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (long)(arg1
)->GetId();
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= SWIG_From_long(static_cast<long >(result
));
23471 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
= NULL
;
23473 wxListItem
*arg1
= (wxListItem
*) 0 ;
23475 PyObject
* obj0
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
23481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23482 if (SWIG_arg_fail(1)) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (int)(arg1
)->GetColumn();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= SWIG_From_int(static_cast<int >(result
));
23499 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
= NULL
;
23501 wxListItem
*arg1
= (wxListItem
*) 0 ;
23503 PyObject
* obj0
= 0 ;
23504 char *kwnames
[] = {
23505 (char *) "self", NULL
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
23509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23510 if (SWIG_arg_fail(1)) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 result
= (long)(arg1
)->GetState();
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23519 resultobj
= SWIG_From_long(static_cast<long >(result
));
23527 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
= NULL
;
23529 wxListItem
*arg1
= (wxListItem
*) 0 ;
23531 PyObject
* obj0
= 0 ;
23532 char *kwnames
[] = {
23533 (char *) "self", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
23537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23538 if (SWIG_arg_fail(1)) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 wxString
const &_result_ref
= (arg1
)->GetText();
23543 result
= (wxString
*) &_result_ref
;
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23553 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23562 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
= NULL
;
23564 wxListItem
*arg1
= (wxListItem
*) 0 ;
23566 PyObject
* obj0
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
23572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23573 if (SWIG_arg_fail(1)) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (int)(arg1
)->GetImage();
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_From_int(static_cast<int >(result
));
23590 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
= NULL
;
23592 wxListItem
*arg1
= (wxListItem
*) 0 ;
23594 PyObject
* obj0
= 0 ;
23595 char *kwnames
[] = {
23596 (char *) "self", NULL
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
23600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23601 if (SWIG_arg_fail(1)) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= (long)(arg1
)->GetData();
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= SWIG_From_long(static_cast<long >(result
));
23618 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
= NULL
;
23620 wxListItem
*arg1
= (wxListItem
*) 0 ;
23622 PyObject
* obj0
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
23628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23629 if (SWIG_arg_fail(1)) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 result
= (int)(arg1
)->GetWidth();
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= SWIG_From_int(static_cast<int >(result
));
23646 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
= NULL
;
23648 wxListItem
*arg1
= (wxListItem
*) 0 ;
23649 wxListColumnFormat result
;
23650 PyObject
* obj0
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
23656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23657 if (SWIG_arg_fail(1)) SWIG_fail
;
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_From_int((result
));
23672 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
= NULL
;
23674 wxListItem
*arg1
= (wxListItem
*) 0 ;
23675 wxListItemAttr
*result
;
23676 PyObject
* obj0
= 0 ;
23677 char *kwnames
[] = {
23678 (char *) "self", NULL
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
23682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23683 if (SWIG_arg_fail(1)) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
23698 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
= NULL
;
23700 wxListItem
*arg1
= (wxListItem
*) 0 ;
23702 PyObject
* obj0
= 0 ;
23703 char *kwnames
[] = {
23704 (char *) "self", NULL
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
23708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23709 if (SWIG_arg_fail(1)) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 result
= (bool)(arg1
)->HasAttributes();
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23726 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
= NULL
;
23728 wxListItem
*arg1
= (wxListItem
*) 0 ;
23730 PyObject
* obj0
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
23736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23737 if (SWIG_arg_fail(1)) SWIG_fail
;
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 result
= ((wxListItem
const *)arg1
)->GetTextColour();
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23746 wxColour
* resultptr
;
23747 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
23748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23756 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
= NULL
;
23758 wxListItem
*arg1
= (wxListItem
*) 0 ;
23760 PyObject
* obj0
= 0 ;
23761 char *kwnames
[] = {
23762 (char *) "self", NULL
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
23766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23767 if (SWIG_arg_fail(1)) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 wxColour
* resultptr
;
23777 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
23778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23786 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
= NULL
;
23788 wxListItem
*arg1
= (wxListItem
*) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
23796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23797 if (SWIG_arg_fail(1)) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= ((wxListItem
const *)arg1
)->GetFont();
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23806 wxFont
* resultptr
;
23807 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
23808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
23816 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
= NULL
;
23818 wxListItem
*arg1
= (wxListItem
*) 0 ;
23820 PyObject
* obj0
= 0 ;
23821 PyObject
* obj1
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self",(char *) "m_mask", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23831 if (SWIG_arg_fail(2)) SWIG_fail
;
23833 if (arg1
) (arg1
)->m_mask
= arg2
;
23835 Py_INCREF(Py_None
); resultobj
= Py_None
;
23842 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
= NULL
;
23844 wxListItem
*arg1
= (wxListItem
*) 0 ;
23846 PyObject
* obj0
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "self", NULL
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
23852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23853 if (SWIG_arg_fail(1)) SWIG_fail
;
23854 result
= (long) ((arg1
)->m_mask
);
23857 resultobj
= SWIG_From_long(static_cast<long >(result
));
23865 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
= NULL
;
23867 wxListItem
*arg1
= (wxListItem
*) 0 ;
23869 PyObject
* obj0
= 0 ;
23870 PyObject
* obj1
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "self",(char *) "m_itemId", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23877 if (SWIG_arg_fail(1)) SWIG_fail
;
23879 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23880 if (SWIG_arg_fail(2)) SWIG_fail
;
23882 if (arg1
) (arg1
)->m_itemId
= arg2
;
23884 Py_INCREF(Py_None
); resultobj
= Py_None
;
23891 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
= NULL
;
23893 wxListItem
*arg1
= (wxListItem
*) 0 ;
23895 PyObject
* obj0
= 0 ;
23896 char *kwnames
[] = {
23897 (char *) "self", NULL
23900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
23901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23902 if (SWIG_arg_fail(1)) SWIG_fail
;
23903 result
= (long) ((arg1
)->m_itemId
);
23906 resultobj
= SWIG_From_long(static_cast<long >(result
));
23914 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
= NULL
;
23916 wxListItem
*arg1
= (wxListItem
*) 0 ;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self",(char *) "m_col", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23926 if (SWIG_arg_fail(1)) SWIG_fail
;
23928 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23929 if (SWIG_arg_fail(2)) SWIG_fail
;
23931 if (arg1
) (arg1
)->m_col
= arg2
;
23933 Py_INCREF(Py_None
); resultobj
= Py_None
;
23940 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
= NULL
;
23942 wxListItem
*arg1
= (wxListItem
*) 0 ;
23944 PyObject
* obj0
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
23950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23951 if (SWIG_arg_fail(1)) SWIG_fail
;
23952 result
= (int) ((arg1
)->m_col
);
23955 resultobj
= SWIG_From_int(static_cast<int >(result
));
23963 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
= NULL
;
23965 wxListItem
*arg1
= (wxListItem
*) 0 ;
23967 PyObject
* obj0
= 0 ;
23968 PyObject
* obj1
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self",(char *) "m_state", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23975 if (SWIG_arg_fail(1)) SWIG_fail
;
23977 arg2
= static_cast<long >(SWIG_As_long(obj1
));
23978 if (SWIG_arg_fail(2)) SWIG_fail
;
23980 if (arg1
) (arg1
)->m_state
= arg2
;
23982 Py_INCREF(Py_None
); resultobj
= Py_None
;
23989 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
= NULL
;
23991 wxListItem
*arg1
= (wxListItem
*) 0 ;
23993 PyObject
* obj0
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
23999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24000 if (SWIG_arg_fail(1)) SWIG_fail
;
24001 result
= (long) ((arg1
)->m_state
);
24004 resultobj
= SWIG_From_long(static_cast<long >(result
));
24012 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24013 PyObject
*resultobj
= NULL
;
24014 wxListItem
*arg1
= (wxListItem
*) 0 ;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj1
= 0 ;
24018 char *kwnames
[] = {
24019 (char *) "self",(char *) "m_stateMask", NULL
24022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24024 if (SWIG_arg_fail(1)) SWIG_fail
;
24026 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24027 if (SWIG_arg_fail(2)) SWIG_fail
;
24029 if (arg1
) (arg1
)->m_stateMask
= arg2
;
24031 Py_INCREF(Py_None
); resultobj
= Py_None
;
24038 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
= NULL
;
24040 wxListItem
*arg1
= (wxListItem
*) 0 ;
24042 PyObject
* obj0
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
24048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail
;
24050 result
= (long) ((arg1
)->m_stateMask
);
24053 resultobj
= SWIG_From_long(static_cast<long >(result
));
24061 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
= NULL
;
24063 wxListItem
*arg1
= (wxListItem
*) 0 ;
24064 wxString
*arg2
= (wxString
*) 0 ;
24065 bool temp2
= false ;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self",(char *) "m_text", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24074 if (SWIG_arg_fail(1)) SWIG_fail
;
24076 arg2
= wxString_in_helper(obj1
);
24077 if (arg2
== NULL
) SWIG_fail
;
24080 if (arg1
) (arg1
)->m_text
= *arg2
;
24082 Py_INCREF(Py_None
); resultobj
= Py_None
;
24097 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= NULL
;
24099 wxListItem
*arg1
= (wxListItem
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
24107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24108 if (SWIG_arg_fail(1)) SWIG_fail
;
24109 result
= (wxString
*)& ((arg1
)->m_text
);
24113 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24115 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24124 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
= NULL
;
24126 wxListItem
*arg1
= (wxListItem
*) 0 ;
24128 PyObject
* obj0
= 0 ;
24129 PyObject
* obj1
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self",(char *) "m_image", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24136 if (SWIG_arg_fail(1)) SWIG_fail
;
24138 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24139 if (SWIG_arg_fail(2)) SWIG_fail
;
24141 if (arg1
) (arg1
)->m_image
= arg2
;
24143 Py_INCREF(Py_None
); resultobj
= Py_None
;
24150 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
= NULL
;
24152 wxListItem
*arg1
= (wxListItem
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
24160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24161 if (SWIG_arg_fail(1)) SWIG_fail
;
24162 result
= (int) ((arg1
)->m_image
);
24165 resultobj
= SWIG_From_int(static_cast<int >(result
));
24173 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
= NULL
;
24175 wxListItem
*arg1
= (wxListItem
*) 0 ;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 char *kwnames
[] = {
24180 (char *) "self",(char *) "m_data", NULL
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24185 if (SWIG_arg_fail(1)) SWIG_fail
;
24187 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24188 if (SWIG_arg_fail(2)) SWIG_fail
;
24190 if (arg1
) (arg1
)->m_data
= arg2
;
24192 Py_INCREF(Py_None
); resultobj
= Py_None
;
24199 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
= NULL
;
24201 wxListItem
*arg1
= (wxListItem
*) 0 ;
24203 PyObject
* obj0
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
24209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24210 if (SWIG_arg_fail(1)) SWIG_fail
;
24211 result
= (long) ((arg1
)->m_data
);
24214 resultobj
= SWIG_From_long(static_cast<long >(result
));
24222 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
= NULL
;
24224 wxListItem
*arg1
= (wxListItem
*) 0 ;
24226 PyObject
* obj0
= 0 ;
24227 PyObject
* obj1
= 0 ;
24228 char *kwnames
[] = {
24229 (char *) "self",(char *) "m_format", NULL
24232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24234 if (SWIG_arg_fail(1)) SWIG_fail
;
24236 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24237 if (SWIG_arg_fail(2)) SWIG_fail
;
24239 if (arg1
) (arg1
)->m_format
= arg2
;
24241 Py_INCREF(Py_None
); resultobj
= Py_None
;
24248 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
= NULL
;
24250 wxListItem
*arg1
= (wxListItem
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
24258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24259 if (SWIG_arg_fail(1)) SWIG_fail
;
24260 result
= (int) ((arg1
)->m_format
);
24263 resultobj
= SWIG_From_int(static_cast<int >(result
));
24271 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
= NULL
;
24273 wxListItem
*arg1
= (wxListItem
*) 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self",(char *) "m_width", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24283 if (SWIG_arg_fail(1)) SWIG_fail
;
24285 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24286 if (SWIG_arg_fail(2)) SWIG_fail
;
24288 if (arg1
) (arg1
)->m_width
= arg2
;
24290 Py_INCREF(Py_None
); resultobj
= Py_None
;
24297 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= NULL
;
24299 wxListItem
*arg1
= (wxListItem
*) 0 ;
24301 PyObject
* obj0
= 0 ;
24302 char *kwnames
[] = {
24303 (char *) "self", NULL
24306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
24307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24308 if (SWIG_arg_fail(1)) SWIG_fail
;
24309 result
= (int) ((arg1
)->m_width
);
24312 resultobj
= SWIG_From_int(static_cast<int >(result
));
24320 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
24322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24323 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
24325 return Py_BuildValue((char *)"");
24327 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
= NULL
;
24329 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24330 int arg2
= (int) 0 ;
24331 wxListEvent
*result
;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "commandType",(char *) "id", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24341 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
24342 if (SWIG_arg_fail(1)) SWIG_fail
;
24347 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24348 if (SWIG_arg_fail(2)) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
24365 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
= NULL
;
24367 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24369 PyObject
* obj0
= 0 ;
24370 PyObject
* obj1
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self",(char *) "m_code", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24377 if (SWIG_arg_fail(1)) SWIG_fail
;
24379 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24380 if (SWIG_arg_fail(2)) SWIG_fail
;
24382 if (arg1
) (arg1
)->m_code
= arg2
;
24384 Py_INCREF(Py_None
); resultobj
= Py_None
;
24391 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
= NULL
;
24393 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24395 PyObject
* obj0
= 0 ;
24396 char *kwnames
[] = {
24397 (char *) "self", NULL
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
24401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24402 if (SWIG_arg_fail(1)) SWIG_fail
;
24403 result
= (int) ((arg1
)->m_code
);
24406 resultobj
= SWIG_From_int(static_cast<int >(result
));
24414 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
= NULL
;
24416 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "self",(char *) "m_oldItemIndex", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24426 if (SWIG_arg_fail(1)) SWIG_fail
;
24428 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24429 if (SWIG_arg_fail(2)) SWIG_fail
;
24431 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
24433 Py_INCREF(Py_None
); resultobj
= Py_None
;
24440 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24441 PyObject
*resultobj
= NULL
;
24442 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24444 PyObject
* obj0
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "self", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
24450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24451 if (SWIG_arg_fail(1)) SWIG_fail
;
24452 result
= (long) ((arg1
)->m_oldItemIndex
);
24455 resultobj
= SWIG_From_long(static_cast<long >(result
));
24463 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
= NULL
;
24465 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24467 PyObject
* obj0
= 0 ;
24468 PyObject
* obj1
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self",(char *) "m_itemIndex", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24475 if (SWIG_arg_fail(1)) SWIG_fail
;
24477 arg2
= static_cast<long >(SWIG_As_long(obj1
));
24478 if (SWIG_arg_fail(2)) SWIG_fail
;
24480 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
24482 Py_INCREF(Py_None
); resultobj
= Py_None
;
24489 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
= NULL
;
24491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24493 PyObject
* obj0
= 0 ;
24494 char *kwnames
[] = {
24495 (char *) "self", NULL
24498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
24499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24500 if (SWIG_arg_fail(1)) SWIG_fail
;
24501 result
= (long) ((arg1
)->m_itemIndex
);
24504 resultobj
= SWIG_From_long(static_cast<long >(result
));
24512 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
= NULL
;
24514 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24516 PyObject
* obj0
= 0 ;
24517 PyObject
* obj1
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self",(char *) "m_col", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24524 if (SWIG_arg_fail(1)) SWIG_fail
;
24526 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24527 if (SWIG_arg_fail(2)) SWIG_fail
;
24529 if (arg1
) (arg1
)->m_col
= arg2
;
24531 Py_INCREF(Py_None
); resultobj
= Py_None
;
24538 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
= NULL
;
24540 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24542 PyObject
* obj0
= 0 ;
24543 char *kwnames
[] = {
24544 (char *) "self", NULL
24547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
24548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24549 if (SWIG_arg_fail(1)) SWIG_fail
;
24550 result
= (int) ((arg1
)->m_col
);
24553 resultobj
= SWIG_From_int(static_cast<int >(result
));
24561 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
= NULL
;
24563 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24564 wxPoint
*arg2
= (wxPoint
*) 0 ;
24565 PyObject
* obj0
= 0 ;
24566 PyObject
* obj1
= 0 ;
24567 char *kwnames
[] = {
24568 (char *) "self",(char *) "m_pointDrag", NULL
24571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24573 if (SWIG_arg_fail(1)) SWIG_fail
;
24574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
24575 if (SWIG_arg_fail(2)) SWIG_fail
;
24576 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
24578 Py_INCREF(Py_None
); resultobj
= Py_None
;
24585 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
= NULL
;
24587 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24589 PyObject
* obj0
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
24595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24596 if (SWIG_arg_fail(1)) SWIG_fail
;
24597 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
24599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
24606 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
= NULL
;
24608 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24609 wxListItem
*result
;
24610 PyObject
* obj0
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
24616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24617 if (SWIG_arg_fail(1)) SWIG_fail
;
24618 result
= (wxListItem
*)& ((arg1
)->m_item
);
24621 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24629 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
= NULL
;
24631 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24640 if (SWIG_arg_fail(1)) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (int)(arg1
)->GetKeyCode();
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= SWIG_From_int(static_cast<int >(result
));
24657 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
= NULL
;
24659 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
24667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24668 if (SWIG_arg_fail(1)) SWIG_fail
;
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 result
= (long)(arg1
)->GetIndex();
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_From_long(static_cast<long >(result
));
24685 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
= NULL
;
24687 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
24695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 result
= (int)(arg1
)->GetColumn();
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= SWIG_From_int(static_cast<int >(result
));
24713 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
= NULL
;
24715 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (arg1
)->GetPoint();
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24733 wxPoint
* resultptr
;
24734 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
24735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24743 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
= NULL
;
24745 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24754 if (SWIG_arg_fail(1)) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 wxString
const &_result_ref
= (arg1
)->GetLabel();
24759 result
= (wxString
*) &_result_ref
;
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24769 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24778 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
= NULL
;
24780 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 char *kwnames
[] = {
24784 (char *) "self", NULL
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
24788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24789 if (SWIG_arg_fail(1)) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 wxString
const &_result_ref
= (arg1
)->GetText();
24794 result
= (wxString
*) &_result_ref
;
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24804 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24813 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
= NULL
;
24815 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
24823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24824 if (SWIG_arg_fail(1)) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (int)(arg1
)->GetImage();
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= SWIG_From_int(static_cast<int >(result
));
24841 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
= NULL
;
24843 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "self", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
24851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24852 if (SWIG_arg_fail(1)) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 result
= (long)(arg1
)->GetData();
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= SWIG_From_long(static_cast<long >(result
));
24869 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
= NULL
;
24871 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24873 PyObject
* obj0
= 0 ;
24874 char *kwnames
[] = {
24875 (char *) "self", NULL
24878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
24879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24880 if (SWIG_arg_fail(1)) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (long)(arg1
)->GetMask();
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= SWIG_From_long(static_cast<long >(result
));
24897 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
= NULL
;
24899 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24900 wxListItem
*result
;
24901 PyObject
* obj0
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 wxListItem
const &_result_ref
= (arg1
)->GetItem();
24913 result
= (wxListItem
*) &_result_ref
;
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
24926 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
= NULL
;
24928 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24930 PyObject
* obj0
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
24936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 result
= (long)(arg1
)->GetCacheFrom();
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_From_long(static_cast<long >(result
));
24954 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
= NULL
;
24956 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24958 PyObject
* obj0
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "self", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
24964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24965 if (SWIG_arg_fail(1)) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (long)(arg1
)->GetCacheTo();
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= SWIG_From_long(static_cast<long >(result
));
24982 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
= NULL
;
24984 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
24986 PyObject
* obj0
= 0 ;
24987 char *kwnames
[] = {
24988 (char *) "self", NULL
24991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
24993 if (SWIG_arg_fail(1)) SWIG_fail
;
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25010 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
= NULL
;
25012 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
25014 PyObject
* obj0
= 0 ;
25015 PyObject
* obj1
= 0 ;
25016 char *kwnames
[] = {
25017 (char *) "self",(char *) "editCancelled", NULL
25020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
25022 if (SWIG_arg_fail(1)) SWIG_fail
;
25024 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
25025 if (SWIG_arg_fail(2)) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 (arg1
)->SetEditCanceled(arg2
);
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 Py_INCREF(Py_None
); resultobj
= Py_None
;
25041 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
25043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25044 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
25046 return Py_BuildValue((char *)"");
25048 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
= NULL
;
25050 wxWindow
*arg1
= (wxWindow
*) 0 ;
25051 int arg2
= (int) -1 ;
25052 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25053 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25054 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25055 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25056 long arg5
= (long) wxLC_ICON
;
25057 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25058 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25059 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
25060 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25061 wxPyListCtrl
*result
;
25064 bool temp7
= false ;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 PyObject
* obj2
= 0 ;
25068 PyObject
* obj3
= 0 ;
25069 PyObject
* obj4
= 0 ;
25070 PyObject
* obj5
= 0 ;
25071 PyObject
* obj6
= 0 ;
25072 char *kwnames
[] = {
25073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25078 if (SWIG_arg_fail(1)) SWIG_fail
;
25081 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25082 if (SWIG_arg_fail(2)) SWIG_fail
;
25088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25094 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25099 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25100 if (SWIG_arg_fail(5)) SWIG_fail
;
25105 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
25106 if (SWIG_arg_fail(6)) SWIG_fail
;
25107 if (arg6
== NULL
) {
25108 SWIG_null_ref("wxValidator");
25110 if (SWIG_arg_fail(6)) SWIG_fail
;
25115 arg7
= wxString_in_helper(obj6
);
25116 if (arg7
== NULL
) SWIG_fail
;
25121 if (!wxPyCheckForApp()) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
25143 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25144 PyObject
*resultobj
= NULL
;
25145 wxPyListCtrl
*result
;
25146 char *kwnames
[] = {
25150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
25152 if (!wxPyCheckForApp()) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 result
= (wxPyListCtrl
*)new wxPyListCtrl();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
25166 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
= NULL
;
25168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25169 wxWindow
*arg2
= (wxWindow
*) 0 ;
25170 int arg3
= (int) -1 ;
25171 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25172 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25173 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25174 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25175 long arg6
= (long) wxLC_ICON
;
25176 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25177 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25178 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
25179 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25183 bool temp8
= false ;
25184 PyObject
* obj0
= 0 ;
25185 PyObject
* obj1
= 0 ;
25186 PyObject
* obj2
= 0 ;
25187 PyObject
* obj3
= 0 ;
25188 PyObject
* obj4
= 0 ;
25189 PyObject
* obj5
= 0 ;
25190 PyObject
* obj6
= 0 ;
25191 PyObject
* obj7
= 0 ;
25192 char *kwnames
[] = {
25193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25198 if (SWIG_arg_fail(1)) SWIG_fail
;
25199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25200 if (SWIG_arg_fail(2)) SWIG_fail
;
25203 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25204 if (SWIG_arg_fail(3)) SWIG_fail
;
25210 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25216 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25221 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25222 if (SWIG_arg_fail(6)) SWIG_fail
;
25227 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
25228 if (SWIG_arg_fail(7)) SWIG_fail
;
25229 if (arg7
== NULL
) {
25230 SWIG_null_ref("wxValidator");
25232 if (SWIG_arg_fail(7)) SWIG_fail
;
25237 arg8
= wxString_in_helper(obj7
);
25238 if (arg8
== NULL
) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25266 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
= NULL
;
25268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25269 PyObject
*arg2
= (PyObject
*) 0 ;
25270 PyObject
*arg3
= (PyObject
*) 0 ;
25271 PyObject
* obj0
= 0 ;
25272 PyObject
* obj1
= 0 ;
25273 PyObject
* obj2
= 0 ;
25274 char *kwnames
[] = {
25275 (char *) "self",(char *) "self",(char *) "_class", NULL
25278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25280 if (SWIG_arg_fail(1)) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 Py_INCREF(Py_None
); resultobj
= Py_None
;
25297 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
= NULL
;
25299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25300 wxColour
*arg2
= 0 ;
25303 PyObject
* obj0
= 0 ;
25304 PyObject
* obj1
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self",(char *) "col", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25311 if (SWIG_arg_fail(1)) SWIG_fail
;
25314 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25332 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
= NULL
;
25334 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25335 wxColour
*arg2
= 0 ;
25338 PyObject
* obj0
= 0 ;
25339 PyObject
* obj1
= 0 ;
25340 char *kwnames
[] = {
25341 (char *) "self",(char *) "col", NULL
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25346 if (SWIG_arg_fail(1)) SWIG_fail
;
25349 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25367 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25368 PyObject
*resultobj
= NULL
;
25369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25371 wxListItem
*result
;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "self",(char *) "col", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25380 if (SWIG_arg_fail(1)) SWIG_fail
;
25382 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25383 if (SWIG_arg_fail(2)) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25401 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
= NULL
;
25403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25405 wxListItem
*arg3
= 0 ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 PyObject
* obj2
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self",(char *) "col",(char *) "item", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail
;
25418 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25419 if (SWIG_arg_fail(2)) SWIG_fail
;
25422 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25423 if (SWIG_arg_fail(3)) SWIG_fail
;
25424 if (arg3
== NULL
) {
25425 SWIG_null_ref("wxListItem");
25427 if (SWIG_arg_fail(3)) SWIG_fail
;
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25445 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
= NULL
;
25447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "col", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
25457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25458 if (SWIG_arg_fail(1)) SWIG_fail
;
25460 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25461 if (SWIG_arg_fail(2)) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25471 resultobj
= SWIG_From_int(static_cast<int >(result
));
25479 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25480 PyObject
*resultobj
= NULL
;
25481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25485 PyObject
* obj0
= 0 ;
25486 PyObject
* obj1
= 0 ;
25487 PyObject
* obj2
= 0 ;
25488 char *kwnames
[] = {
25489 (char *) "self",(char *) "col",(char *) "width", NULL
25492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25494 if (SWIG_arg_fail(1)) SWIG_fail
;
25496 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25497 if (SWIG_arg_fail(2)) SWIG_fail
;
25500 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25501 if (SWIG_arg_fail(3)) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25519 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
= NULL
;
25521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
25529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= SWIG_From_int(static_cast<int >(result
));
25547 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
= NULL
;
25549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25551 PyObject
* obj0
= 0 ;
25552 char *kwnames
[] = {
25553 (char *) "self", NULL
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
25557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25558 if (SWIG_arg_fail(1)) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 wxRect
* resultptr
;
25568 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
25569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25577 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
= NULL
;
25579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25581 int arg3
= (int) 0 ;
25582 wxListItem
*result
;
25583 PyObject
* obj0
= 0 ;
25584 PyObject
* obj1
= 0 ;
25585 PyObject
* obj2
= 0 ;
25586 char *kwnames
[] = {
25587 (char *) "self",(char *) "itemId",(char *) "col", NULL
25590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25592 if (SWIG_arg_fail(1)) SWIG_fail
;
25594 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25595 if (SWIG_arg_fail(2)) SWIG_fail
;
25599 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25600 if (SWIG_arg_fail(3)) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25619 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25620 PyObject
*resultobj
= NULL
;
25621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25622 wxListItem
*arg2
= 0 ;
25624 PyObject
* obj0
= 0 ;
25625 PyObject
* obj1
= 0 ;
25626 char *kwnames
[] = {
25627 (char *) "self",(char *) "info", NULL
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail
;
25634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25635 if (SWIG_arg_fail(2)) SWIG_fail
;
25636 if (arg2
== NULL
) {
25637 SWIG_null_ref("wxListItem");
25639 if (SWIG_arg_fail(2)) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= (bool)(arg1
)->SetItem(*arg2
);
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25657 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25658 PyObject
*resultobj
= NULL
;
25659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25662 wxString
*arg4
= 0 ;
25663 int arg5
= (int) -1 ;
25665 bool temp4
= false ;
25666 PyObject
* obj0
= 0 ;
25667 PyObject
* obj1
= 0 ;
25668 PyObject
* obj2
= 0 ;
25669 PyObject
* obj3
= 0 ;
25670 PyObject
* obj4
= 0 ;
25671 char *kwnames
[] = {
25672 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25677 if (SWIG_arg_fail(1)) SWIG_fail
;
25679 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25680 if (SWIG_arg_fail(2)) SWIG_fail
;
25683 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25684 if (SWIG_arg_fail(3)) SWIG_fail
;
25687 arg4
= wxString_in_helper(obj3
);
25688 if (arg4
== NULL
) SWIG_fail
;
25693 arg5
= static_cast<int >(SWIG_As_int(obj4
));
25694 if (SWIG_arg_fail(5)) SWIG_fail
;
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= SWIG_From_long(static_cast<long >(result
));
25721 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
= NULL
;
25723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25727 PyObject
* obj0
= 0 ;
25728 PyObject
* obj1
= 0 ;
25729 PyObject
* obj2
= 0 ;
25730 char *kwnames
[] = {
25731 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail
;
25738 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25739 if (SWIG_arg_fail(2)) SWIG_fail
;
25742 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25743 if (SWIG_arg_fail(3)) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25753 resultobj
= SWIG_From_int(static_cast<int >(result
));
25761 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
= NULL
;
25763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25768 PyObject
* obj0
= 0 ;
25769 PyObject
* obj1
= 0 ;
25770 PyObject
* obj2
= 0 ;
25771 PyObject
* obj3
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25778 if (SWIG_arg_fail(1)) SWIG_fail
;
25780 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25781 if (SWIG_arg_fail(2)) SWIG_fail
;
25784 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25785 if (SWIG_arg_fail(3)) SWIG_fail
;
25788 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25789 if (SWIG_arg_fail(4)) SWIG_fail
;
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25807 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25808 PyObject
*resultobj
= NULL
;
25809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25812 int arg4
= (int) -1 ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 PyObject
* obj2
= 0 ;
25817 PyObject
* obj3
= 0 ;
25818 char *kwnames
[] = {
25819 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25824 if (SWIG_arg_fail(1)) SWIG_fail
;
25826 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25827 if (SWIG_arg_fail(2)) SWIG_fail
;
25830 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25831 if (SWIG_arg_fail(3)) SWIG_fail
;
25835 arg4
= static_cast<int >(SWIG_As_int(obj3
));
25836 if (SWIG_arg_fail(4)) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25855 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
= NULL
;
25857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25860 PyObject
* obj0
= 0 ;
25861 PyObject
* obj1
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self",(char *) "item", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25868 if (SWIG_arg_fail(1)) SWIG_fail
;
25870 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25871 if (SWIG_arg_fail(2)) SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25893 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
= NULL
;
25895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25897 wxString
*arg3
= 0 ;
25898 bool temp3
= false ;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 PyObject
* obj2
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "item",(char *) "str", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail
;
25910 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25911 if (SWIG_arg_fail(2)) SWIG_fail
;
25914 arg3
= wxString_in_helper(obj2
);
25915 if (arg3
== NULL
) SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 Py_INCREF(Py_None
); resultobj
= Py_None
;
25940 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
= NULL
;
25942 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self",(char *) "item", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25953 if (SWIG_arg_fail(1)) SWIG_fail
;
25955 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25956 if (SWIG_arg_fail(2)) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= SWIG_From_long(static_cast<long >(result
));
25974 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
= NULL
;
25976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 PyObject
* obj2
= 0 ;
25983 char *kwnames
[] = {
25984 (char *) "self",(char *) "item",(char *) "data", NULL
25987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25989 if (SWIG_arg_fail(1)) SWIG_fail
;
25991 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25992 if (SWIG_arg_fail(2)) SWIG_fail
;
25995 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25996 if (SWIG_arg_fail(3)) SWIG_fail
;
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26014 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
= NULL
;
26016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 char *kwnames
[] = {
26022 (char *) "self",(char *) "item", NULL
26025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26027 if (SWIG_arg_fail(1)) SWIG_fail
;
26029 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26030 if (SWIG_arg_fail(2)) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26040 wxPoint
* resultptr
;
26041 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
26042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26050 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
= NULL
;
26052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26054 int arg3
= (int) wxLIST_RECT_BOUNDS
;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 PyObject
* obj2
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self",(char *) "item",(char *) "code", NULL
26063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26065 if (SWIG_arg_fail(1)) SWIG_fail
;
26067 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26068 if (SWIG_arg_fail(2)) SWIG_fail
;
26072 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26073 if (SWIG_arg_fail(3)) SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26084 wxRect
* resultptr
;
26085 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
26086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26094 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
= NULL
;
26096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26098 wxPoint
*arg3
= 0 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 PyObject
* obj2
= 0 ;
26104 char *kwnames
[] = {
26105 (char *) "self",(char *) "item",(char *) "pos", NULL
26108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26110 if (SWIG_arg_fail(1)) SWIG_fail
;
26112 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26113 if (SWIG_arg_fail(2)) SWIG_fail
;
26117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26135 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
= NULL
;
26137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
26145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26146 if (SWIG_arg_fail(1)) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_From_int(static_cast<int >(result
));
26163 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
= NULL
;
26165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26167 PyObject
* obj0
= 0 ;
26168 char *kwnames
[] = {
26169 (char *) "self", NULL
26172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
26173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26174 if (SWIG_arg_fail(1)) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26183 resultobj
= SWIG_From_int(static_cast<int >(result
));
26191 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
= NULL
;
26193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26195 PyObject
* obj0
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
26201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26202 if (SWIG_arg_fail(1)) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26211 wxSize
* resultptr
;
26212 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
26213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26221 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
= NULL
;
26223 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26225 bool arg3
= (bool) false ;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 PyObject
* obj2
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26238 if (SWIG_arg_fail(2)) SWIG_fail
;
26242 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
26243 if (SWIG_arg_fail(3)) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 (arg1
)->SetItemSpacing(arg2
,arg3
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 Py_INCREF(Py_None
); resultobj
= Py_None
;
26260 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
= NULL
;
26262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 char *kwnames
[] = {
26266 (char *) "self", NULL
26269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
26270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26271 if (SWIG_arg_fail(1)) SWIG_fail
;
26273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26274 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= SWIG_From_int(static_cast<int >(result
));
26288 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
= NULL
;
26290 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26292 PyObject
* obj0
= 0 ;
26293 char *kwnames
[] = {
26294 (char *) "self", NULL
26297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
26298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26299 if (SWIG_arg_fail(1)) SWIG_fail
;
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26308 wxColour
* resultptr
;
26309 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
26310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26318 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
= NULL
;
26320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26321 wxColour
*arg2
= 0 ;
26323 PyObject
* obj0
= 0 ;
26324 PyObject
* obj1
= 0 ;
26325 char *kwnames
[] = {
26326 (char *) "self",(char *) "col", NULL
26329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26331 if (SWIG_arg_fail(1)) SWIG_fail
;
26334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 Py_INCREF(Py_None
); resultobj
= Py_None
;
26350 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26351 PyObject
*resultobj
= NULL
;
26352 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26354 PyObject
* obj0
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
26360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail
;
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= SWIG_From_long(static_cast<long >(result
));
26378 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
= NULL
;
26380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26382 bool arg3
= (bool) true ;
26383 PyObject
* obj0
= 0 ;
26384 PyObject
* obj1
= 0 ;
26385 PyObject
* obj2
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self",(char *) "style",(char *) "add", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26392 if (SWIG_arg_fail(1)) SWIG_fail
;
26394 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26395 if (SWIG_arg_fail(2)) SWIG_fail
;
26399 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
26400 if (SWIG_arg_fail(3)) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 (arg1
)->SetSingleStyle(arg2
,arg3
);
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 Py_INCREF(Py_None
); resultobj
= Py_None
;
26417 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
= NULL
;
26419 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26421 PyObject
* obj0
= 0 ;
26422 PyObject
* obj1
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self",(char *) "style", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26429 if (SWIG_arg_fail(1)) SWIG_fail
;
26431 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26432 if (SWIG_arg_fail(2)) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 (arg1
)->SetWindowStyleFlag(arg2
);
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 Py_INCREF(Py_None
); resultobj
= Py_None
;
26448 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26449 PyObject
*resultobj
= NULL
;
26450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26452 int arg3
= (int) wxLIST_NEXT_ALL
;
26453 int arg4
= (int) wxLIST_STATE_DONTCARE
;
26455 PyObject
* obj0
= 0 ;
26456 PyObject
* obj1
= 0 ;
26457 PyObject
* obj2
= 0 ;
26458 PyObject
* obj3
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26465 if (SWIG_arg_fail(1)) SWIG_fail
;
26467 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26468 if (SWIG_arg_fail(2)) SWIG_fail
;
26472 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26473 if (SWIG_arg_fail(3)) SWIG_fail
;
26478 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26479 if (SWIG_arg_fail(4)) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26490 resultobj
= SWIG_From_long(static_cast<long >(result
));
26498 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
= NULL
;
26500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26502 wxImageList
*result
;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 char *kwnames
[] = {
26506 (char *) "self",(char *) "which", NULL
26509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26511 if (SWIG_arg_fail(1)) SWIG_fail
;
26513 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26514 if (SWIG_arg_fail(2)) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26524 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26532 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
= NULL
;
26534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26535 wxImageList
*arg2
= (wxImageList
*) 0 ;
26537 PyObject
* obj0
= 0 ;
26538 PyObject
* obj1
= 0 ;
26539 PyObject
* obj2
= 0 ;
26540 char *kwnames
[] = {
26541 (char *) "self",(char *) "imageList",(char *) "which", NULL
26544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26546 if (SWIG_arg_fail(1)) SWIG_fail
;
26547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
26548 if (SWIG_arg_fail(2)) SWIG_fail
;
26550 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26551 if (SWIG_arg_fail(3)) SWIG_fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 (arg1
)->SetImageList(arg2
,arg3
);
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 Py_INCREF(Py_None
); resultobj
= Py_None
;
26567 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
= NULL
;
26569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26570 wxImageList
*arg2
= (wxImageList
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 PyObject
* obj2
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "imageList",(char *) "which", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26581 if (SWIG_arg_fail(1)) SWIG_fail
;
26582 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26583 if (SWIG_arg_fail(2)) SWIG_fail
;
26585 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26586 if (SWIG_arg_fail(3)) SWIG_fail
;
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 (arg1
)->AssignImageList(arg2
,arg3
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 Py_INCREF(Py_None
); resultobj
= Py_None
;
26602 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
= NULL
;
26604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26606 PyObject
* obj0
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
26612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26613 if (SWIG_arg_fail(1)) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26630 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26631 PyObject
*resultobj
= NULL
;
26632 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26634 PyObject
* obj0
= 0 ;
26635 char *kwnames
[] = {
26636 (char *) "self", NULL
26639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
26640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26641 if (SWIG_arg_fail(1)) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26658 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
= NULL
;
26660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 PyObject
* obj1
= 0 ;
26664 char *kwnames
[] = {
26665 (char *) "self",(char *) "item", NULL
26668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26670 if (SWIG_arg_fail(1)) SWIG_fail
;
26672 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26673 if (SWIG_arg_fail(2)) SWIG_fail
;
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 (arg1
)->RefreshItem(arg2
);
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26682 Py_INCREF(Py_None
); resultobj
= Py_None
;
26689 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
= NULL
;
26691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26694 PyObject
* obj0
= 0 ;
26695 PyObject
* obj1
= 0 ;
26696 PyObject
* obj2
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26703 if (SWIG_arg_fail(1)) SWIG_fail
;
26705 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26706 if (SWIG_arg_fail(2)) SWIG_fail
;
26709 arg3
= static_cast<long >(SWIG_As_long(obj2
));
26710 if (SWIG_arg_fail(3)) SWIG_fail
;
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 (arg1
)->RefreshItems(arg2
,arg3
);
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26719 Py_INCREF(Py_None
); resultobj
= Py_None
;
26726 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26727 PyObject
*resultobj
= NULL
;
26728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26729 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
26731 PyObject
* obj0
= 0 ;
26732 PyObject
* obj1
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self",(char *) "flag", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
26738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26739 if (SWIG_arg_fail(1)) SWIG_fail
;
26742 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26743 if (SWIG_arg_fail(2)) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (bool)(arg1
)->Arrange(arg2
);
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26762 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
= NULL
;
26764 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26767 PyObject
* obj0
= 0 ;
26768 PyObject
* obj1
= 0 ;
26769 char *kwnames
[] = {
26770 (char *) "self",(char *) "item", NULL
26773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26775 if (SWIG_arg_fail(1)) SWIG_fail
;
26777 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26778 if (SWIG_arg_fail(2)) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (bool)(arg1
)->DeleteItem(arg2
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26796 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
= NULL
;
26798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26800 PyObject
* obj0
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26807 if (SWIG_arg_fail(1)) SWIG_fail
;
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (bool)(arg1
)->DeleteAllItems();
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26824 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26825 PyObject
*resultobj
= NULL
;
26826 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 char *kwnames
[] = {
26832 (char *) "self",(char *) "col", NULL
26835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
26836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26837 if (SWIG_arg_fail(1)) SWIG_fail
;
26839 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26840 if (SWIG_arg_fail(2)) SWIG_fail
;
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 result
= (bool)(arg1
)->DeleteColumn(arg2
);
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26858 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
= NULL
;
26860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26862 PyObject
* obj0
= 0 ;
26863 char *kwnames
[] = {
26864 (char *) "self", NULL
26867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
26868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26869 if (SWIG_arg_fail(1)) SWIG_fail
;
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 result
= (bool)(arg1
)->DeleteAllColumns();
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26886 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
= NULL
;
26888 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26889 PyObject
* obj0
= 0 ;
26890 char *kwnames
[] = {
26891 (char *) "self", NULL
26894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
26895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26896 if (SWIG_arg_fail(1)) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 (arg1
)->ClearAll();
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 Py_INCREF(Py_None
); resultobj
= Py_None
;
26911 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
= NULL
;
26913 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 char *kwnames
[] = {
26918 (char *) "self",(char *) "item", NULL
26921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26923 if (SWIG_arg_fail(1)) SWIG_fail
;
26925 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26926 if (SWIG_arg_fail(2)) SWIG_fail
;
26929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26930 (arg1
)->EditLabel(arg2
);
26932 wxPyEndAllowThreads(__tstate
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26935 Py_INCREF(Py_None
); resultobj
= Py_None
;
26942 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
= NULL
;
26944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "item", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26955 if (SWIG_arg_fail(1)) SWIG_fail
;
26957 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26958 if (SWIG_arg_fail(2)) SWIG_fail
;
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 result
= (bool)(arg1
)->EnsureVisible(arg2
);
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26976 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= NULL
;
26978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26980 wxString
*arg3
= 0 ;
26981 bool arg4
= (bool) false ;
26983 bool temp3
= false ;
26984 PyObject
* obj0
= 0 ;
26985 PyObject
* obj1
= 0 ;
26986 PyObject
* obj2
= 0 ;
26987 PyObject
* obj3
= 0 ;
26988 char *kwnames
[] = {
26989 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
26992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26994 if (SWIG_arg_fail(1)) SWIG_fail
;
26996 arg2
= static_cast<long >(SWIG_As_long(obj1
));
26997 if (SWIG_arg_fail(2)) SWIG_fail
;
27000 arg3
= wxString_in_helper(obj2
);
27001 if (arg3
== NULL
) SWIG_fail
;
27006 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
27007 if (SWIG_arg_fail(4)) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= SWIG_From_long(static_cast<long >(result
));
27034 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
= NULL
;
27036 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27040 PyObject
* obj0
= 0 ;
27041 PyObject
* obj1
= 0 ;
27042 PyObject
* obj2
= 0 ;
27043 char *kwnames
[] = {
27044 (char *) "self",(char *) "start",(char *) "data", NULL
27047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27049 if (SWIG_arg_fail(1)) SWIG_fail
;
27051 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27052 if (SWIG_arg_fail(2)) SWIG_fail
;
27055 arg3
= static_cast<long >(SWIG_As_long(obj2
));
27056 if (SWIG_arg_fail(3)) SWIG_fail
;
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27066 resultobj
= SWIG_From_long(static_cast<long >(result
));
27074 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
= NULL
;
27076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27078 wxPoint
*arg3
= 0 ;
27082 PyObject
* obj0
= 0 ;
27083 PyObject
* obj1
= 0 ;
27084 PyObject
* obj2
= 0 ;
27085 PyObject
* obj3
= 0 ;
27086 char *kwnames
[] = {
27087 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
27090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27092 if (SWIG_arg_fail(1)) SWIG_fail
;
27094 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27095 if (SWIG_arg_fail(2)) SWIG_fail
;
27099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27102 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27103 if (SWIG_arg_fail(4)) SWIG_fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_From_long(static_cast<long >(result
));
27121 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
= NULL
;
27123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27124 wxPoint
*arg2
= 0 ;
27130 PyObject
* obj0
= 0 ;
27131 PyObject
* obj1
= 0 ;
27132 char *kwnames
[] = {
27133 (char *) "self",(char *) "point", NULL
27136 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27139 if (SWIG_arg_fail(1)) SWIG_fail
;
27142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_From_long(static_cast<long >(result
));
27154 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27155 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27162 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27163 PyObject
*resultobj
= NULL
;
27164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27165 wxListItem
*arg2
= 0 ;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 char *kwnames
[] = {
27170 (char *) "self",(char *) "info", NULL
27173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27175 if (SWIG_arg_fail(1)) SWIG_fail
;
27177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
27178 if (SWIG_arg_fail(2)) SWIG_fail
;
27179 if (arg2
== NULL
) {
27180 SWIG_null_ref("wxListItem");
27182 if (SWIG_arg_fail(2)) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 result
= (long)(arg1
)->InsertItem(*arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= SWIG_From_long(static_cast<long >(result
));
27200 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
= NULL
;
27202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27204 wxString
*arg3
= 0 ;
27205 int arg4
= (int) -1 ;
27207 bool temp3
= false ;
27208 PyObject
* obj0
= 0 ;
27209 PyObject
* obj1
= 0 ;
27210 PyObject
* obj2
= 0 ;
27211 PyObject
* obj3
= 0 ;
27212 char *kwnames
[] = {
27213 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27218 if (SWIG_arg_fail(1)) SWIG_fail
;
27220 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27221 if (SWIG_arg_fail(2)) SWIG_fail
;
27224 arg3
= wxString_in_helper(obj2
);
27225 if (arg3
== NULL
) SWIG_fail
;
27230 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27231 if (SWIG_arg_fail(4)) SWIG_fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= SWIG_From_long(static_cast<long >(result
));
27258 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
= NULL
;
27260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27264 PyObject
* obj0
= 0 ;
27265 PyObject
* obj1
= 0 ;
27266 PyObject
* obj2
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27273 if (SWIG_arg_fail(1)) SWIG_fail
;
27275 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27276 if (SWIG_arg_fail(2)) SWIG_fail
;
27279 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27280 if (SWIG_arg_fail(3)) SWIG_fail
;
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27290 resultobj
= SWIG_From_long(static_cast<long >(result
));
27298 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
= NULL
;
27300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27302 wxString
*arg3
= 0 ;
27305 bool temp3
= false ;
27306 PyObject
* obj0
= 0 ;
27307 PyObject
* obj1
= 0 ;
27308 PyObject
* obj2
= 0 ;
27309 PyObject
* obj3
= 0 ;
27310 char *kwnames
[] = {
27311 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27316 if (SWIG_arg_fail(1)) SWIG_fail
;
27318 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27319 if (SWIG_arg_fail(2)) SWIG_fail
;
27322 arg3
= wxString_in_helper(obj2
);
27323 if (arg3
== NULL
) SWIG_fail
;
27327 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27328 if (SWIG_arg_fail(4)) SWIG_fail
;
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27338 resultobj
= SWIG_From_long(static_cast<long >(result
));
27354 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
= NULL
;
27356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27358 wxListItem
*arg3
= 0 ;
27360 PyObject
* obj0
= 0 ;
27361 PyObject
* obj1
= 0 ;
27362 PyObject
* obj2
= 0 ;
27363 char *kwnames
[] = {
27364 (char *) "self",(char *) "col",(char *) "info", NULL
27367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27369 if (SWIG_arg_fail(1)) SWIG_fail
;
27371 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27372 if (SWIG_arg_fail(2)) SWIG_fail
;
27375 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
27376 if (SWIG_arg_fail(3)) SWIG_fail
;
27377 if (arg3
== NULL
) {
27378 SWIG_null_ref("wxListItem");
27380 if (SWIG_arg_fail(3)) SWIG_fail
;
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= SWIG_From_long(static_cast<long >(result
));
27398 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
= NULL
;
27400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27402 wxString
*arg3
= 0 ;
27403 int arg4
= (int) wxLIST_FORMAT_LEFT
;
27404 int arg5
= (int) -1 ;
27406 bool temp3
= false ;
27407 PyObject
* obj0
= 0 ;
27408 PyObject
* obj1
= 0 ;
27409 PyObject
* obj2
= 0 ;
27410 PyObject
* obj3
= 0 ;
27411 PyObject
* obj4
= 0 ;
27412 char *kwnames
[] = {
27413 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27418 if (SWIG_arg_fail(1)) SWIG_fail
;
27420 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27421 if (SWIG_arg_fail(2)) SWIG_fail
;
27424 arg3
= wxString_in_helper(obj2
);
27425 if (arg3
== NULL
) SWIG_fail
;
27430 arg4
= static_cast<int >(SWIG_As_int(obj3
));
27431 if (SWIG_arg_fail(4)) SWIG_fail
;
27436 arg5
= static_cast<int >(SWIG_As_int(obj4
));
27437 if (SWIG_arg_fail(5)) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= SWIG_From_long(static_cast<long >(result
));
27464 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
= NULL
;
27466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 char *kwnames
[] = {
27471 (char *) "self",(char *) "count", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27476 if (SWIG_arg_fail(1)) SWIG_fail
;
27478 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27479 if (SWIG_arg_fail(2)) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 (arg1
)->SetItemCount(arg2
);
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27488 Py_INCREF(Py_None
); resultobj
= Py_None
;
27495 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27496 PyObject
*resultobj
= NULL
;
27497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27501 PyObject
* obj0
= 0 ;
27502 PyObject
* obj1
= 0 ;
27503 PyObject
* obj2
= 0 ;
27504 char *kwnames
[] = {
27505 (char *) "self",(char *) "dx",(char *) "dy", NULL
27508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27510 if (SWIG_arg_fail(1)) SWIG_fail
;
27512 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27513 if (SWIG_arg_fail(2)) SWIG_fail
;
27516 arg3
= static_cast<int >(SWIG_As_int(obj2
));
27517 if (SWIG_arg_fail(3)) SWIG_fail
;
27520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27521 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
27523 wxPyEndAllowThreads(__tstate
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27535 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
= NULL
;
27537 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27539 wxColour
*arg3
= 0 ;
27541 PyObject
* obj0
= 0 ;
27542 PyObject
* obj1
= 0 ;
27543 PyObject
* obj2
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "item",(char *) "col", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27550 if (SWIG_arg_fail(1)) SWIG_fail
;
27552 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27553 if (SWIG_arg_fail(2)) SWIG_fail
;
27557 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 Py_INCREF(Py_None
); resultobj
= Py_None
;
27573 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
= NULL
;
27575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27578 PyObject
* obj0
= 0 ;
27579 PyObject
* obj1
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self",(char *) "item", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27586 if (SWIG_arg_fail(1)) SWIG_fail
;
27588 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27589 if (SWIG_arg_fail(2)) SWIG_fail
;
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27599 wxColour
* resultptr
;
27600 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
27601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27609 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27610 PyObject
*resultobj
= NULL
;
27611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27613 wxColour
*arg3
= 0 ;
27615 PyObject
* obj0
= 0 ;
27616 PyObject
* obj1
= 0 ;
27617 PyObject
* obj2
= 0 ;
27618 char *kwnames
[] = {
27619 (char *) "self",(char *) "item",(char *) "col", NULL
27622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27624 if (SWIG_arg_fail(1)) SWIG_fail
;
27626 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27627 if (SWIG_arg_fail(2)) SWIG_fail
;
27631 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 Py_INCREF(Py_None
); resultobj
= Py_None
;
27647 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
= NULL
;
27649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "item", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27660 if (SWIG_arg_fail(1)) SWIG_fail
;
27662 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27663 if (SWIG_arg_fail(2)) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27673 wxColour
* resultptr
;
27674 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
27675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27683 static PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
= NULL
;
27685 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27688 PyObject
* obj0
= 0 ;
27689 PyObject
* obj1
= 0 ;
27690 PyObject
* obj2
= 0 ;
27691 char *kwnames
[] = {
27692 (char *) "self",(char *) "item",(char *) "f", NULL
27695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27697 if (SWIG_arg_fail(1)) SWIG_fail
;
27699 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27700 if (SWIG_arg_fail(2)) SWIG_fail
;
27703 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
27704 if (SWIG_arg_fail(3)) SWIG_fail
;
27705 if (arg3
== NULL
) {
27706 SWIG_null_ref("wxFont");
27708 if (SWIG_arg_fail(3)) SWIG_fail
;
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27717 Py_INCREF(Py_None
); resultobj
= Py_None
;
27724 static PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27725 PyObject
*resultobj
= NULL
;
27726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self",(char *) "item", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27737 if (SWIG_arg_fail(1)) SWIG_fail
;
27739 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27740 if (SWIG_arg_fail(2)) SWIG_fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27750 wxFont
* resultptr
;
27751 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
27752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27760 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
= NULL
;
27762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27763 PyObject
*arg2
= (PyObject
*) 0 ;
27765 PyObject
* obj0
= 0 ;
27766 PyObject
* obj1
= 0 ;
27767 char *kwnames
[] = {
27768 (char *) "self",(char *) "func", NULL
27771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
27772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27773 if (SWIG_arg_fail(1)) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27791 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
= NULL
;
27793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
27795 PyObject
* obj0
= 0 ;
27796 char *kwnames
[] = {
27797 (char *) "self", NULL
27800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
27801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27802 if (SWIG_arg_fail(1)) SWIG_fail
;
27804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27805 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27811 resultobj
= wxPyMake_wxObject(result
, 0);
27819 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27820 PyObject
*resultobj
= NULL
;
27821 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
27822 wxVisualAttributes result
;
27823 PyObject
* obj0
= 0 ;
27824 char *kwnames
[] = {
27825 (char *) "variant", NULL
27828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27831 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
27832 if (SWIG_arg_fail(1)) SWIG_fail
;
27836 if (!wxPyCheckForApp()) SWIG_fail
;
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27844 wxVisualAttributes
* resultptr
;
27845 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
27846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27854 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27857 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
27859 return Py_BuildValue((char *)"");
27861 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
= NULL
;
27863 wxWindow
*arg1
= (wxWindow
*) 0 ;
27864 int arg2
= (int) -1 ;
27865 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27866 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27867 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27868 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27869 long arg5
= (long) wxLC_REPORT
;
27870 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27871 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27872 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
27873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27874 wxListView
*result
;
27877 bool temp7
= false ;
27878 PyObject
* obj0
= 0 ;
27879 PyObject
* obj1
= 0 ;
27880 PyObject
* obj2
= 0 ;
27881 PyObject
* obj3
= 0 ;
27882 PyObject
* obj4
= 0 ;
27883 PyObject
* obj5
= 0 ;
27884 PyObject
* obj6
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27891 if (SWIG_arg_fail(1)) SWIG_fail
;
27894 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27895 if (SWIG_arg_fail(2)) SWIG_fail
;
27901 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27907 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27912 arg5
= static_cast<long >(SWIG_As_long(obj4
));
27913 if (SWIG_arg_fail(5)) SWIG_fail
;
27918 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27919 if (SWIG_arg_fail(6)) SWIG_fail
;
27920 if (arg6
== NULL
) {
27921 SWIG_null_ref("wxValidator");
27923 if (SWIG_arg_fail(6)) SWIG_fail
;
27928 arg7
= wxString_in_helper(obj6
);
27929 if (arg7
== NULL
) SWIG_fail
;
27934 if (!wxPyCheckForApp()) SWIG_fail
;
27935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27936 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27938 wxPyEndAllowThreads(__tstate
);
27939 if (PyErr_Occurred()) SWIG_fail
;
27941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
27956 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27957 PyObject
*resultobj
= NULL
;
27958 wxListView
*result
;
27959 char *kwnames
[] = {
27963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
27965 if (!wxPyCheckForApp()) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 result
= (wxListView
*)new wxListView();
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
27979 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
= NULL
;
27981 wxListView
*arg1
= (wxListView
*) 0 ;
27982 wxWindow
*arg2
= (wxWindow
*) 0 ;
27983 int arg3
= (int) -1 ;
27984 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27985 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27986 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27987 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27988 long arg6
= (long) wxLC_REPORT
;
27989 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
27990 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
27991 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
27992 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27996 bool temp8
= false ;
27997 PyObject
* obj0
= 0 ;
27998 PyObject
* obj1
= 0 ;
27999 PyObject
* obj2
= 0 ;
28000 PyObject
* obj3
= 0 ;
28001 PyObject
* obj4
= 0 ;
28002 PyObject
* obj5
= 0 ;
28003 PyObject
* obj6
= 0 ;
28004 PyObject
* obj7
= 0 ;
28005 char *kwnames
[] = {
28006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28011 if (SWIG_arg_fail(1)) SWIG_fail
;
28012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28013 if (SWIG_arg_fail(2)) SWIG_fail
;
28016 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28017 if (SWIG_arg_fail(3)) SWIG_fail
;
28023 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28029 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28034 arg6
= static_cast<long >(SWIG_As_long(obj5
));
28035 if (SWIG_arg_fail(6)) SWIG_fail
;
28040 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28041 if (SWIG_arg_fail(7)) SWIG_fail
;
28042 if (arg7
== NULL
) {
28043 SWIG_null_ref("wxValidator");
28045 if (SWIG_arg_fail(7)) SWIG_fail
;
28050 arg8
= wxString_in_helper(obj7
);
28051 if (arg8
== NULL
) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28079 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28080 PyObject
*resultobj
= NULL
;
28081 wxListView
*arg1
= (wxListView
*) 0 ;
28083 bool arg3
= (bool) true ;
28084 PyObject
* obj0
= 0 ;
28085 PyObject
* obj1
= 0 ;
28086 PyObject
* obj2
= 0 ;
28087 char *kwnames
[] = {
28088 (char *) "self",(char *) "n",(char *) "on", NULL
28091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28093 if (SWIG_arg_fail(1)) SWIG_fail
;
28095 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28096 if (SWIG_arg_fail(2)) SWIG_fail
;
28100 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28101 if (SWIG_arg_fail(3)) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 (arg1
)->Select(arg2
,arg3
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28111 Py_INCREF(Py_None
); resultobj
= Py_None
;
28118 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28119 PyObject
*resultobj
= NULL
;
28120 wxListView
*arg1
= (wxListView
*) 0 ;
28122 PyObject
* obj0
= 0 ;
28123 PyObject
* obj1
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self",(char *) "index", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
28129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28130 if (SWIG_arg_fail(1)) SWIG_fail
;
28132 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28133 if (SWIG_arg_fail(2)) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 (arg1
)->Focus(arg2
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 Py_INCREF(Py_None
); resultobj
= Py_None
;
28149 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
= NULL
;
28151 wxListView
*arg1
= (wxListView
*) 0 ;
28153 PyObject
* obj0
= 0 ;
28154 char *kwnames
[] = {
28155 (char *) "self", NULL
28158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
28159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28160 if (SWIG_arg_fail(1)) SWIG_fail
;
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_From_long(static_cast<long >(result
));
28177 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
= NULL
;
28179 wxListView
*arg1
= (wxListView
*) 0 ;
28182 PyObject
* obj0
= 0 ;
28183 PyObject
* obj1
= 0 ;
28184 char *kwnames
[] = {
28185 (char *) "self",(char *) "item", NULL
28188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
28189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28190 if (SWIG_arg_fail(1)) SWIG_fail
;
28192 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28193 if (SWIG_arg_fail(2)) SWIG_fail
;
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28203 resultobj
= SWIG_From_long(static_cast<long >(result
));
28211 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28212 PyObject
*resultobj
= NULL
;
28213 wxListView
*arg1
= (wxListView
*) 0 ;
28215 PyObject
* obj0
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "self", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
28221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28222 if (SWIG_arg_fail(1)) SWIG_fail
;
28224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28225 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28231 resultobj
= SWIG_From_long(static_cast<long >(result
));
28239 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
= NULL
;
28241 wxListView
*arg1
= (wxListView
*) 0 ;
28244 PyObject
* obj0
= 0 ;
28245 PyObject
* obj1
= 0 ;
28246 char *kwnames
[] = {
28247 (char *) "self",(char *) "index", NULL
28250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
28251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28252 if (SWIG_arg_fail(1)) SWIG_fail
;
28254 arg2
= static_cast<long >(SWIG_As_long(obj1
));
28255 if (SWIG_arg_fail(2)) SWIG_fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 result
= (bool)(arg1
)->IsSelected(arg2
);
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28273 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
= NULL
;
28275 wxListView
*arg1
= (wxListView
*) 0 ;
28278 PyObject
* obj0
= 0 ;
28279 PyObject
* obj1
= 0 ;
28280 PyObject
* obj2
= 0 ;
28281 char *kwnames
[] = {
28282 (char *) "self",(char *) "col",(char *) "image", NULL
28285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28287 if (SWIG_arg_fail(1)) SWIG_fail
;
28289 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28290 if (SWIG_arg_fail(2)) SWIG_fail
;
28293 arg3
= static_cast<int >(SWIG_As_int(obj2
));
28294 if (SWIG_arg_fail(3)) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 (arg1
)->SetColumnImage(arg2
,arg3
);
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 Py_INCREF(Py_None
); resultobj
= Py_None
;
28310 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
= NULL
;
28312 wxListView
*arg1
= (wxListView
*) 0 ;
28314 PyObject
* obj0
= 0 ;
28315 PyObject
* obj1
= 0 ;
28316 char *kwnames
[] = {
28317 (char *) "self",(char *) "col", NULL
28320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
28322 if (SWIG_arg_fail(1)) SWIG_fail
;
28324 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28325 if (SWIG_arg_fail(2)) SWIG_fail
;
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 (arg1
)->ClearColumnImage(arg2
);
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 Py_INCREF(Py_None
); resultobj
= Py_None
;
28341 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
28343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28344 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
28346 return Py_BuildValue((char *)"");
28348 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
28349 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
28354 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
28355 PyObject
*pyobj
= NULL
;
28359 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
28361 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
28368 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28369 PyObject
*resultobj
= NULL
;
28370 wxTreeItemId
*result
;
28371 char *kwnames
[] = {
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 result
= (wxTreeItemId
*)new wxTreeItemId();
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
28390 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
= NULL
;
28392 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28393 PyObject
* obj0
= 0 ;
28394 char *kwnames
[] = {
28395 (char *) "self", NULL
28398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
28399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28400 if (SWIG_arg_fail(1)) SWIG_fail
;
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 Py_INCREF(Py_None
); resultobj
= Py_None
;
28415 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
= NULL
;
28417 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28419 PyObject
* obj0
= 0 ;
28420 char *kwnames
[] = {
28421 (char *) "self", NULL
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
28425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28426 if (SWIG_arg_fail(1)) SWIG_fail
;
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28429 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28443 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
= NULL
;
28445 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28446 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
28448 PyObject
* obj0
= 0 ;
28449 PyObject
* obj1
= 0 ;
28450 char *kwnames
[] = {
28451 (char *) "self",(char *) "other", NULL
28454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28456 if (SWIG_arg_fail(1)) SWIG_fail
;
28457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28458 if (SWIG_arg_fail(2)) SWIG_fail
;
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28461 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
28463 wxPyEndAllowThreads(__tstate
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28475 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
= NULL
;
28477 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28478 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
28480 PyObject
* obj0
= 0 ;
28481 PyObject
* obj1
= 0 ;
28482 char *kwnames
[] = {
28483 (char *) "self",(char *) "other", NULL
28486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28488 if (SWIG_arg_fail(1)) SWIG_fail
;
28489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28490 if (SWIG_arg_fail(2)) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28507 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
= NULL
;
28509 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28510 void *arg2
= (void *) 0 ;
28511 PyObject
* obj0
= 0 ;
28512 PyObject
* obj1
= 0 ;
28513 char *kwnames
[] = {
28514 (char *) "self",(char *) "m_pItem", NULL
28517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28519 if (SWIG_arg_fail(1)) SWIG_fail
;
28521 if ((SWIG_ConvertPtr(obj1
,reinterpret_cast<void ** >(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
28522 SWIG_arg_fail(2);SWIG_fail
;
28525 if (arg1
) (arg1
)->m_pItem
= arg2
;
28527 Py_INCREF(Py_None
); resultobj
= Py_None
;
28534 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28535 PyObject
*resultobj
= NULL
;
28536 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
28538 PyObject
* obj0
= 0 ;
28539 char *kwnames
[] = {
28540 (char *) "self", NULL
28543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
28544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28545 if (SWIG_arg_fail(1)) SWIG_fail
;
28546 result
= (void *) ((arg1
)->m_pItem
);
28548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
28555 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
28557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28558 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
28560 return Py_BuildValue((char *)"");
28562 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
= NULL
;
28564 PyObject
*arg1
= (PyObject
*) NULL
;
28565 wxPyTreeItemData
*result
;
28566 PyObject
* obj0
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "obj", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
28589 static PyObject
*_wrap_delete_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
= NULL
;
28591 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28592 PyObject
* obj0
= 0 ;
28593 char *kwnames
[] = {
28594 (char *) "self", NULL
28597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemData",kwnames
,&obj0
)) goto fail
;
28598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28599 if (SWIG_arg_fail(1)) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28607 Py_INCREF(Py_None
); resultobj
= Py_None
;
28614 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
= NULL
;
28616 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28618 PyObject
* obj0
= 0 ;
28619 char *kwnames
[] = {
28620 (char *) "self", NULL
28623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
28624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28625 if (SWIG_arg_fail(1)) SWIG_fail
;
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (PyObject
*)(arg1
)->GetData();
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= result
;
28640 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28641 PyObject
*resultobj
= NULL
;
28642 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28643 PyObject
*arg2
= (PyObject
*) 0 ;
28644 PyObject
* obj0
= 0 ;
28645 PyObject
* obj1
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "self",(char *) "obj", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28652 if (SWIG_arg_fail(1)) SWIG_fail
;
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 (arg1
)->SetData(arg2
);
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 Py_INCREF(Py_None
); resultobj
= Py_None
;
28668 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28669 PyObject
*resultobj
= NULL
;
28670 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28671 wxTreeItemId
*result
;
28672 PyObject
* obj0
= 0 ;
28673 char *kwnames
[] = {
28674 (char *) "self", NULL
28677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
28678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28679 if (SWIG_arg_fail(1)) SWIG_fail
;
28681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
28684 result
= (wxTreeItemId
*) &_result_ref
;
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
28697 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28698 PyObject
*resultobj
= NULL
;
28699 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28700 wxTreeItemId
*arg2
= 0 ;
28701 PyObject
* obj0
= 0 ;
28702 PyObject
* obj1
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self",(char *) "id", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail
;
28711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(2)) SWIG_fail
;
28713 if (arg2
== NULL
) {
28714 SWIG_null_ref("wxTreeItemId");
28716 if (SWIG_arg_fail(2)) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28725 Py_INCREF(Py_None
); resultobj
= Py_None
;
28732 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
= NULL
;
28734 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
28735 PyObject
* obj0
= 0 ;
28736 char *kwnames
[] = {
28737 (char *) "self", NULL
28740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
28741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28742 if (SWIG_arg_fail(1)) SWIG_fail
;
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 wxPyTreeItemData_Destroy(arg1
);
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 Py_INCREF(Py_None
); resultobj
= Py_None
;
28757 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
28759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28760 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
28762 return Py_BuildValue((char *)"");
28764 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28765 PyObject
*resultobj
= NULL
;
28766 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28767 int arg2
= (int) 0 ;
28768 wxTreeEvent
*result
;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "commandType",(char *) "id", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
28778 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
28779 if (SWIG_arg_fail(1)) SWIG_fail
;
28784 arg2
= static_cast<int >(SWIG_As_int(obj1
));
28785 if (SWIG_arg_fail(2)) SWIG_fail
;
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
28792 wxPyEndAllowThreads(__tstate
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
28802 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
= NULL
;
28804 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28805 wxTreeItemId result
;
28806 PyObject
* obj0
= 0 ;
28807 char *kwnames
[] = {
28808 (char *) "self", NULL
28811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
28812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28813 if (SWIG_arg_fail(1)) SWIG_fail
;
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28822 wxTreeItemId
* resultptr
;
28823 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
28824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28832 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
= NULL
;
28834 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28835 wxTreeItemId
*arg2
= 0 ;
28836 PyObject
* obj0
= 0 ;
28837 PyObject
* obj1
= 0 ;
28838 char *kwnames
[] = {
28839 (char *) "self",(char *) "item", NULL
28842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28844 if (SWIG_arg_fail(1)) SWIG_fail
;
28846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28847 if (SWIG_arg_fail(2)) SWIG_fail
;
28848 if (arg2
== NULL
) {
28849 SWIG_null_ref("wxTreeItemId");
28851 if (SWIG_arg_fail(2)) SWIG_fail
;
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28860 Py_INCREF(Py_None
); resultobj
= Py_None
;
28867 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28868 PyObject
*resultobj
= NULL
;
28869 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28870 wxTreeItemId result
;
28871 PyObject
* obj0
= 0 ;
28872 char *kwnames
[] = {
28873 (char *) "self", NULL
28876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
28877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28878 if (SWIG_arg_fail(1)) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28887 wxTreeItemId
* resultptr
;
28888 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
28889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28897 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28898 PyObject
*resultobj
= NULL
;
28899 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28900 wxTreeItemId
*arg2
= 0 ;
28901 PyObject
* obj0
= 0 ;
28902 PyObject
* obj1
= 0 ;
28903 char *kwnames
[] = {
28904 (char *) "self",(char *) "item", NULL
28907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28909 if (SWIG_arg_fail(1)) SWIG_fail
;
28911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28912 if (SWIG_arg_fail(2)) SWIG_fail
;
28913 if (arg2
== NULL
) {
28914 SWIG_null_ref("wxTreeItemId");
28916 if (SWIG_arg_fail(2)) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28925 Py_INCREF(Py_None
); resultobj
= Py_None
;
28932 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
= NULL
;
28934 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28936 PyObject
* obj0
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
28942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28943 if (SWIG_arg_fail(1)) SWIG_fail
;
28945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28946 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
28948 wxPyEndAllowThreads(__tstate
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28952 wxPoint
* resultptr
;
28953 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
28954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28962 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
= NULL
;
28964 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28965 wxPoint
*arg2
= 0 ;
28967 PyObject
* obj0
= 0 ;
28968 PyObject
* obj1
= 0 ;
28969 char *kwnames
[] = {
28970 (char *) "self",(char *) "pt", NULL
28973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28975 if (SWIG_arg_fail(1)) SWIG_fail
;
28978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28982 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28987 Py_INCREF(Py_None
); resultobj
= Py_None
;
28994 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28995 PyObject
*resultobj
= NULL
;
28996 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28997 wxKeyEvent
*result
;
28998 PyObject
* obj0
= 0 ;
28999 char *kwnames
[] = {
29000 (char *) "self", NULL
29003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
29004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29005 if (SWIG_arg_fail(1)) SWIG_fail
;
29007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
29010 result
= (wxKeyEvent
*) &_result_ref
;
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
29023 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
= NULL
;
29025 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29027 PyObject
* obj0
= 0 ;
29028 char *kwnames
[] = {
29029 (char *) "self", NULL
29032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
29033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29034 if (SWIG_arg_fail(1)) SWIG_fail
;
29036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29037 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
29039 wxPyEndAllowThreads(__tstate
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29043 resultobj
= SWIG_From_int(static_cast<int >(result
));
29051 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
= NULL
;
29053 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29054 wxKeyEvent
*arg2
= 0 ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 char *kwnames
[] = {
29058 (char *) "self",(char *) "evt", NULL
29061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
29062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29063 if (SWIG_arg_fail(1)) SWIG_fail
;
29065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
29066 if (SWIG_arg_fail(2)) SWIG_fail
;
29067 if (arg2
== NULL
) {
29068 SWIG_null_ref("wxKeyEvent");
29070 if (SWIG_arg_fail(2)) SWIG_fail
;
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29079 Py_INCREF(Py_None
); resultobj
= Py_None
;
29086 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
= NULL
;
29088 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29090 PyObject
* obj0
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
29096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail
;
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29101 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
29102 result
= (wxString
*) &_result_ref
;
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29112 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29121 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
= NULL
;
29123 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29124 wxString
*arg2
= 0 ;
29125 bool temp2
= false ;
29126 PyObject
* obj0
= 0 ;
29127 PyObject
* obj1
= 0 ;
29128 char *kwnames
[] = {
29129 (char *) "self",(char *) "label", NULL
29132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29134 if (SWIG_arg_fail(1)) SWIG_fail
;
29136 arg2
= wxString_in_helper(obj1
);
29137 if (arg2
== NULL
) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 (arg1
)->SetLabel((wxString
const &)*arg2
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 Py_INCREF(Py_None
); resultobj
= Py_None
;
29162 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
= NULL
;
29164 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29166 PyObject
* obj0
= 0 ;
29167 char *kwnames
[] = {
29168 (char *) "self", NULL
29171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
29172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29173 if (SWIG_arg_fail(1)) SWIG_fail
;
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29190 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
= NULL
;
29192 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29194 PyObject
* obj0
= 0 ;
29195 PyObject
* obj1
= 0 ;
29196 char *kwnames
[] = {
29197 (char *) "self",(char *) "editCancelled", NULL
29200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
29201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29202 if (SWIG_arg_fail(1)) SWIG_fail
;
29204 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
29205 if (SWIG_arg_fail(2)) SWIG_fail
;
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 (arg1
)->SetEditCanceled(arg2
);
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29214 Py_INCREF(Py_None
); resultobj
= Py_None
;
29221 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29222 PyObject
*resultobj
= NULL
;
29223 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29224 wxString
*arg2
= 0 ;
29225 bool temp2
= false ;
29226 PyObject
* obj0
= 0 ;
29227 PyObject
* obj1
= 0 ;
29228 char *kwnames
[] = {
29229 (char *) "self",(char *) "toolTip", NULL
29232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
29233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29234 if (SWIG_arg_fail(1)) SWIG_fail
;
29236 arg2
= wxString_in_helper(obj1
);
29237 if (arg2
== NULL
) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 (arg1
)->SetToolTip((wxString
const &)*arg2
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29247 Py_INCREF(Py_None
); resultobj
= Py_None
;
29262 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
= NULL
;
29264 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
29266 PyObject
* obj0
= 0 ;
29267 char *kwnames
[] = {
29268 (char *) "self", NULL
29271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
29272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
29273 if (SWIG_arg_fail(1)) SWIG_fail
;
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 result
= (arg1
)->GetToolTip();
29278 wxPyEndAllowThreads(__tstate
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29294 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
29296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29297 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
29299 return Py_BuildValue((char *)"");
29301 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
= NULL
;
29303 wxWindow
*arg1
= (wxWindow
*) 0 ;
29304 int arg2
= (int) -1 ;
29305 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29306 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29307 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29308 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29309 long arg5
= (long) wxTR_DEFAULT_STYLE
;
29310 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29311 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29312 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
29313 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29314 wxPyTreeCtrl
*result
;
29317 bool temp7
= false ;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 PyObject
* obj2
= 0 ;
29321 PyObject
* obj3
= 0 ;
29322 PyObject
* obj4
= 0 ;
29323 PyObject
* obj5
= 0 ;
29324 PyObject
* obj6
= 0 ;
29325 char *kwnames
[] = {
29326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29331 if (SWIG_arg_fail(1)) SWIG_fail
;
29334 arg2
= static_cast<int >(SWIG_As_int(obj1
));
29335 if (SWIG_arg_fail(2)) SWIG_fail
;
29341 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29347 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29352 arg5
= static_cast<long >(SWIG_As_long(obj4
));
29353 if (SWIG_arg_fail(5)) SWIG_fail
;
29358 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29359 if (SWIG_arg_fail(6)) SWIG_fail
;
29360 if (arg6
== NULL
) {
29361 SWIG_null_ref("wxValidator");
29363 if (SWIG_arg_fail(6)) SWIG_fail
;
29368 arg7
= wxString_in_helper(obj6
);
29369 if (arg7
== NULL
) SWIG_fail
;
29374 if (!wxPyCheckForApp()) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
29396 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29397 PyObject
*resultobj
= NULL
;
29398 wxPyTreeCtrl
*result
;
29399 char *kwnames
[] = {
29403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
29405 if (!wxPyCheckForApp()) SWIG_fail
;
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
29409 wxPyEndAllowThreads(__tstate
);
29410 if (PyErr_Occurred()) SWIG_fail
;
29412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
29419 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29420 PyObject
*resultobj
= NULL
;
29421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29422 wxWindow
*arg2
= (wxWindow
*) 0 ;
29423 int arg3
= (int) -1 ;
29424 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29425 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29426 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29427 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29428 long arg6
= (long) wxTR_DEFAULT_STYLE
;
29429 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29430 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29431 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
29432 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29436 bool temp8
= false ;
29437 PyObject
* obj0
= 0 ;
29438 PyObject
* obj1
= 0 ;
29439 PyObject
* obj2
= 0 ;
29440 PyObject
* obj3
= 0 ;
29441 PyObject
* obj4
= 0 ;
29442 PyObject
* obj5
= 0 ;
29443 PyObject
* obj6
= 0 ;
29444 PyObject
* obj7
= 0 ;
29445 char *kwnames
[] = {
29446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
29450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29451 if (SWIG_arg_fail(1)) SWIG_fail
;
29452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29453 if (SWIG_arg_fail(2)) SWIG_fail
;
29456 arg3
= static_cast<int >(SWIG_As_int(obj2
));
29457 if (SWIG_arg_fail(3)) SWIG_fail
;
29463 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29469 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29474 arg6
= static_cast<long >(SWIG_As_long(obj5
));
29475 if (SWIG_arg_fail(6)) SWIG_fail
;
29480 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29481 if (SWIG_arg_fail(7)) SWIG_fail
;
29482 if (arg7
== NULL
) {
29483 SWIG_null_ref("wxValidator");
29485 if (SWIG_arg_fail(7)) SWIG_fail
;
29490 arg8
= wxString_in_helper(obj7
);
29491 if (arg8
== NULL
) SWIG_fail
;
29496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29497 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29519 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
= NULL
;
29521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29522 PyObject
*arg2
= (PyObject
*) 0 ;
29523 PyObject
*arg3
= (PyObject
*) 0 ;
29524 PyObject
* obj0
= 0 ;
29525 PyObject
* obj1
= 0 ;
29526 PyObject
* obj2
= 0 ;
29527 char *kwnames
[] = {
29528 (char *) "self",(char *) "self",(char *) "_class", NULL
29531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29533 if (SWIG_arg_fail(1)) SWIG_fail
;
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29540 wxPyEndAllowThreads(__tstate
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29543 Py_INCREF(Py_None
); resultobj
= Py_None
;
29550 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29551 PyObject
*resultobj
= NULL
;
29552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29554 PyObject
* obj0
= 0 ;
29555 char *kwnames
[] = {
29556 (char *) "self", NULL
29559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
29560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29561 if (SWIG_arg_fail(1)) SWIG_fail
;
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29578 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29579 PyObject
*resultobj
= NULL
;
29580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29581 unsigned int result
;
29582 PyObject
* obj0
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "self", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
29588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29589 if (SWIG_arg_fail(1)) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
29606 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
= NULL
;
29608 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29609 unsigned int arg2
;
29610 PyObject
* obj0
= 0 ;
29611 PyObject
* obj1
= 0 ;
29612 char *kwnames
[] = {
29613 (char *) "self",(char *) "indent", NULL
29616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
29617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29618 if (SWIG_arg_fail(1)) SWIG_fail
;
29620 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
29621 if (SWIG_arg_fail(2)) SWIG_fail
;
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 (arg1
)->SetIndent(arg2
);
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29630 Py_INCREF(Py_None
); resultobj
= Py_None
;
29637 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
= NULL
;
29639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29640 unsigned int result
;
29641 PyObject
* obj0
= 0 ;
29642 char *kwnames
[] = {
29643 (char *) "self", NULL
29646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",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
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
29665 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
= NULL
;
29667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29668 unsigned int arg2
;
29669 PyObject
* obj0
= 0 ;
29670 PyObject
* obj1
= 0 ;
29671 char *kwnames
[] = {
29672 (char *) "self",(char *) "spacing", NULL
29675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
29676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29677 if (SWIG_arg_fail(1)) SWIG_fail
;
29679 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
29680 if (SWIG_arg_fail(2)) SWIG_fail
;
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 (arg1
)->SetSpacing(arg2
);
29686 wxPyEndAllowThreads(__tstate
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29689 Py_INCREF(Py_None
); resultobj
= Py_None
;
29696 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
= NULL
;
29698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29699 wxImageList
*result
;
29700 PyObject
* obj0
= 0 ;
29701 char *kwnames
[] = {
29702 (char *) "self", NULL
29705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
29706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29707 if (SWIG_arg_fail(1)) SWIG_fail
;
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29724 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
= NULL
;
29726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29727 wxImageList
*result
;
29728 PyObject
* obj0
= 0 ;
29729 char *kwnames
[] = {
29730 (char *) "self", NULL
29733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",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
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29744 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29752 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
= NULL
;
29754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29755 wxImageList
*arg2
= (wxImageList
*) 0 ;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "self",(char *) "imageList", NULL
29762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",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
;
29765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
29766 if (SWIG_arg_fail(2)) SWIG_fail
;
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 (arg1
)->SetImageList(arg2
);
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29774 Py_INCREF(Py_None
); resultobj
= Py_None
;
29781 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
= NULL
;
29783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29784 wxImageList
*arg2
= (wxImageList
*) 0 ;
29785 PyObject
* obj0
= 0 ;
29786 PyObject
* obj1
= 0 ;
29787 char *kwnames
[] = {
29788 (char *) "self",(char *) "imageList", NULL
29791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29793 if (SWIG_arg_fail(1)) SWIG_fail
;
29794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
29795 if (SWIG_arg_fail(2)) SWIG_fail
;
29797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29798 (arg1
)->SetStateImageList(arg2
);
29800 wxPyEndAllowThreads(__tstate
);
29801 if (PyErr_Occurred()) SWIG_fail
;
29803 Py_INCREF(Py_None
); resultobj
= Py_None
;
29810 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
= NULL
;
29812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29813 wxImageList
*arg2
= (wxImageList
*) 0 ;
29814 PyObject
* obj0
= 0 ;
29815 PyObject
* obj1
= 0 ;
29816 char *kwnames
[] = {
29817 (char *) "self",(char *) "imageList", NULL
29820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
29821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29822 if (SWIG_arg_fail(1)) SWIG_fail
;
29823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29824 if (SWIG_arg_fail(2)) SWIG_fail
;
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 (arg1
)->AssignImageList(arg2
);
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 Py_INCREF(Py_None
); resultobj
= Py_None
;
29839 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(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_AssignStateImageList",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
| SWIG_POINTER_DISOWN
);
29853 if (SWIG_arg_fail(2)) SWIG_fail
;
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 (arg1
)->AssignStateImageList(arg2
);
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29861 Py_INCREF(Py_None
); resultobj
= Py_None
;
29868 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29869 PyObject
*resultobj
= NULL
;
29870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29871 wxTreeItemId
*arg2
= 0 ;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 char *kwnames
[] = {
29876 (char *) "self",(char *) "item", NULL
29879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
29880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29881 if (SWIG_arg_fail(1)) SWIG_fail
;
29883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29884 if (SWIG_arg_fail(2)) SWIG_fail
;
29885 if (arg2
== NULL
) {
29886 SWIG_null_ref("wxTreeItemId");
29888 if (SWIG_arg_fail(2)) SWIG_fail
;
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29910 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29911 PyObject
*resultobj
= NULL
;
29912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29913 wxTreeItemId
*arg2
= 0 ;
29914 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 char *kwnames
[] = {
29920 (char *) "self",(char *) "item",(char *) "which", NULL
29923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29925 if (SWIG_arg_fail(1)) SWIG_fail
;
29927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29928 if (SWIG_arg_fail(2)) SWIG_fail
;
29929 if (arg2
== NULL
) {
29930 SWIG_null_ref("wxTreeItemId");
29932 if (SWIG_arg_fail(2)) SWIG_fail
;
29936 arg3
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj2
));
29937 if (SWIG_arg_fail(3)) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= SWIG_From_int(static_cast<int >(result
));
29956 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
= NULL
;
29958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29959 wxTreeItemId
*arg2
= 0 ;
29960 wxPyTreeItemData
*result
;
29961 PyObject
* obj0
= 0 ;
29962 PyObject
* obj1
= 0 ;
29963 char *kwnames
[] = {
29964 (char *) "self",(char *) "item", NULL
29967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
29968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29969 if (SWIG_arg_fail(1)) SWIG_fail
;
29971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29972 if (SWIG_arg_fail(2)) SWIG_fail
;
29973 if (arg2
== NULL
) {
29974 SWIG_null_ref("wxTreeItemId");
29976 if (SWIG_arg_fail(2)) SWIG_fail
;
29979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29980 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
29982 wxPyEndAllowThreads(__tstate
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
29992 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29993 PyObject
*resultobj
= NULL
;
29994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29995 wxTreeItemId
*arg2
= 0 ;
29997 PyObject
* obj0
= 0 ;
29998 PyObject
* obj1
= 0 ;
29999 char *kwnames
[] = {
30000 (char *) "self",(char *) "item", NULL
30003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
30004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30005 if (SWIG_arg_fail(1)) SWIG_fail
;
30007 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30008 if (SWIG_arg_fail(2)) SWIG_fail
;
30009 if (arg2
== NULL
) {
30010 SWIG_null_ref("wxTreeItemId");
30012 if (SWIG_arg_fail(2)) SWIG_fail
;
30015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30021 resultobj
= result
;
30028 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
= NULL
;
30030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30031 wxTreeItemId
*arg2
= 0 ;
30033 PyObject
* obj0
= 0 ;
30034 PyObject
* obj1
= 0 ;
30035 char *kwnames
[] = {
30036 (char *) "self",(char *) "item", NULL
30039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30041 if (SWIG_arg_fail(1)) SWIG_fail
;
30043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30044 if (SWIG_arg_fail(2)) SWIG_fail
;
30045 if (arg2
== NULL
) {
30046 SWIG_null_ref("wxTreeItemId");
30048 if (SWIG_arg_fail(2)) SWIG_fail
;
30051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30052 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
30054 wxPyEndAllowThreads(__tstate
);
30055 if (PyErr_Occurred()) SWIG_fail
;
30058 wxColour
* resultptr
;
30059 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
30060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30068 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30069 PyObject
*resultobj
= NULL
;
30070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30071 wxTreeItemId
*arg2
= 0 ;
30073 PyObject
* obj0
= 0 ;
30074 PyObject
* obj1
= 0 ;
30075 char *kwnames
[] = {
30076 (char *) "self",(char *) "item", NULL
30079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30081 if (SWIG_arg_fail(1)) SWIG_fail
;
30083 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30084 if (SWIG_arg_fail(2)) SWIG_fail
;
30085 if (arg2
== NULL
) {
30086 SWIG_null_ref("wxTreeItemId");
30088 if (SWIG_arg_fail(2)) SWIG_fail
;
30091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30098 wxColour
* resultptr
;
30099 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
30100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30108 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
= NULL
;
30110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30111 wxTreeItemId
*arg2
= 0 ;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 char *kwnames
[] = {
30116 (char *) "self",(char *) "item", NULL
30119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30121 if (SWIG_arg_fail(1)) SWIG_fail
;
30123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30124 if (SWIG_arg_fail(2)) SWIG_fail
;
30125 if (arg2
== NULL
) {
30126 SWIG_null_ref("wxTreeItemId");
30128 if (SWIG_arg_fail(2)) SWIG_fail
;
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30138 wxFont
* resultptr
;
30139 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
30140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30148 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
= NULL
;
30150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30151 wxTreeItemId
*arg2
= 0 ;
30152 wxString
*arg3
= 0 ;
30153 bool temp3
= false ;
30154 PyObject
* obj0
= 0 ;
30155 PyObject
* obj1
= 0 ;
30156 PyObject
* obj2
= 0 ;
30157 char *kwnames
[] = {
30158 (char *) "self",(char *) "item",(char *) "text", NULL
30161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30163 if (SWIG_arg_fail(1)) SWIG_fail
;
30165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30166 if (SWIG_arg_fail(2)) SWIG_fail
;
30167 if (arg2
== NULL
) {
30168 SWIG_null_ref("wxTreeItemId");
30170 if (SWIG_arg_fail(2)) SWIG_fail
;
30173 arg3
= wxString_in_helper(obj2
);
30174 if (arg3
== NULL
) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 Py_INCREF(Py_None
); resultobj
= Py_None
;
30199 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
= NULL
;
30201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30202 wxTreeItemId
*arg2
= 0 ;
30204 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 PyObject
* obj2
= 0 ;
30208 PyObject
* obj3
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30215 if (SWIG_arg_fail(1)) SWIG_fail
;
30217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30218 if (SWIG_arg_fail(2)) SWIG_fail
;
30219 if (arg2
== NULL
) {
30220 SWIG_null_ref("wxTreeItemId");
30222 if (SWIG_arg_fail(2)) SWIG_fail
;
30225 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30226 if (SWIG_arg_fail(3)) SWIG_fail
;
30230 arg4
= static_cast<wxTreeItemIcon
>(SWIG_As_int(obj3
));
30231 if (SWIG_arg_fail(4)) SWIG_fail
;
30235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 Py_INCREF(Py_None
); resultobj
= Py_None
;
30248 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
= NULL
;
30250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30251 wxTreeItemId
*arg2
= 0 ;
30252 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
30253 PyObject
* obj0
= 0 ;
30254 PyObject
* obj1
= 0 ;
30255 PyObject
* obj2
= 0 ;
30256 char *kwnames
[] = {
30257 (char *) "self",(char *) "item",(char *) "data", NULL
30260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30262 if (SWIG_arg_fail(1)) SWIG_fail
;
30264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30265 if (SWIG_arg_fail(2)) SWIG_fail
;
30266 if (arg2
== NULL
) {
30267 SWIG_null_ref("wxTreeItemId");
30269 if (SWIG_arg_fail(2)) SWIG_fail
;
30271 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30272 if (SWIG_arg_fail(3)) SWIG_fail
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30280 Py_INCREF(Py_None
); resultobj
= Py_None
;
30287 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
= NULL
;
30289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30290 wxTreeItemId
*arg2
= 0 ;
30291 PyObject
*arg3
= (PyObject
*) 0 ;
30292 PyObject
* obj0
= 0 ;
30293 PyObject
* obj1
= 0 ;
30294 PyObject
* obj2
= 0 ;
30295 char *kwnames
[] = {
30296 (char *) "self",(char *) "item",(char *) "obj", NULL
30299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30301 if (SWIG_arg_fail(1)) SWIG_fail
;
30303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30304 if (SWIG_arg_fail(2)) SWIG_fail
;
30305 if (arg2
== NULL
) {
30306 SWIG_null_ref("wxTreeItemId");
30308 if (SWIG_arg_fail(2)) SWIG_fail
;
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30315 wxPyEndAllowThreads(__tstate
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30318 Py_INCREF(Py_None
); resultobj
= Py_None
;
30325 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30326 PyObject
*resultobj
= NULL
;
30327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30328 wxTreeItemId
*arg2
= 0 ;
30329 bool arg3
= (bool) true ;
30330 PyObject
* obj0
= 0 ;
30331 PyObject
* obj1
= 0 ;
30332 PyObject
* obj2
= 0 ;
30333 char *kwnames
[] = {
30334 (char *) "self",(char *) "item",(char *) "has", NULL
30337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30339 if (SWIG_arg_fail(1)) SWIG_fail
;
30341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30342 if (SWIG_arg_fail(2)) SWIG_fail
;
30343 if (arg2
== NULL
) {
30344 SWIG_null_ref("wxTreeItemId");
30346 if (SWIG_arg_fail(2)) SWIG_fail
;
30350 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30351 if (SWIG_arg_fail(3)) SWIG_fail
;
30355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30356 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30361 Py_INCREF(Py_None
); resultobj
= Py_None
;
30368 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
= NULL
;
30370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30371 wxTreeItemId
*arg2
= 0 ;
30372 bool arg3
= (bool) true ;
30373 PyObject
* obj0
= 0 ;
30374 PyObject
* obj1
= 0 ;
30375 PyObject
* obj2
= 0 ;
30376 char *kwnames
[] = {
30377 (char *) "self",(char *) "item",(char *) "bold", NULL
30380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30382 if (SWIG_arg_fail(1)) SWIG_fail
;
30384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30385 if (SWIG_arg_fail(2)) SWIG_fail
;
30386 if (arg2
== NULL
) {
30387 SWIG_null_ref("wxTreeItemId");
30389 if (SWIG_arg_fail(2)) SWIG_fail
;
30393 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30394 if (SWIG_arg_fail(3)) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30404 Py_INCREF(Py_None
); resultobj
= Py_None
;
30411 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
= NULL
;
30413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30414 wxTreeItemId
*arg2
= 0 ;
30415 bool arg3
= (bool) true ;
30416 PyObject
* obj0
= 0 ;
30417 PyObject
* obj1
= 0 ;
30418 PyObject
* obj2
= 0 ;
30419 char *kwnames
[] = {
30420 (char *) "self",(char *) "item",(char *) "highlight", NULL
30423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30425 if (SWIG_arg_fail(1)) SWIG_fail
;
30427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30428 if (SWIG_arg_fail(2)) SWIG_fail
;
30429 if (arg2
== NULL
) {
30430 SWIG_null_ref("wxTreeItemId");
30432 if (SWIG_arg_fail(2)) SWIG_fail
;
30436 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30437 if (SWIG_arg_fail(3)) SWIG_fail
;
30441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30442 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
30444 wxPyEndAllowThreads(__tstate
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30447 Py_INCREF(Py_None
); resultobj
= Py_None
;
30454 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
= NULL
;
30456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30457 wxTreeItemId
*arg2
= 0 ;
30458 wxColour
*arg3
= 0 ;
30460 PyObject
* obj0
= 0 ;
30461 PyObject
* obj1
= 0 ;
30462 PyObject
* obj2
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self",(char *) "item",(char *) "col", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",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 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30484 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
30486 wxPyEndAllowThreads(__tstate
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30489 Py_INCREF(Py_None
); resultobj
= Py_None
;
30496 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30497 PyObject
*resultobj
= NULL
;
30498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30499 wxTreeItemId
*arg2
= 0 ;
30500 wxColour
*arg3
= 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 PyObject
* obj2
= 0 ;
30505 char *kwnames
[] = {
30506 (char *) "self",(char *) "item",(char *) "col", NULL
30509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30511 if (SWIG_arg_fail(1)) SWIG_fail
;
30513 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30514 if (SWIG_arg_fail(2)) SWIG_fail
;
30515 if (arg2
== NULL
) {
30516 SWIG_null_ref("wxTreeItemId");
30518 if (SWIG_arg_fail(2)) SWIG_fail
;
30522 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 Py_INCREF(Py_None
); resultobj
= Py_None
;
30538 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30539 PyObject
*resultobj
= NULL
;
30540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30541 wxTreeItemId
*arg2
= 0 ;
30543 PyObject
* obj0
= 0 ;
30544 PyObject
* obj1
= 0 ;
30545 PyObject
* obj2
= 0 ;
30546 char *kwnames
[] = {
30547 (char *) "self",(char *) "item",(char *) "font", NULL
30550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30552 if (SWIG_arg_fail(1)) SWIG_fail
;
30554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30555 if (SWIG_arg_fail(2)) SWIG_fail
;
30556 if (arg2
== NULL
) {
30557 SWIG_null_ref("wxTreeItemId");
30559 if (SWIG_arg_fail(2)) SWIG_fail
;
30562 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30563 if (SWIG_arg_fail(3)) SWIG_fail
;
30564 if (arg3
== NULL
) {
30565 SWIG_null_ref("wxFont");
30567 if (SWIG_arg_fail(3)) SWIG_fail
;
30570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30571 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 Py_INCREF(Py_None
); resultobj
= Py_None
;
30583 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
= NULL
;
30585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30586 wxTreeItemId
*arg2
= 0 ;
30588 PyObject
* obj0
= 0 ;
30589 PyObject
* obj1
= 0 ;
30590 char *kwnames
[] = {
30591 (char *) "self",(char *) "item", NULL
30594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30596 if (SWIG_arg_fail(1)) SWIG_fail
;
30598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30599 if (SWIG_arg_fail(2)) SWIG_fail
;
30600 if (arg2
== NULL
) {
30601 SWIG_null_ref("wxTreeItemId");
30603 if (SWIG_arg_fail(2)) SWIG_fail
;
30606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
30609 wxPyEndAllowThreads(__tstate
);
30610 if (PyErr_Occurred()) SWIG_fail
;
30613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30621 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30622 PyObject
*resultobj
= NULL
;
30623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30624 wxTreeItemId
*arg2
= 0 ;
30626 PyObject
* obj0
= 0 ;
30627 PyObject
* obj1
= 0 ;
30628 char *kwnames
[] = {
30629 (char *) "self",(char *) "item", NULL
30632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30634 if (SWIG_arg_fail(1)) SWIG_fail
;
30636 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30637 if (SWIG_arg_fail(2)) SWIG_fail
;
30638 if (arg2
== NULL
) {
30639 SWIG_null_ref("wxTreeItemId");
30641 if (SWIG_arg_fail(2)) SWIG_fail
;
30644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30645 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30659 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30660 PyObject
*resultobj
= NULL
;
30661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30662 wxTreeItemId
*arg2
= 0 ;
30664 PyObject
* obj0
= 0 ;
30665 PyObject
* obj1
= 0 ;
30666 char *kwnames
[] = {
30667 (char *) "self",(char *) "item", NULL
30670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
30671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30672 if (SWIG_arg_fail(1)) SWIG_fail
;
30674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30675 if (SWIG_arg_fail(2)) SWIG_fail
;
30676 if (arg2
== NULL
) {
30677 SWIG_null_ref("wxTreeItemId");
30679 if (SWIG_arg_fail(2)) SWIG_fail
;
30682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30683 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
30685 wxPyEndAllowThreads(__tstate
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30697 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30698 PyObject
*resultobj
= NULL
;
30699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30700 wxTreeItemId
*arg2
= 0 ;
30702 PyObject
* obj0
= 0 ;
30703 PyObject
* obj1
= 0 ;
30704 char *kwnames
[] = {
30705 (char *) "self",(char *) "item", NULL
30708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
30709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30710 if (SWIG_arg_fail(1)) SWIG_fail
;
30712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30713 if (SWIG_arg_fail(2)) SWIG_fail
;
30714 if (arg2
== NULL
) {
30715 SWIG_null_ref("wxTreeItemId");
30717 if (SWIG_arg_fail(2)) SWIG_fail
;
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30735 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30736 PyObject
*resultobj
= NULL
;
30737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30738 wxTreeItemId
*arg2
= 0 ;
30740 PyObject
* obj0
= 0 ;
30741 PyObject
* obj1
= 0 ;
30742 char *kwnames
[] = {
30743 (char *) "self",(char *) "item", NULL
30746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
30747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30748 if (SWIG_arg_fail(1)) SWIG_fail
;
30750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30751 if (SWIG_arg_fail(2)) SWIG_fail
;
30752 if (arg2
== NULL
) {
30753 SWIG_null_ref("wxTreeItemId");
30755 if (SWIG_arg_fail(2)) SWIG_fail
;
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30773 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
= NULL
;
30775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30776 wxTreeItemId
*arg2
= 0 ;
30777 bool arg3
= (bool) true ;
30779 PyObject
* obj0
= 0 ;
30780 PyObject
* obj1
= 0 ;
30781 PyObject
* obj2
= 0 ;
30782 char *kwnames
[] = {
30783 (char *) "self",(char *) "item",(char *) "recursively", NULL
30786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30788 if (SWIG_arg_fail(1)) SWIG_fail
;
30790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30791 if (SWIG_arg_fail(2)) SWIG_fail
;
30792 if (arg2
== NULL
) {
30793 SWIG_null_ref("wxTreeItemId");
30795 if (SWIG_arg_fail(2)) SWIG_fail
;
30799 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
30800 if (SWIG_arg_fail(3)) SWIG_fail
;
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30811 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
30819 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
= NULL
;
30821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30822 wxTreeItemId result
;
30823 PyObject
* obj0
= 0 ;
30824 char *kwnames
[] = {
30825 (char *) "self", NULL
30828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
30829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30830 if (SWIG_arg_fail(1)) SWIG_fail
;
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30839 wxTreeItemId
* resultptr
;
30840 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30849 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30850 PyObject
*resultobj
= NULL
;
30851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30852 wxTreeItemId result
;
30853 PyObject
* obj0
= 0 ;
30854 char *kwnames
[] = {
30855 (char *) "self", NULL
30858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
30859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30860 if (SWIG_arg_fail(1)) SWIG_fail
;
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30869 wxTreeItemId
* resultptr
;
30870 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30879 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
= NULL
;
30881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30883 PyObject
* obj0
= 0 ;
30884 char *kwnames
[] = {
30885 (char *) "self", NULL
30888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
30889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30890 if (SWIG_arg_fail(1)) SWIG_fail
;
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= result
;
30905 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
= NULL
;
30907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30908 wxTreeItemId
*arg2
= 0 ;
30909 wxTreeItemId result
;
30910 PyObject
* obj0
= 0 ;
30911 PyObject
* obj1
= 0 ;
30912 char *kwnames
[] = {
30913 (char *) "self",(char *) "item", NULL
30916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30918 if (SWIG_arg_fail(1)) SWIG_fail
;
30920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30921 if (SWIG_arg_fail(2)) SWIG_fail
;
30922 if (arg2
== NULL
) {
30923 SWIG_null_ref("wxTreeItemId");
30925 if (SWIG_arg_fail(2)) SWIG_fail
;
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30929 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
30931 wxPyEndAllowThreads(__tstate
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30935 wxTreeItemId
* resultptr
;
30936 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
30937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30945 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
= NULL
;
30947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30948 wxTreeItemId
*arg2
= 0 ;
30950 PyObject
* obj0
= 0 ;
30951 PyObject
* obj1
= 0 ;
30952 char *kwnames
[] = {
30953 (char *) "self",(char *) "item", NULL
30956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30958 if (SWIG_arg_fail(1)) SWIG_fail
;
30960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30961 if (SWIG_arg_fail(2)) SWIG_fail
;
30962 if (arg2
== NULL
) {
30963 SWIG_null_ref("wxTreeItemId");
30965 if (SWIG_arg_fail(2)) SWIG_fail
;
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30969 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 resultobj
= result
;
30981 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30982 PyObject
*resultobj
= NULL
;
30983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30984 wxTreeItemId
*arg2
= 0 ;
30985 void *arg3
= (void *) 0 ;
30987 PyObject
* obj0
= 0 ;
30988 PyObject
* obj1
= 0 ;
30989 PyObject
* obj2
= 0 ;
30990 char *kwnames
[] = {
30991 (char *) "self",(char *) "item",(char *) "cookie", NULL
30994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30996 if (SWIG_arg_fail(1)) SWIG_fail
;
30998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30999 if (SWIG_arg_fail(2)) SWIG_fail
;
31000 if (arg2
== NULL
) {
31001 SWIG_null_ref("wxTreeItemId");
31003 if (SWIG_arg_fail(2)) SWIG_fail
;
31006 if ((SWIG_ConvertPtr(obj2
,reinterpret_cast<void ** >(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
31007 SWIG_arg_fail(3);SWIG_fail
;
31011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31017 resultobj
= result
;
31024 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
= NULL
;
31026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31027 wxTreeItemId
*arg2
= 0 ;
31028 wxTreeItemId result
;
31029 PyObject
* obj0
= 0 ;
31030 PyObject
* obj1
= 0 ;
31031 char *kwnames
[] = {
31032 (char *) "self",(char *) "item", NULL
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
31036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail
;
31039 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31040 if (SWIG_arg_fail(2)) SWIG_fail
;
31041 if (arg2
== NULL
) {
31042 SWIG_null_ref("wxTreeItemId");
31044 if (SWIG_arg_fail(2)) SWIG_fail
;
31047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31048 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31054 wxTreeItemId
* resultptr
;
31055 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31064 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31065 PyObject
*resultobj
= NULL
;
31066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31067 wxTreeItemId
*arg2
= 0 ;
31068 wxTreeItemId result
;
31069 PyObject
* obj0
= 0 ;
31070 PyObject
* obj1
= 0 ;
31071 char *kwnames
[] = {
31072 (char *) "self",(char *) "item", NULL
31075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
31076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31077 if (SWIG_arg_fail(1)) SWIG_fail
;
31079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31080 if (SWIG_arg_fail(2)) SWIG_fail
;
31081 if (arg2
== NULL
) {
31082 SWIG_null_ref("wxTreeItemId");
31084 if (SWIG_arg_fail(2)) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31094 wxTreeItemId
* resultptr
;
31095 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31104 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31105 PyObject
*resultobj
= NULL
;
31106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31107 wxTreeItemId
*arg2
= 0 ;
31108 wxTreeItemId result
;
31109 PyObject
* obj0
= 0 ;
31110 PyObject
* obj1
= 0 ;
31111 char *kwnames
[] = {
31112 (char *) "self",(char *) "item", NULL
31115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
31116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31117 if (SWIG_arg_fail(1)) SWIG_fail
;
31119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31120 if (SWIG_arg_fail(2)) SWIG_fail
;
31121 if (arg2
== NULL
) {
31122 SWIG_null_ref("wxTreeItemId");
31124 if (SWIG_arg_fail(2)) SWIG_fail
;
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31134 wxTreeItemId
* resultptr
;
31135 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31144 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
= NULL
;
31146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31147 wxTreeItemId result
;
31148 PyObject
* obj0
= 0 ;
31149 char *kwnames
[] = {
31150 (char *) "self", NULL
31153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
31154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31155 if (SWIG_arg_fail(1)) SWIG_fail
;
31157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31158 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
31160 wxPyEndAllowThreads(__tstate
);
31161 if (PyErr_Occurred()) SWIG_fail
;
31164 wxTreeItemId
* resultptr
;
31165 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31174 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31175 PyObject
*resultobj
= NULL
;
31176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31177 wxTreeItemId
*arg2
= 0 ;
31178 wxTreeItemId result
;
31179 PyObject
* obj0
= 0 ;
31180 PyObject
* obj1
= 0 ;
31181 char *kwnames
[] = {
31182 (char *) "self",(char *) "item", NULL
31185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31187 if (SWIG_arg_fail(1)) SWIG_fail
;
31189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31190 if (SWIG_arg_fail(2)) SWIG_fail
;
31191 if (arg2
== NULL
) {
31192 SWIG_null_ref("wxTreeItemId");
31194 if (SWIG_arg_fail(2)) SWIG_fail
;
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31198 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
31200 wxPyEndAllowThreads(__tstate
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31204 wxTreeItemId
* resultptr
;
31205 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31214 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
= NULL
;
31216 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31217 wxTreeItemId
*arg2
= 0 ;
31218 wxTreeItemId result
;
31219 PyObject
* obj0
= 0 ;
31220 PyObject
* obj1
= 0 ;
31221 char *kwnames
[] = {
31222 (char *) "self",(char *) "item", NULL
31225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
31226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31227 if (SWIG_arg_fail(1)) SWIG_fail
;
31229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31230 if (SWIG_arg_fail(2)) SWIG_fail
;
31231 if (arg2
== NULL
) {
31232 SWIG_null_ref("wxTreeItemId");
31234 if (SWIG_arg_fail(2)) SWIG_fail
;
31237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31238 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
31240 wxPyEndAllowThreads(__tstate
);
31241 if (PyErr_Occurred()) SWIG_fail
;
31244 wxTreeItemId
* resultptr
;
31245 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31254 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31255 PyObject
*resultobj
= NULL
;
31256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31257 wxString
*arg2
= 0 ;
31258 int arg3
= (int) -1 ;
31259 int arg4
= (int) -1 ;
31260 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
31261 wxTreeItemId result
;
31262 bool temp2
= false ;
31263 PyObject
* obj0
= 0 ;
31264 PyObject
* obj1
= 0 ;
31265 PyObject
* obj2
= 0 ;
31266 PyObject
* obj3
= 0 ;
31267 PyObject
* obj4
= 0 ;
31268 char *kwnames
[] = {
31269 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg2
= wxString_in_helper(obj1
);
31277 if (arg2
== NULL
) SWIG_fail
;
31282 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31283 if (SWIG_arg_fail(3)) SWIG_fail
;
31288 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31289 if (SWIG_arg_fail(4)) SWIG_fail
;
31293 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31294 if (SWIG_arg_fail(5)) SWIG_fail
;
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31304 wxTreeItemId
* resultptr
;
31305 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31322 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
= NULL
;
31324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31325 wxTreeItemId
*arg2
= 0 ;
31326 wxString
*arg3
= 0 ;
31327 int arg4
= (int) -1 ;
31328 int arg5
= (int) -1 ;
31329 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
31330 wxTreeItemId result
;
31331 bool temp3
= false ;
31332 PyObject
* obj0
= 0 ;
31333 PyObject
* obj1
= 0 ;
31334 PyObject
* obj2
= 0 ;
31335 PyObject
* obj3
= 0 ;
31336 PyObject
* obj4
= 0 ;
31337 PyObject
* obj5
= 0 ;
31338 char *kwnames
[] = {
31339 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31344 if (SWIG_arg_fail(1)) SWIG_fail
;
31346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31347 if (SWIG_arg_fail(2)) SWIG_fail
;
31348 if (arg2
== NULL
) {
31349 SWIG_null_ref("wxTreeItemId");
31351 if (SWIG_arg_fail(2)) SWIG_fail
;
31354 arg3
= wxString_in_helper(obj2
);
31355 if (arg3
== NULL
) SWIG_fail
;
31360 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31361 if (SWIG_arg_fail(4)) SWIG_fail
;
31366 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31367 if (SWIG_arg_fail(5)) SWIG_fail
;
31371 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31372 if (SWIG_arg_fail(6)) SWIG_fail
;
31375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31376 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31382 wxTreeItemId
* resultptr
;
31383 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31400 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= NULL
;
31402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31403 wxTreeItemId
*arg2
= 0 ;
31404 wxTreeItemId
*arg3
= 0 ;
31405 wxString
*arg4
= 0 ;
31406 int arg5
= (int) -1 ;
31407 int arg6
= (int) -1 ;
31408 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
31409 wxTreeItemId result
;
31410 bool temp4
= false ;
31411 PyObject
* obj0
= 0 ;
31412 PyObject
* obj1
= 0 ;
31413 PyObject
* obj2
= 0 ;
31414 PyObject
* obj3
= 0 ;
31415 PyObject
* obj4
= 0 ;
31416 PyObject
* obj5
= 0 ;
31417 PyObject
* obj6
= 0 ;
31418 char *kwnames
[] = {
31419 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31424 if (SWIG_arg_fail(1)) SWIG_fail
;
31426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31427 if (SWIG_arg_fail(2)) SWIG_fail
;
31428 if (arg2
== NULL
) {
31429 SWIG_null_ref("wxTreeItemId");
31431 if (SWIG_arg_fail(2)) SWIG_fail
;
31434 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31435 if (SWIG_arg_fail(3)) SWIG_fail
;
31436 if (arg3
== NULL
) {
31437 SWIG_null_ref("wxTreeItemId");
31439 if (SWIG_arg_fail(3)) SWIG_fail
;
31442 arg4
= wxString_in_helper(obj3
);
31443 if (arg4
== NULL
) SWIG_fail
;
31448 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31449 if (SWIG_arg_fail(5)) SWIG_fail
;
31454 arg6
= static_cast<int >(SWIG_As_int(obj5
));
31455 if (SWIG_arg_fail(6)) SWIG_fail
;
31459 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31460 if (SWIG_arg_fail(7)) SWIG_fail
;
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
31466 wxPyEndAllowThreads(__tstate
);
31467 if (PyErr_Occurred()) SWIG_fail
;
31470 wxTreeItemId
* resultptr
;
31471 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31488 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31489 PyObject
*resultobj
= NULL
;
31490 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31491 wxTreeItemId
*arg2
= 0 ;
31493 wxString
*arg4
= 0 ;
31494 int arg5
= (int) -1 ;
31495 int arg6
= (int) -1 ;
31496 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
31497 wxTreeItemId result
;
31498 bool temp4
= false ;
31499 PyObject
* obj0
= 0 ;
31500 PyObject
* obj1
= 0 ;
31501 PyObject
* obj2
= 0 ;
31502 PyObject
* obj3
= 0 ;
31503 PyObject
* obj4
= 0 ;
31504 PyObject
* obj5
= 0 ;
31505 PyObject
* obj6
= 0 ;
31506 char *kwnames
[] = {
31507 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31512 if (SWIG_arg_fail(1)) SWIG_fail
;
31514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31515 if (SWIG_arg_fail(2)) SWIG_fail
;
31516 if (arg2
== NULL
) {
31517 SWIG_null_ref("wxTreeItemId");
31519 if (SWIG_arg_fail(2)) SWIG_fail
;
31522 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
31523 if (SWIG_arg_fail(3)) SWIG_fail
;
31526 arg4
= wxString_in_helper(obj3
);
31527 if (arg4
== NULL
) SWIG_fail
;
31532 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31533 if (SWIG_arg_fail(5)) SWIG_fail
;
31538 arg6
= static_cast<int >(SWIG_As_int(obj5
));
31539 if (SWIG_arg_fail(6)) SWIG_fail
;
31543 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31544 if (SWIG_arg_fail(7)) SWIG_fail
;
31547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31548 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
31550 wxPyEndAllowThreads(__tstate
);
31551 if (PyErr_Occurred()) SWIG_fail
;
31554 wxTreeItemId
* resultptr
;
31555 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31572 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31573 PyObject
*resultobj
= NULL
;
31574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31575 wxTreeItemId
*arg2
= 0 ;
31576 wxString
*arg3
= 0 ;
31577 int arg4
= (int) -1 ;
31578 int arg5
= (int) -1 ;
31579 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
31580 wxTreeItemId result
;
31581 bool temp3
= false ;
31582 PyObject
* obj0
= 0 ;
31583 PyObject
* obj1
= 0 ;
31584 PyObject
* obj2
= 0 ;
31585 PyObject
* obj3
= 0 ;
31586 PyObject
* obj4
= 0 ;
31587 PyObject
* obj5
= 0 ;
31588 char *kwnames
[] = {
31589 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail
;
31596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31597 if (SWIG_arg_fail(2)) SWIG_fail
;
31598 if (arg2
== NULL
) {
31599 SWIG_null_ref("wxTreeItemId");
31601 if (SWIG_arg_fail(2)) SWIG_fail
;
31604 arg3
= wxString_in_helper(obj2
);
31605 if (arg3
== NULL
) SWIG_fail
;
31610 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31611 if (SWIG_arg_fail(4)) SWIG_fail
;
31616 arg5
= static_cast<int >(SWIG_As_int(obj4
));
31617 if (SWIG_arg_fail(5)) SWIG_fail
;
31621 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31622 if (SWIG_arg_fail(6)) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31632 wxTreeItemId
* resultptr
;
31633 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
31634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31650 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31651 PyObject
*resultobj
= NULL
;
31652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31653 wxTreeItemId
*arg2
= 0 ;
31654 PyObject
* obj0
= 0 ;
31655 PyObject
* obj1
= 0 ;
31656 char *kwnames
[] = {
31657 (char *) "self",(char *) "item", NULL
31660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31662 if (SWIG_arg_fail(1)) SWIG_fail
;
31664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31665 if (SWIG_arg_fail(2)) SWIG_fail
;
31666 if (arg2
== NULL
) {
31667 SWIG_null_ref("wxTreeItemId");
31669 if (SWIG_arg_fail(2)) SWIG_fail
;
31672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31673 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
31675 wxPyEndAllowThreads(__tstate
);
31676 if (PyErr_Occurred()) SWIG_fail
;
31678 Py_INCREF(Py_None
); resultobj
= Py_None
;
31685 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31686 PyObject
*resultobj
= NULL
;
31687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31688 wxTreeItemId
*arg2
= 0 ;
31689 PyObject
* obj0
= 0 ;
31690 PyObject
* obj1
= 0 ;
31691 char *kwnames
[] = {
31692 (char *) "self",(char *) "item", NULL
31695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
31696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31697 if (SWIG_arg_fail(1)) SWIG_fail
;
31699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31700 if (SWIG_arg_fail(2)) SWIG_fail
;
31701 if (arg2
== NULL
) {
31702 SWIG_null_ref("wxTreeItemId");
31704 if (SWIG_arg_fail(2)) SWIG_fail
;
31707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31708 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 Py_INCREF(Py_None
); resultobj
= Py_None
;
31720 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
= NULL
;
31722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31723 PyObject
* obj0
= 0 ;
31724 char *kwnames
[] = {
31725 (char *) "self", NULL
31728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
31729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31730 if (SWIG_arg_fail(1)) SWIG_fail
;
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 (arg1
)->DeleteAllItems();
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31738 Py_INCREF(Py_None
); resultobj
= Py_None
;
31745 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31746 PyObject
*resultobj
= NULL
;
31747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31748 wxTreeItemId
*arg2
= 0 ;
31749 PyObject
* obj0
= 0 ;
31750 PyObject
* obj1
= 0 ;
31751 char *kwnames
[] = {
31752 (char *) "self",(char *) "item", NULL
31755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
31756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31757 if (SWIG_arg_fail(1)) SWIG_fail
;
31759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31760 if (SWIG_arg_fail(2)) SWIG_fail
;
31761 if (arg2
== NULL
) {
31762 SWIG_null_ref("wxTreeItemId");
31764 if (SWIG_arg_fail(2)) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 Py_INCREF(Py_None
); resultobj
= Py_None
;
31780 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
= NULL
;
31782 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31783 wxTreeItemId
*arg2
= 0 ;
31784 PyObject
* obj0
= 0 ;
31785 PyObject
* obj1
= 0 ;
31786 char *kwnames
[] = {
31787 (char *) "self",(char *) "item", NULL
31790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
31791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31792 if (SWIG_arg_fail(1)) SWIG_fail
;
31794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31795 if (SWIG_arg_fail(2)) SWIG_fail
;
31796 if (arg2
== NULL
) {
31797 SWIG_null_ref("wxTreeItemId");
31799 if (SWIG_arg_fail(2)) SWIG_fail
;
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
31805 wxPyEndAllowThreads(__tstate
);
31806 if (PyErr_Occurred()) SWIG_fail
;
31808 Py_INCREF(Py_None
); resultobj
= Py_None
;
31815 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31816 PyObject
*resultobj
= NULL
;
31817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31818 wxTreeItemId
*arg2
= 0 ;
31819 PyObject
* obj0
= 0 ;
31820 PyObject
* obj1
= 0 ;
31821 char *kwnames
[] = {
31822 (char *) "self",(char *) "item", NULL
31825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
31826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31827 if (SWIG_arg_fail(1)) SWIG_fail
;
31829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31830 if (SWIG_arg_fail(2)) SWIG_fail
;
31831 if (arg2
== NULL
) {
31832 SWIG_null_ref("wxTreeItemId");
31834 if (SWIG_arg_fail(2)) SWIG_fail
;
31837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31838 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
31840 wxPyEndAllowThreads(__tstate
);
31841 if (PyErr_Occurred()) SWIG_fail
;
31843 Py_INCREF(Py_None
); resultobj
= Py_None
;
31850 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
= NULL
;
31852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31853 wxTreeItemId
*arg2
= 0 ;
31854 PyObject
* obj0
= 0 ;
31855 PyObject
* obj1
= 0 ;
31856 char *kwnames
[] = {
31857 (char *) "self",(char *) "item", NULL
31860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
31861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31862 if (SWIG_arg_fail(1)) SWIG_fail
;
31864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31865 if (SWIG_arg_fail(2)) SWIG_fail
;
31866 if (arg2
== NULL
) {
31867 SWIG_null_ref("wxTreeItemId");
31869 if (SWIG_arg_fail(2)) SWIG_fail
;
31872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31873 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
31875 wxPyEndAllowThreads(__tstate
);
31876 if (PyErr_Occurred()) SWIG_fail
;
31878 Py_INCREF(Py_None
); resultobj
= Py_None
;
31885 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31886 PyObject
*resultobj
= NULL
;
31887 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31888 PyObject
* obj0
= 0 ;
31889 char *kwnames
[] = {
31890 (char *) "self", NULL
31893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
31894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31895 if (SWIG_arg_fail(1)) SWIG_fail
;
31897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31898 (arg1
)->Unselect();
31900 wxPyEndAllowThreads(__tstate
);
31901 if (PyErr_Occurred()) SWIG_fail
;
31903 Py_INCREF(Py_None
); resultobj
= Py_None
;
31910 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31911 PyObject
*resultobj
= NULL
;
31912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31913 wxTreeItemId
*arg2
= 0 ;
31914 PyObject
* obj0
= 0 ;
31915 PyObject
* obj1
= 0 ;
31916 char *kwnames
[] = {
31917 (char *) "self",(char *) "item", NULL
31920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31922 if (SWIG_arg_fail(1)) SWIG_fail
;
31924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31925 if (SWIG_arg_fail(2)) SWIG_fail
;
31926 if (arg2
== NULL
) {
31927 SWIG_null_ref("wxTreeItemId");
31929 if (SWIG_arg_fail(2)) SWIG_fail
;
31932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31933 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
31935 wxPyEndAllowThreads(__tstate
);
31936 if (PyErr_Occurred()) SWIG_fail
;
31938 Py_INCREF(Py_None
); resultobj
= Py_None
;
31945 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31946 PyObject
*resultobj
= NULL
;
31947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31948 PyObject
* obj0
= 0 ;
31949 char *kwnames
[] = {
31950 (char *) "self", NULL
31953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
31954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31955 if (SWIG_arg_fail(1)) SWIG_fail
;
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 (arg1
)->UnselectAll();
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 Py_INCREF(Py_None
); resultobj
= Py_None
;
31970 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
= NULL
;
31972 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31973 wxTreeItemId
*arg2
= 0 ;
31974 bool arg3
= (bool) true ;
31975 PyObject
* obj0
= 0 ;
31976 PyObject
* obj1
= 0 ;
31977 PyObject
* obj2
= 0 ;
31978 char *kwnames
[] = {
31979 (char *) "self",(char *) "item",(char *) "select", NULL
31982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31984 if (SWIG_arg_fail(1)) SWIG_fail
;
31986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31987 if (SWIG_arg_fail(2)) SWIG_fail
;
31988 if (arg2
== NULL
) {
31989 SWIG_null_ref("wxTreeItemId");
31991 if (SWIG_arg_fail(2)) SWIG_fail
;
31995 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
31996 if (SWIG_arg_fail(3)) SWIG_fail
;
32000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32001 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
32003 wxPyEndAllowThreads(__tstate
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32006 Py_INCREF(Py_None
); resultobj
= Py_None
;
32013 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
= NULL
;
32015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32016 wxTreeItemId
*arg2
= 0 ;
32017 PyObject
* obj0
= 0 ;
32018 PyObject
* obj1
= 0 ;
32019 char *kwnames
[] = {
32020 (char *) "self",(char *) "item", NULL
32023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
32024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32025 if (SWIG_arg_fail(1)) SWIG_fail
;
32027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32028 if (SWIG_arg_fail(2)) SWIG_fail
;
32029 if (arg2
== NULL
) {
32030 SWIG_null_ref("wxTreeItemId");
32032 if (SWIG_arg_fail(2)) SWIG_fail
;
32035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32036 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
32038 wxPyEndAllowThreads(__tstate
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32041 Py_INCREF(Py_None
); resultobj
= Py_None
;
32048 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
= NULL
;
32050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32051 wxTreeItemId
*arg2
= 0 ;
32052 PyObject
* obj0
= 0 ;
32053 PyObject
* obj1
= 0 ;
32054 char *kwnames
[] = {
32055 (char *) "self",(char *) "item", NULL
32058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
32059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32060 if (SWIG_arg_fail(1)) SWIG_fail
;
32062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32063 if (SWIG_arg_fail(2)) SWIG_fail
;
32064 if (arg2
== NULL
) {
32065 SWIG_null_ref("wxTreeItemId");
32067 if (SWIG_arg_fail(2)) SWIG_fail
;
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32076 Py_INCREF(Py_None
); resultobj
= Py_None
;
32083 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
= NULL
;
32085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32086 wxTreeItemId
*arg2
= 0 ;
32087 PyObject
* obj0
= 0 ;
32088 PyObject
* obj1
= 0 ;
32089 char *kwnames
[] = {
32090 (char *) "self",(char *) "item", NULL
32093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
32094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32095 if (SWIG_arg_fail(1)) SWIG_fail
;
32097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32098 if (SWIG_arg_fail(2)) SWIG_fail
;
32099 if (arg2
== NULL
) {
32100 SWIG_null_ref("wxTreeItemId");
32102 if (SWIG_arg_fail(2)) SWIG_fail
;
32105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32106 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
32108 wxPyEndAllowThreads(__tstate
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32111 Py_INCREF(Py_None
); resultobj
= Py_None
;
32118 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
= NULL
;
32120 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32121 wxTreeItemId
*arg2
= 0 ;
32122 PyObject
* obj0
= 0 ;
32123 PyObject
* obj1
= 0 ;
32124 char *kwnames
[] = {
32125 (char *) "self",(char *) "item", NULL
32128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32130 if (SWIG_arg_fail(1)) SWIG_fail
;
32132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32133 if (SWIG_arg_fail(2)) SWIG_fail
;
32134 if (arg2
== NULL
) {
32135 SWIG_null_ref("wxTreeItemId");
32137 if (SWIG_arg_fail(2)) SWIG_fail
;
32140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32141 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
32143 wxPyEndAllowThreads(__tstate
);
32144 if (PyErr_Occurred()) SWIG_fail
;
32146 Py_INCREF(Py_None
); resultobj
= Py_None
;
32153 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32154 PyObject
*resultobj
= NULL
;
32155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32156 wxTextCtrl
*result
;
32157 PyObject
* obj0
= 0 ;
32158 char *kwnames
[] = {
32159 (char *) "self", NULL
32162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
32163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32164 if (SWIG_arg_fail(1)) SWIG_fail
;
32166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32167 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32173 resultobj
= wxPyMake_wxObject(result
, 0);
32181 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
= NULL
;
32183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32184 wxTreeItemId
*arg2
= 0 ;
32185 PyObject
* obj0
= 0 ;
32186 PyObject
* obj1
= 0 ;
32187 char *kwnames
[] = {
32188 (char *) "self",(char *) "item", NULL
32191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
32192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32193 if (SWIG_arg_fail(1)) SWIG_fail
;
32195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32196 if (SWIG_arg_fail(2)) SWIG_fail
;
32197 if (arg2
== NULL
) {
32198 SWIG_null_ref("wxTreeItemId");
32200 if (SWIG_arg_fail(2)) SWIG_fail
;
32203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32204 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
32206 wxPyEndAllowThreads(__tstate
);
32207 if (PyErr_Occurred()) SWIG_fail
;
32209 Py_INCREF(Py_None
); resultobj
= Py_None
;
32216 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32217 PyObject
*resultobj
= NULL
;
32218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32219 wxPoint
*arg2
= 0 ;
32221 wxTreeItemId result
;
32225 PyObject
* obj0
= 0 ;
32226 PyObject
* obj1
= 0 ;
32227 char *kwnames
[] = {
32228 (char *) "self",(char *) "point", NULL
32231 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
32233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32234 if (SWIG_arg_fail(1)) SWIG_fail
;
32237 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32241 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
32243 wxPyEndAllowThreads(__tstate
);
32244 if (PyErr_Occurred()) SWIG_fail
;
32247 wxTreeItemId
* resultptr
;
32248 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
32249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32251 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32252 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32259 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
= NULL
;
32261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32262 wxTreeItemId
*arg2
= 0 ;
32263 bool arg3
= (bool) false ;
32265 PyObject
* obj0
= 0 ;
32266 PyObject
* obj1
= 0 ;
32267 PyObject
* obj2
= 0 ;
32268 char *kwnames
[] = {
32269 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32274 if (SWIG_arg_fail(1)) SWIG_fail
;
32276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
32277 if (SWIG_arg_fail(2)) SWIG_fail
;
32278 if (arg2
== NULL
) {
32279 SWIG_null_ref("wxTreeItemId");
32281 if (SWIG_arg_fail(2)) SWIG_fail
;
32285 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
32286 if (SWIG_arg_fail(3)) SWIG_fail
;
32290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32291 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32296 resultobj
= result
;
32303 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32304 PyObject
*resultobj
= NULL
;
32305 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32306 wxVisualAttributes result
;
32307 PyObject
* obj0
= 0 ;
32308 char *kwnames
[] = {
32309 (char *) "variant", NULL
32312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32315 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
32316 if (SWIG_arg_fail(1)) SWIG_fail
;
32320 if (!wxPyCheckForApp()) SWIG_fail
;
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32328 wxVisualAttributes
* resultptr
;
32329 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
32330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32338 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
32340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32341 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
32343 return Py_BuildValue((char *)"");
32345 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
32346 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
32351 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
32352 PyObject
*pyobj
= NULL
;
32356 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
32358 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
32365 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32366 PyObject
*resultobj
= NULL
;
32367 wxWindow
*arg1
= (wxWindow
*) 0 ;
32368 int arg2
= (int) (int)-1 ;
32369 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
32370 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32375 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
32376 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32378 int arg8
= (int) 0 ;
32379 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
32380 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
32381 wxGenericDirCtrl
*result
;
32382 bool temp3
= false ;
32385 bool temp7
= false ;
32386 bool temp9
= false ;
32387 PyObject
* obj0
= 0 ;
32388 PyObject
* obj1
= 0 ;
32389 PyObject
* obj2
= 0 ;
32390 PyObject
* obj3
= 0 ;
32391 PyObject
* obj4
= 0 ;
32392 PyObject
* obj5
= 0 ;
32393 PyObject
* obj6
= 0 ;
32394 PyObject
* obj7
= 0 ;
32395 PyObject
* obj8
= 0 ;
32396 char *kwnames
[] = {
32397 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
32401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32402 if (SWIG_arg_fail(1)) SWIG_fail
;
32405 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
32406 if (SWIG_arg_fail(2)) SWIG_fail
;
32411 arg3
= wxString_in_helper(obj2
);
32412 if (arg3
== NULL
) SWIG_fail
;
32419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32430 arg6
= static_cast<long >(SWIG_As_long(obj5
));
32431 if (SWIG_arg_fail(6)) SWIG_fail
;
32436 arg7
= wxString_in_helper(obj6
);
32437 if (arg7
== NULL
) SWIG_fail
;
32443 arg8
= static_cast<int >(SWIG_As_int(obj7
));
32444 if (SWIG_arg_fail(8)) SWIG_fail
;
32449 arg9
= wxString_in_helper(obj8
);
32450 if (arg9
== NULL
) SWIG_fail
;
32455 if (!wxPyCheckForApp()) SWIG_fail
;
32456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32457 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
32459 wxPyEndAllowThreads(__tstate
);
32460 if (PyErr_Occurred()) SWIG_fail
;
32462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
32493 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
= NULL
;
32495 wxGenericDirCtrl
*result
;
32496 char *kwnames
[] = {
32500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
32502 if (!wxPyCheckForApp()) SWIG_fail
;
32503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
32506 wxPyEndAllowThreads(__tstate
);
32507 if (PyErr_Occurred()) SWIG_fail
;
32509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
32516 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32517 PyObject
*resultobj
= NULL
;
32518 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32519 wxWindow
*arg2
= (wxWindow
*) 0 ;
32520 int arg3
= (int) (int)-1 ;
32521 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
32522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32523 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
32524 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
32525 wxSize
const &arg6_defvalue
= wxDefaultSize
;
32526 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
32527 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
32528 wxString
const &arg8_defvalue
= wxPyEmptyString
;
32529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32530 int arg9
= (int) 0 ;
32531 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
32532 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
32534 bool temp4
= false ;
32537 bool temp8
= false ;
32538 bool temp10
= false ;
32539 PyObject
* obj0
= 0 ;
32540 PyObject
* obj1
= 0 ;
32541 PyObject
* obj2
= 0 ;
32542 PyObject
* obj3
= 0 ;
32543 PyObject
* obj4
= 0 ;
32544 PyObject
* obj5
= 0 ;
32545 PyObject
* obj6
= 0 ;
32546 PyObject
* obj7
= 0 ;
32547 PyObject
* obj8
= 0 ;
32548 PyObject
* obj9
= 0 ;
32549 char *kwnames
[] = {
32550 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
32554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32555 if (SWIG_arg_fail(1)) SWIG_fail
;
32556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32557 if (SWIG_arg_fail(2)) SWIG_fail
;
32560 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
32561 if (SWIG_arg_fail(3)) SWIG_fail
;
32566 arg4
= wxString_in_helper(obj3
);
32567 if (arg4
== NULL
) SWIG_fail
;
32574 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
32580 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
32585 arg7
= static_cast<long >(SWIG_As_long(obj6
));
32586 if (SWIG_arg_fail(7)) SWIG_fail
;
32591 arg8
= wxString_in_helper(obj7
);
32592 if (arg8
== NULL
) SWIG_fail
;
32598 arg9
= static_cast<int >(SWIG_As_int(obj8
));
32599 if (SWIG_arg_fail(9)) SWIG_fail
;
32604 arg10
= wxString_in_helper(obj9
);
32605 if (arg10
== NULL
) SWIG_fail
;
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
32613 wxPyEndAllowThreads(__tstate
);
32614 if (PyErr_Occurred()) SWIG_fail
;
32617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32649 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32650 PyObject
*resultobj
= NULL
;
32651 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32652 wxString
*arg2
= 0 ;
32654 bool temp2
= false ;
32655 PyObject
* obj0
= 0 ;
32656 PyObject
* obj1
= 0 ;
32657 char *kwnames
[] = {
32658 (char *) "self",(char *) "path", NULL
32661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32663 if (SWIG_arg_fail(1)) SWIG_fail
;
32665 arg2
= wxString_in_helper(obj1
);
32666 if (arg2
== NULL
) SWIG_fail
;
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
32673 wxPyEndAllowThreads(__tstate
);
32674 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32693 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32694 PyObject
*resultobj
= NULL
;
32695 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32697 PyObject
* obj0
= 0 ;
32698 char *kwnames
[] = {
32699 (char *) "self", NULL
32702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
32703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32704 if (SWIG_arg_fail(1)) SWIG_fail
;
32706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32707 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
32709 wxPyEndAllowThreads(__tstate
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32725 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32726 PyObject
*resultobj
= NULL
;
32727 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32728 wxString
*arg2
= 0 ;
32729 bool temp2
= false ;
32730 PyObject
* obj0
= 0 ;
32731 PyObject
* obj1
= 0 ;
32732 char *kwnames
[] = {
32733 (char *) "self",(char *) "path", NULL
32736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32738 if (SWIG_arg_fail(1)) SWIG_fail
;
32740 arg2
= wxString_in_helper(obj1
);
32741 if (arg2
== NULL
) SWIG_fail
;
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32746 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32751 Py_INCREF(Py_None
); resultobj
= Py_None
;
32766 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32767 PyObject
*resultobj
= NULL
;
32768 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32770 PyObject
* obj0
= 0 ;
32771 char *kwnames
[] = {
32772 (char *) "self", NULL
32775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
32776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32777 if (SWIG_arg_fail(1)) SWIG_fail
;
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32798 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32799 PyObject
*resultobj
= NULL
;
32800 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32802 PyObject
* obj0
= 0 ;
32803 char *kwnames
[] = {
32804 (char *) "self", NULL
32807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
32808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32809 if (SWIG_arg_fail(1)) SWIG_fail
;
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32812 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
32814 wxPyEndAllowThreads(__tstate
);
32815 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32830 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32831 PyObject
*resultobj
= NULL
;
32832 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32833 wxString
*arg2
= 0 ;
32834 bool temp2
= false ;
32835 PyObject
* obj0
= 0 ;
32836 PyObject
* obj1
= 0 ;
32837 char *kwnames
[] = {
32838 (char *) "self",(char *) "path", NULL
32841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
32842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32843 if (SWIG_arg_fail(1)) SWIG_fail
;
32845 arg2
= wxString_in_helper(obj1
);
32846 if (arg2
== NULL
) SWIG_fail
;
32850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32851 (arg1
)->SetPath((wxString
const &)*arg2
);
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32856 Py_INCREF(Py_None
); resultobj
= Py_None
;
32871 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32872 PyObject
*resultobj
= NULL
;
32873 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32875 PyObject
* obj0
= 0 ;
32876 PyObject
* obj1
= 0 ;
32877 char *kwnames
[] = {
32878 (char *) "self",(char *) "show", NULL
32881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
32882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32883 if (SWIG_arg_fail(1)) SWIG_fail
;
32885 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
32886 if (SWIG_arg_fail(2)) SWIG_fail
;
32889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32890 (arg1
)->ShowHidden(arg2
);
32892 wxPyEndAllowThreads(__tstate
);
32893 if (PyErr_Occurred()) SWIG_fail
;
32895 Py_INCREF(Py_None
); resultobj
= Py_None
;
32902 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(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_GetShowHidden",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
= (bool)(arg1
)->GetShowHidden();
32918 wxPyEndAllowThreads(__tstate
);
32919 if (PyErr_Occurred()) SWIG_fail
;
32922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32930 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32931 PyObject
*resultobj
= NULL
;
32932 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32934 PyObject
* obj0
= 0 ;
32935 char *kwnames
[] = {
32936 (char *) "self", NULL
32939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
32940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32941 if (SWIG_arg_fail(1)) SWIG_fail
;
32943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32944 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
32946 wxPyEndAllowThreads(__tstate
);
32947 if (PyErr_Occurred()) SWIG_fail
;
32951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32962 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32963 PyObject
*resultobj
= NULL
;
32964 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32965 wxString
*arg2
= 0 ;
32966 bool temp2
= false ;
32967 PyObject
* obj0
= 0 ;
32968 PyObject
* obj1
= 0 ;
32969 char *kwnames
[] = {
32970 (char *) "self",(char *) "filter", NULL
32973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
32974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32975 if (SWIG_arg_fail(1)) SWIG_fail
;
32977 arg2
= wxString_in_helper(obj1
);
32978 if (arg2
== NULL
) SWIG_fail
;
32982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32983 (arg1
)->SetFilter((wxString
const &)*arg2
);
32985 wxPyEndAllowThreads(__tstate
);
32986 if (PyErr_Occurred()) SWIG_fail
;
32988 Py_INCREF(Py_None
); resultobj
= Py_None
;
33003 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33004 PyObject
*resultobj
= NULL
;
33005 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33007 PyObject
* obj0
= 0 ;
33008 char *kwnames
[] = {
33009 (char *) "self", NULL
33012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
33013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33014 if (SWIG_arg_fail(1)) SWIG_fail
;
33016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33017 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33023 resultobj
= SWIG_From_int(static_cast<int >(result
));
33031 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33032 PyObject
*resultobj
= NULL
;
33033 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33035 PyObject
* obj0
= 0 ;
33036 PyObject
* obj1
= 0 ;
33037 char *kwnames
[] = {
33038 (char *) "self",(char *) "n", NULL
33041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
33042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33043 if (SWIG_arg_fail(1)) SWIG_fail
;
33045 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33046 if (SWIG_arg_fail(2)) SWIG_fail
;
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 (arg1
)->SetFilterIndex(arg2
);
33052 wxPyEndAllowThreads(__tstate
);
33053 if (PyErr_Occurred()) SWIG_fail
;
33055 Py_INCREF(Py_None
); resultobj
= Py_None
;
33062 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
= NULL
;
33064 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33065 wxTreeItemId result
;
33066 PyObject
* obj0
= 0 ;
33067 char *kwnames
[] = {
33068 (char *) "self", NULL
33071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
33072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33073 if (SWIG_arg_fail(1)) SWIG_fail
;
33075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33076 result
= (arg1
)->GetRootId();
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33082 wxTreeItemId
* resultptr
;
33083 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
33084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
33092 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33093 PyObject
*resultobj
= NULL
;
33094 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33095 wxPyTreeCtrl
*result
;
33096 PyObject
* obj0
= 0 ;
33097 char *kwnames
[] = {
33098 (char *) "self", NULL
33101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
33102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33103 if (SWIG_arg_fail(1)) SWIG_fail
;
33105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33106 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33112 resultobj
= wxPyMake_wxObject(result
, 0);
33120 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33121 PyObject
*resultobj
= NULL
;
33122 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33123 wxDirFilterListCtrl
*result
;
33124 PyObject
* obj0
= 0 ;
33125 char *kwnames
[] = {
33126 (char *) "self", NULL
33129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
33130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33131 if (SWIG_arg_fail(1)) SWIG_fail
;
33133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
33136 wxPyEndAllowThreads(__tstate
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
33146 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33147 PyObject
*resultobj
= NULL
;
33148 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33149 wxTreeItemId arg2
;
33150 wxString
*arg3
= 0 ;
33152 wxTreeItemId result
;
33153 bool temp3
= false ;
33156 PyObject
* obj0
= 0 ;
33157 PyObject
* obj1
= 0 ;
33158 PyObject
* obj2
= 0 ;
33159 char *kwnames
[] = {
33160 (char *) "self",(char *) "parentId",(char *) "path", NULL
33163 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
33164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33166 if (SWIG_arg_fail(1)) SWIG_fail
;
33168 wxTreeItemId
* argp
;
33169 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
33170 if (SWIG_arg_fail(2)) SWIG_fail
;
33171 if (argp
== NULL
) {
33172 SWIG_null_ref("wxTreeItemId");
33174 if (SWIG_arg_fail(2)) SWIG_fail
;
33178 arg3
= wxString_in_helper(obj2
);
33179 if (arg3
== NULL
) SWIG_fail
;
33183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
33186 wxPyEndAllowThreads(__tstate
);
33187 if (PyErr_Occurred()) SWIG_fail
;
33190 wxTreeItemId
* resultptr
;
33191 resultptr
= new wxTreeItemId(static_cast<wxTreeItemId
& >(result
));
33192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
33194 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
33195 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
33210 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33211 PyObject
*resultobj
= NULL
;
33212 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33213 PyObject
* obj0
= 0 ;
33214 char *kwnames
[] = {
33215 (char *) "self", NULL
33218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
33219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33220 if (SWIG_arg_fail(1)) SWIG_fail
;
33222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33223 (arg1
)->DoResize();
33225 wxPyEndAllowThreads(__tstate
);
33226 if (PyErr_Occurred()) SWIG_fail
;
33228 Py_INCREF(Py_None
); resultobj
= Py_None
;
33235 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33236 PyObject
*resultobj
= NULL
;
33237 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33238 PyObject
* obj0
= 0 ;
33239 char *kwnames
[] = {
33240 (char *) "self", NULL
33243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
33244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33245 if (SWIG_arg_fail(1)) SWIG_fail
;
33247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33248 (arg1
)->ReCreateTree();
33250 wxPyEndAllowThreads(__tstate
);
33251 if (PyErr_Occurred()) SWIG_fail
;
33253 Py_INCREF(Py_None
); resultobj
= Py_None
;
33260 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
33262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33263 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
33265 return Py_BuildValue((char *)"");
33267 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33268 PyObject
*resultobj
= NULL
;
33269 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
33270 int arg2
= (int) (int)-1 ;
33271 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33272 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33273 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33274 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33275 long arg5
= (long) 0 ;
33276 wxDirFilterListCtrl
*result
;
33279 PyObject
* obj0
= 0 ;
33280 PyObject
* obj1
= 0 ;
33281 PyObject
* obj2
= 0 ;
33282 PyObject
* obj3
= 0 ;
33283 PyObject
* obj4
= 0 ;
33284 char *kwnames
[] = {
33285 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33290 if (SWIG_arg_fail(1)) SWIG_fail
;
33293 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
33294 if (SWIG_arg_fail(2)) SWIG_fail
;
33300 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33306 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33311 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33312 if (SWIG_arg_fail(5)) SWIG_fail
;
33316 if (!wxPyCheckForApp()) SWIG_fail
;
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33318 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33320 wxPyEndAllowThreads(__tstate
);
33321 if (PyErr_Occurred()) SWIG_fail
;
33323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
33330 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33331 PyObject
*resultobj
= NULL
;
33332 wxDirFilterListCtrl
*result
;
33333 char *kwnames
[] = {
33337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
33339 if (!wxPyCheckForApp()) SWIG_fail
;
33340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33341 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
33343 wxPyEndAllowThreads(__tstate
);
33344 if (PyErr_Occurred()) SWIG_fail
;
33346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
33353 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33354 PyObject
*resultobj
= NULL
;
33355 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
33356 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
33357 int arg3
= (int) (int)-1 ;
33358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33362 long arg6
= (long) 0 ;
33366 PyObject
* obj0
= 0 ;
33367 PyObject
* obj1
= 0 ;
33368 PyObject
* obj2
= 0 ;
33369 PyObject
* obj3
= 0 ;
33370 PyObject
* obj4
= 0 ;
33371 PyObject
* obj5
= 0 ;
33372 char *kwnames
[] = {
33373 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33378 if (SWIG_arg_fail(1)) SWIG_fail
;
33379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33380 if (SWIG_arg_fail(2)) SWIG_fail
;
33383 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
33384 if (SWIG_arg_fail(3)) SWIG_fail
;
33390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33401 arg6
= static_cast<long >(SWIG_As_long(obj5
));
33402 if (SWIG_arg_fail(6)) SWIG_fail
;
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
33409 wxPyEndAllowThreads(__tstate
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33421 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33422 PyObject
*resultobj
= NULL
;
33423 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
33424 wxString
*arg2
= 0 ;
33426 bool temp2
= false ;
33427 PyObject
* obj0
= 0 ;
33428 PyObject
* obj1
= 0 ;
33429 PyObject
* obj2
= 0 ;
33430 char *kwnames
[] = {
33431 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33436 if (SWIG_arg_fail(1)) SWIG_fail
;
33438 arg2
= wxString_in_helper(obj1
);
33439 if (arg2
== NULL
) SWIG_fail
;
33443 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33444 if (SWIG_arg_fail(3)) SWIG_fail
;
33447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33448 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
33450 wxPyEndAllowThreads(__tstate
);
33451 if (PyErr_Occurred()) SWIG_fail
;
33453 Py_INCREF(Py_None
); resultobj
= Py_None
;
33468 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
33470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33471 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
33473 return Py_BuildValue((char *)"");
33475 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33476 PyObject
*resultobj
= NULL
;
33477 wxWindow
*arg1
= (wxWindow
*) 0 ;
33478 int arg2
= (int) (int)-1 ;
33479 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33480 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33481 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33482 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33483 long arg5
= (long) 0 ;
33484 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33485 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33486 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33487 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33488 wxPyControl
*result
;
33491 bool temp7
= false ;
33492 PyObject
* obj0
= 0 ;
33493 PyObject
* obj1
= 0 ;
33494 PyObject
* obj2
= 0 ;
33495 PyObject
* obj3
= 0 ;
33496 PyObject
* obj4
= 0 ;
33497 PyObject
* obj5
= 0 ;
33498 PyObject
* obj6
= 0 ;
33499 char *kwnames
[] = {
33500 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33505 if (SWIG_arg_fail(1)) SWIG_fail
;
33508 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
33509 if (SWIG_arg_fail(2)) SWIG_fail
;
33515 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33521 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33526 arg5
= static_cast<long >(SWIG_As_long(obj4
));
33527 if (SWIG_arg_fail(5)) SWIG_fail
;
33532 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33533 if (SWIG_arg_fail(6)) SWIG_fail
;
33534 if (arg6
== NULL
) {
33535 SWIG_null_ref("wxValidator");
33537 if (SWIG_arg_fail(6)) SWIG_fail
;
33542 arg7
= wxString_in_helper(obj6
);
33543 if (arg7
== NULL
) SWIG_fail
;
33548 if (!wxPyCheckForApp()) SWIG_fail
;
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
33570 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33571 PyObject
*resultobj
= NULL
;
33572 wxPyControl
*result
;
33573 char *kwnames
[] = {
33577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
33579 if (!wxPyCheckForApp()) SWIG_fail
;
33580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33581 result
= (wxPyControl
*)new wxPyControl();
33583 wxPyEndAllowThreads(__tstate
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
33593 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33594 PyObject
*resultobj
= NULL
;
33595 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33596 PyObject
*arg2
= (PyObject
*) 0 ;
33597 PyObject
*arg3
= (PyObject
*) 0 ;
33598 PyObject
* obj0
= 0 ;
33599 PyObject
* obj1
= 0 ;
33600 PyObject
* obj2
= 0 ;
33601 char *kwnames
[] = {
33602 (char *) "self",(char *) "self",(char *) "_class", NULL
33605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33607 if (SWIG_arg_fail(1)) SWIG_fail
;
33611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33612 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33614 wxPyEndAllowThreads(__tstate
);
33615 if (PyErr_Occurred()) SWIG_fail
;
33617 Py_INCREF(Py_None
); resultobj
= Py_None
;
33624 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33625 PyObject
*resultobj
= NULL
;
33626 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33629 PyObject
* obj0
= 0 ;
33630 PyObject
* obj1
= 0 ;
33631 char *kwnames
[] = {
33632 (char *) "self",(char *) "size", NULL
33635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33637 if (SWIG_arg_fail(1)) SWIG_fail
;
33640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
33646 wxPyEndAllowThreads(__tstate
);
33647 if (PyErr_Occurred()) SWIG_fail
;
33649 Py_INCREF(Py_None
); resultobj
= Py_None
;
33656 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33657 PyObject
*resultobj
= NULL
;
33658 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33659 wxDC
*arg2
= (wxDC
*) 0 ;
33661 PyObject
* obj0
= 0 ;
33662 PyObject
* obj1
= 0 ;
33663 char *kwnames
[] = {
33664 (char *) "self",(char *) "dc", NULL
33667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
33668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33669 if (SWIG_arg_fail(1)) SWIG_fail
;
33670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33671 if (SWIG_arg_fail(2)) SWIG_fail
;
33673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33674 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
33676 wxPyEndAllowThreads(__tstate
);
33677 if (PyErr_Occurred()) SWIG_fail
;
33680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33688 static PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33689 PyObject
*resultobj
= NULL
;
33690 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33695 PyObject
* obj0
= 0 ;
33696 PyObject
* obj1
= 0 ;
33697 PyObject
* obj2
= 0 ;
33698 PyObject
* obj3
= 0 ;
33699 PyObject
* obj4
= 0 ;
33700 char *kwnames
[] = {
33701 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33706 if (SWIG_arg_fail(1)) SWIG_fail
;
33708 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33709 if (SWIG_arg_fail(2)) SWIG_fail
;
33712 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33713 if (SWIG_arg_fail(3)) SWIG_fail
;
33716 arg4
= static_cast<int >(SWIG_As_int(obj3
));
33717 if (SWIG_arg_fail(4)) SWIG_fail
;
33720 arg5
= static_cast<int >(SWIG_As_int(obj4
));
33721 if (SWIG_arg_fail(5)) SWIG_fail
;
33724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33725 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
33727 wxPyEndAllowThreads(__tstate
);
33728 if (PyErr_Occurred()) SWIG_fail
;
33730 Py_INCREF(Py_None
); resultobj
= Py_None
;
33737 static PyObject
*_wrap_PyControl_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33738 PyObject
*resultobj
= NULL
;
33739 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33744 int arg6
= (int) wxSIZE_AUTO
;
33745 PyObject
* obj0
= 0 ;
33746 PyObject
* obj1
= 0 ;
33747 PyObject
* obj2
= 0 ;
33748 PyObject
* obj3
= 0 ;
33749 PyObject
* obj4
= 0 ;
33750 PyObject
* obj5
= 0 ;
33751 char *kwnames
[] = {
33752 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33757 if (SWIG_arg_fail(1)) SWIG_fail
;
33759 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33760 if (SWIG_arg_fail(2)) SWIG_fail
;
33763 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33764 if (SWIG_arg_fail(3)) SWIG_fail
;
33767 arg4
= static_cast<int >(SWIG_As_int(obj3
));
33768 if (SWIG_arg_fail(4)) SWIG_fail
;
33771 arg5
= static_cast<int >(SWIG_As_int(obj4
));
33772 if (SWIG_arg_fail(5)) SWIG_fail
;
33776 arg6
= static_cast<int >(SWIG_As_int(obj5
));
33777 if (SWIG_arg_fail(6)) SWIG_fail
;
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33787 Py_INCREF(Py_None
); resultobj
= Py_None
;
33794 static PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33795 PyObject
*resultobj
= NULL
;
33796 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33799 PyObject
* obj0
= 0 ;
33800 PyObject
* obj1
= 0 ;
33801 PyObject
* obj2
= 0 ;
33802 char *kwnames
[] = {
33803 (char *) "self",(char *) "width",(char *) "height", NULL
33806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33808 if (SWIG_arg_fail(1)) SWIG_fail
;
33810 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33811 if (SWIG_arg_fail(2)) SWIG_fail
;
33814 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33815 if (SWIG_arg_fail(3)) SWIG_fail
;
33818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33819 (arg1
)->DoSetClientSize(arg2
,arg3
);
33821 wxPyEndAllowThreads(__tstate
);
33822 if (PyErr_Occurred()) SWIG_fail
;
33824 Py_INCREF(Py_None
); resultobj
= Py_None
;
33831 static PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33832 PyObject
*resultobj
= NULL
;
33833 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33836 PyObject
* obj0
= 0 ;
33837 PyObject
* obj1
= 0 ;
33838 PyObject
* obj2
= 0 ;
33839 char *kwnames
[] = {
33840 (char *) "self",(char *) "x",(char *) "y", NULL
33843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33845 if (SWIG_arg_fail(1)) SWIG_fail
;
33847 arg2
= static_cast<int >(SWIG_As_int(obj1
));
33848 if (SWIG_arg_fail(2)) SWIG_fail
;
33851 arg3
= static_cast<int >(SWIG_As_int(obj2
));
33852 if (SWIG_arg_fail(3)) SWIG_fail
;
33855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33856 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
33858 wxPyEndAllowThreads(__tstate
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33861 Py_INCREF(Py_None
); resultobj
= Py_None
;
33868 static PyObject
*_wrap_PyControl_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
= NULL
;
33870 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33871 int *arg2
= (int *) 0 ;
33872 int *arg3
= (int *) 0 ;
33877 PyObject
* obj0
= 0 ;
33878 char *kwnames
[] = {
33879 (char *) "self", NULL
33882 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
33883 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
33884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetSize",kwnames
,&obj0
)) goto fail
;
33885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33886 if (SWIG_arg_fail(1)) SWIG_fail
;
33888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33889 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
33891 wxPyEndAllowThreads(__tstate
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 Py_INCREF(Py_None
); resultobj
= Py_None
;
33895 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
33896 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
33897 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
33898 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
33905 static PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33906 PyObject
*resultobj
= NULL
;
33907 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33908 int *arg2
= (int *) 0 ;
33909 int *arg3
= (int *) 0 ;
33914 PyObject
* obj0
= 0 ;
33915 char *kwnames
[] = {
33916 (char *) "self", NULL
33919 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
33920 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
33921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
33922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33923 if (SWIG_arg_fail(1)) SWIG_fail
;
33925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33926 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
33928 wxPyEndAllowThreads(__tstate
);
33929 if (PyErr_Occurred()) SWIG_fail
;
33931 Py_INCREF(Py_None
); resultobj
= Py_None
;
33932 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
33933 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
33934 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
33935 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
33942 static PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33943 PyObject
*resultobj
= NULL
;
33944 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33945 int *arg2
= (int *) 0 ;
33946 int *arg3
= (int *) 0 ;
33951 PyObject
* obj0
= 0 ;
33952 char *kwnames
[] = {
33953 (char *) "self", NULL
33956 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
33957 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
33958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetPosition",kwnames
,&obj0
)) goto fail
;
33959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33960 if (SWIG_arg_fail(1)) SWIG_fail
;
33962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33963 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
33965 wxPyEndAllowThreads(__tstate
);
33966 if (PyErr_Occurred()) SWIG_fail
;
33968 Py_INCREF(Py_None
); resultobj
= Py_None
;
33969 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
33970 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
33971 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
33972 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
33979 static PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33980 PyObject
*resultobj
= NULL
;
33981 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33983 PyObject
* obj0
= 0 ;
33984 char *kwnames
[] = {
33985 (char *) "self", NULL
33988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
33989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33990 if (SWIG_arg_fail(1)) SWIG_fail
;
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
33995 wxPyEndAllowThreads(__tstate
);
33996 if (PyErr_Occurred()) SWIG_fail
;
33999 wxSize
* resultptr
;
34000 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34009 static PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34010 PyObject
*resultobj
= NULL
;
34011 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34013 PyObject
* obj0
= 0 ;
34014 char *kwnames
[] = {
34015 (char *) "self", NULL
34018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
34019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34020 if (SWIG_arg_fail(1)) SWIG_fail
;
34022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34023 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
34025 wxPyEndAllowThreads(__tstate
);
34026 if (PyErr_Occurred()) SWIG_fail
;
34029 wxSize
* resultptr
;
34030 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34039 static PyObject
*_wrap_PyControl_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34040 PyObject
*resultobj
= NULL
;
34041 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34042 PyObject
* obj0
= 0 ;
34043 char *kwnames
[] = {
34044 (char *) "self", NULL
34047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_InitDialog",kwnames
,&obj0
)) goto fail
;
34048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34049 if (SWIG_arg_fail(1)) SWIG_fail
;
34051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34052 (arg1
)->InitDialog();
34054 wxPyEndAllowThreads(__tstate
);
34055 if (PyErr_Occurred()) SWIG_fail
;
34057 Py_INCREF(Py_None
); resultobj
= Py_None
;
34064 static PyObject
*_wrap_PyControl_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34065 PyObject
*resultobj
= NULL
;
34066 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34068 PyObject
* obj0
= 0 ;
34069 char *kwnames
[] = {
34070 (char *) "self", NULL
34073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
34074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34075 if (SWIG_arg_fail(1)) SWIG_fail
;
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 result
= (bool)(arg1
)->TransferDataToWindow();
34080 wxPyEndAllowThreads(__tstate
);
34081 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34092 static PyObject
*_wrap_PyControl_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34093 PyObject
*resultobj
= NULL
;
34094 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34096 PyObject
* obj0
= 0 ;
34097 char *kwnames
[] = {
34098 (char *) "self", NULL
34101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
34102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail
;
34105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34106 result
= (bool)(arg1
)->TransferDataFromWindow();
34108 wxPyEndAllowThreads(__tstate
);
34109 if (PyErr_Occurred()) SWIG_fail
;
34112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34120 static PyObject
*_wrap_PyControl_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34121 PyObject
*resultobj
= NULL
;
34122 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34124 PyObject
* obj0
= 0 ;
34125 char *kwnames
[] = {
34126 (char *) "self", NULL
34129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_Validate",kwnames
,&obj0
)) goto fail
;
34130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34131 if (SWIG_arg_fail(1)) SWIG_fail
;
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34134 result
= (bool)(arg1
)->Validate();
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34148 static PyObject
*_wrap_PyControl_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34149 PyObject
*resultobj
= NULL
;
34150 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34152 PyObject
* obj0
= 0 ;
34153 char *kwnames
[] = {
34154 (char *) "self", NULL
34157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
34158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34159 if (SWIG_arg_fail(1)) SWIG_fail
;
34161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34162 result
= (bool)((wxPyControl
const *)arg1
)->AcceptsFocus();
34164 wxPyEndAllowThreads(__tstate
);
34165 if (PyErr_Occurred()) SWIG_fail
;
34168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34176 static PyObject
*_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34177 PyObject
*resultobj
= NULL
;
34178 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34180 PyObject
* obj0
= 0 ;
34181 char *kwnames
[] = {
34182 (char *) "self", NULL
34185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
34186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34187 if (SWIG_arg_fail(1)) SWIG_fail
;
34189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34190 result
= (bool)((wxPyControl
const *)arg1
)->AcceptsFocusFromKeyboard();
34192 wxPyEndAllowThreads(__tstate
);
34193 if (PyErr_Occurred()) SWIG_fail
;
34196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34204 static PyObject
*_wrap_PyControl_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34205 PyObject
*resultobj
= NULL
;
34206 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34208 PyObject
* obj0
= 0 ;
34209 char *kwnames
[] = {
34210 (char *) "self", NULL
34213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_GetMaxSize",kwnames
,&obj0
)) goto fail
;
34214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34215 if (SWIG_arg_fail(1)) SWIG_fail
;
34217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34218 result
= ((wxPyControl
const *)arg1
)->GetMaxSize();
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34224 wxSize
* resultptr
;
34225 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
34226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34234 static PyObject
*_wrap_PyControl_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34235 PyObject
*resultobj
= NULL
;
34236 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34237 wxWindow
*arg2
= (wxWindow
*) 0 ;
34238 PyObject
* obj0
= 0 ;
34239 PyObject
* obj1
= 0 ;
34240 char *kwnames
[] = {
34241 (char *) "self",(char *) "child", NULL
34244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
34245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34246 if (SWIG_arg_fail(1)) SWIG_fail
;
34247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34248 if (SWIG_arg_fail(2)) SWIG_fail
;
34250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34251 (arg1
)->AddChild(arg2
);
34253 wxPyEndAllowThreads(__tstate
);
34254 if (PyErr_Occurred()) SWIG_fail
;
34256 Py_INCREF(Py_None
); resultobj
= Py_None
;
34263 static PyObject
*_wrap_PyControl_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34264 PyObject
*resultobj
= NULL
;
34265 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34266 wxWindow
*arg2
= (wxWindow
*) 0 ;
34267 PyObject
* obj0
= 0 ;
34268 PyObject
* obj1
= 0 ;
34269 char *kwnames
[] = {
34270 (char *) "self",(char *) "child", NULL
34273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
34274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34275 if (SWIG_arg_fail(1)) SWIG_fail
;
34276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34277 if (SWIG_arg_fail(2)) SWIG_fail
;
34279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34280 (arg1
)->RemoveChild(arg2
);
34282 wxPyEndAllowThreads(__tstate
);
34283 if (PyErr_Occurred()) SWIG_fail
;
34285 Py_INCREF(Py_None
); resultobj
= Py_None
;
34292 static PyObject
*_wrap_PyControl_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34293 PyObject
*resultobj
= NULL
;
34294 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34296 PyObject
* obj0
= 0 ;
34297 char *kwnames
[] = {
34298 (char *) "self", NULL
34301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
34302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34303 if (SWIG_arg_fail(1)) SWIG_fail
;
34305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34306 result
= (bool)((wxPyControl
const *)arg1
)->ShouldInheritColours();
34308 wxPyEndAllowThreads(__tstate
);
34309 if (PyErr_Occurred()) SWIG_fail
;
34312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34320 static PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34321 PyObject
*resultobj
= NULL
;
34322 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34323 wxVisualAttributes result
;
34324 PyObject
* obj0
= 0 ;
34325 char *kwnames
[] = {
34326 (char *) "self", NULL
34329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34331 if (SWIG_arg_fail(1)) SWIG_fail
;
34333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34334 result
= (arg1
)->GetDefaultAttributes();
34336 wxPyEndAllowThreads(__tstate
);
34337 if (PyErr_Occurred()) SWIG_fail
;
34340 wxVisualAttributes
* resultptr
;
34341 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
34342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34350 static PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
= NULL
;
34352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
34353 PyObject
* obj0
= 0 ;
34354 char *kwnames
[] = {
34355 (char *) "self", NULL
34358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
34359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail
;
34362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34363 (arg1
)->OnInternalIdle();
34365 wxPyEndAllowThreads(__tstate
);
34366 if (PyErr_Occurred()) SWIG_fail
;
34368 Py_INCREF(Py_None
); resultobj
= Py_None
;
34375 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
34377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34378 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
34380 return Py_BuildValue((char *)"");
34382 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34383 PyObject
*resultobj
= NULL
;
34384 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
34385 int arg2
= (int) 0 ;
34386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34388 wxHelpEvent
*result
;
34390 PyObject
* obj0
= 0 ;
34391 PyObject
* obj1
= 0 ;
34392 PyObject
* obj2
= 0 ;
34393 char *kwnames
[] = {
34394 (char *) "type",(char *) "winid",(char *) "pt", NULL
34397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34400 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
34401 if (SWIG_arg_fail(1)) SWIG_fail
;
34406 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34407 if (SWIG_arg_fail(2)) SWIG_fail
;
34413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34418 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
34420 wxPyEndAllowThreads(__tstate
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
34430 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34431 PyObject
*resultobj
= NULL
;
34432 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34434 PyObject
* obj0
= 0 ;
34435 char *kwnames
[] = {
34436 (char *) "self", NULL
34439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
34440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34441 if (SWIG_arg_fail(1)) SWIG_fail
;
34443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34444 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
34446 wxPyEndAllowThreads(__tstate
);
34447 if (PyErr_Occurred()) SWIG_fail
;
34450 wxPoint
* resultptr
;
34451 resultptr
= new wxPoint(static_cast<wxPoint
const & >(result
));
34452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34460 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34461 PyObject
*resultobj
= NULL
;
34462 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34463 wxPoint
*arg2
= 0 ;
34465 PyObject
* obj0
= 0 ;
34466 PyObject
* obj1
= 0 ;
34467 char *kwnames
[] = {
34468 (char *) "self",(char *) "pos", NULL
34471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34473 if (SWIG_arg_fail(1)) SWIG_fail
;
34476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34480 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
34482 wxPyEndAllowThreads(__tstate
);
34483 if (PyErr_Occurred()) SWIG_fail
;
34485 Py_INCREF(Py_None
); resultobj
= Py_None
;
34492 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34493 PyObject
*resultobj
= NULL
;
34494 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34496 PyObject
* obj0
= 0 ;
34497 char *kwnames
[] = {
34498 (char *) "self", NULL
34501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
34502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34503 if (SWIG_arg_fail(1)) SWIG_fail
;
34505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34507 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
34508 result
= (wxString
*) &_result_ref
;
34511 wxPyEndAllowThreads(__tstate
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34516 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34518 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34527 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34528 PyObject
*resultobj
= NULL
;
34529 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34530 wxString
*arg2
= 0 ;
34531 bool temp2
= false ;
34532 PyObject
* obj0
= 0 ;
34533 PyObject
* obj1
= 0 ;
34534 char *kwnames
[] = {
34535 (char *) "self",(char *) "link", NULL
34538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
34539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34540 if (SWIG_arg_fail(1)) SWIG_fail
;
34542 arg2
= wxString_in_helper(obj1
);
34543 if (arg2
== NULL
) SWIG_fail
;
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 (arg1
)->SetLink((wxString
const &)*arg2
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 Py_INCREF(Py_None
); resultobj
= Py_None
;
34568 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34569 PyObject
*resultobj
= NULL
;
34570 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34572 PyObject
* obj0
= 0 ;
34573 char *kwnames
[] = {
34574 (char *) "self", NULL
34577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
34578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34579 if (SWIG_arg_fail(1)) SWIG_fail
;
34581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34583 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
34584 result
= (wxString
*) &_result_ref
;
34587 wxPyEndAllowThreads(__tstate
);
34588 if (PyErr_Occurred()) SWIG_fail
;
34592 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34594 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34603 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34604 PyObject
*resultobj
= NULL
;
34605 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
34606 wxString
*arg2
= 0 ;
34607 bool temp2
= false ;
34608 PyObject
* obj0
= 0 ;
34609 PyObject
* obj1
= 0 ;
34610 char *kwnames
[] = {
34611 (char *) "self",(char *) "target", NULL
34614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
34615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
34616 if (SWIG_arg_fail(1)) SWIG_fail
;
34618 arg2
= wxString_in_helper(obj1
);
34619 if (arg2
== NULL
) SWIG_fail
;
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 (arg1
)->SetTarget((wxString
const &)*arg2
);
34626 wxPyEndAllowThreads(__tstate
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34629 Py_INCREF(Py_None
); resultobj
= Py_None
;
34644 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
34646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34647 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
34649 return Py_BuildValue((char *)"");
34651 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34652 PyObject
*resultobj
= NULL
;
34653 wxWindow
*arg1
= (wxWindow
*) NULL
;
34654 bool arg2
= (bool) true ;
34655 wxContextHelp
*result
;
34656 PyObject
* obj0
= 0 ;
34657 PyObject
* obj1
= 0 ;
34658 char *kwnames
[] = {
34659 (char *) "window",(char *) "doNow", NULL
34662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34665 if (SWIG_arg_fail(1)) SWIG_fail
;
34669 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
34670 if (SWIG_arg_fail(2)) SWIG_fail
;
34674 if (!wxPyCheckForApp()) SWIG_fail
;
34675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34676 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
34678 wxPyEndAllowThreads(__tstate
);
34679 if (PyErr_Occurred()) SWIG_fail
;
34681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
34688 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34689 PyObject
*resultobj
= NULL
;
34690 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34691 PyObject
* obj0
= 0 ;
34692 char *kwnames
[] = {
34693 (char *) "self", NULL
34696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
34697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34698 if (SWIG_arg_fail(1)) SWIG_fail
;
34700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34703 wxPyEndAllowThreads(__tstate
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34706 Py_INCREF(Py_None
); resultobj
= Py_None
;
34713 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
= NULL
;
34715 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34716 wxWindow
*arg2
= (wxWindow
*) NULL
;
34718 PyObject
* obj0
= 0 ;
34719 PyObject
* obj1
= 0 ;
34720 char *kwnames
[] = {
34721 (char *) "self",(char *) "window", NULL
34724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34726 if (SWIG_arg_fail(1)) SWIG_fail
;
34728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34729 if (SWIG_arg_fail(2)) SWIG_fail
;
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34747 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34748 PyObject
*resultobj
= NULL
;
34749 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
34751 PyObject
* obj0
= 0 ;
34752 char *kwnames
[] = {
34753 (char *) "self", NULL
34756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
34757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
34758 if (SWIG_arg_fail(1)) SWIG_fail
;
34760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34761 result
= (bool)(arg1
)->EndContextHelp();
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34775 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
34777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34778 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
34780 return Py_BuildValue((char *)"");
34782 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
= NULL
;
34784 wxWindow
*arg1
= (wxWindow
*) 0 ;
34785 int arg2
= (int) wxID_CONTEXT_HELP
;
34786 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34787 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34788 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34789 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34790 long arg5
= (long) wxBU_AUTODRAW
;
34791 wxContextHelpButton
*result
;
34794 PyObject
* obj0
= 0 ;
34795 PyObject
* obj1
= 0 ;
34796 PyObject
* obj2
= 0 ;
34797 PyObject
* obj3
= 0 ;
34798 PyObject
* obj4
= 0 ;
34799 char *kwnames
[] = {
34800 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
34803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34805 if (SWIG_arg_fail(1)) SWIG_fail
;
34808 arg2
= static_cast<int >(SWIG_As_int(obj1
));
34809 if (SWIG_arg_fail(2)) SWIG_fail
;
34815 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34821 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34826 arg5
= static_cast<long >(SWIG_As_long(obj4
));
34827 if (SWIG_arg_fail(5)) SWIG_fail
;
34831 if (!wxPyCheckForApp()) SWIG_fail
;
34832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34833 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
34845 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
34847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34848 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
34850 return Py_BuildValue((char *)"");
34852 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34853 PyObject
*resultobj
= NULL
;
34854 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34855 wxHelpProvider
*result
;
34856 PyObject
* obj0
= 0 ;
34857 char *kwnames
[] = {
34858 (char *) "helpProvider", NULL
34861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
34862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
34863 if (SWIG_arg_fail(1)) SWIG_fail
;
34865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34866 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
34868 wxPyEndAllowThreads(__tstate
);
34869 if (PyErr_Occurred()) SWIG_fail
;
34871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 1);
34878 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34879 PyObject
*resultobj
= NULL
;
34880 wxHelpProvider
*result
;
34881 char *kwnames
[] = {
34885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
34887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34888 result
= (wxHelpProvider
*)wxHelpProvider::Get();
34890 wxPyEndAllowThreads(__tstate
);
34891 if (PyErr_Occurred()) SWIG_fail
;
34893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
34900 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34901 PyObject
*resultobj
= NULL
;
34902 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34903 wxWindow
*arg2
= (wxWindow
*) 0 ;
34905 PyObject
* obj0
= 0 ;
34906 PyObject
* obj1
= 0 ;
34907 char *kwnames
[] = {
34908 (char *) "self",(char *) "window", NULL
34911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34913 if (SWIG_arg_fail(1)) SWIG_fail
;
34914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34915 if (SWIG_arg_fail(2)) SWIG_fail
;
34917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34918 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
34920 wxPyEndAllowThreads(__tstate
);
34921 if (PyErr_Occurred()) SWIG_fail
;
34925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34936 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34937 PyObject
*resultobj
= NULL
;
34938 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34939 wxWindow
*arg2
= (wxWindow
*) 0 ;
34941 PyObject
* obj0
= 0 ;
34942 PyObject
* obj1
= 0 ;
34943 char *kwnames
[] = {
34944 (char *) "self",(char *) "window", NULL
34947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
34948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34949 if (SWIG_arg_fail(1)) SWIG_fail
;
34950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34951 if (SWIG_arg_fail(2)) SWIG_fail
;
34953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34954 result
= (bool)(arg1
)->ShowHelp(arg2
);
34956 wxPyEndAllowThreads(__tstate
);
34957 if (PyErr_Occurred()) SWIG_fail
;
34960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34968 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34969 PyObject
*resultobj
= NULL
;
34970 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
34971 wxWindow
*arg2
= (wxWindow
*) 0 ;
34972 wxString
*arg3
= 0 ;
34973 bool temp3
= false ;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 PyObject
* obj2
= 0 ;
34977 char *kwnames
[] = {
34978 (char *) "self",(char *) "window",(char *) "text", NULL
34981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
34983 if (SWIG_arg_fail(1)) SWIG_fail
;
34984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34985 if (SWIG_arg_fail(2)) SWIG_fail
;
34987 arg3
= wxString_in_helper(obj2
);
34988 if (arg3
== NULL
) SWIG_fail
;
34992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34993 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
34995 wxPyEndAllowThreads(__tstate
);
34996 if (PyErr_Occurred()) SWIG_fail
;
34998 Py_INCREF(Py_None
); resultobj
= Py_None
;
35013 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35014 PyObject
*resultobj
= NULL
;
35015 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35017 wxString
*arg3
= 0 ;
35018 bool temp3
= false ;
35019 PyObject
* obj0
= 0 ;
35020 PyObject
* obj1
= 0 ;
35021 PyObject
* obj2
= 0 ;
35022 char *kwnames
[] = {
35023 (char *) "self",(char *) "id",(char *) "text", NULL
35026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35028 if (SWIG_arg_fail(1)) SWIG_fail
;
35030 arg2
= static_cast<int >(SWIG_As_int(obj1
));
35031 if (SWIG_arg_fail(2)) SWIG_fail
;
35034 arg3
= wxString_in_helper(obj2
);
35035 if (arg3
== NULL
) SWIG_fail
;
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35045 Py_INCREF(Py_None
); resultobj
= Py_None
;
35060 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
= NULL
;
35062 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35063 wxWindow
*arg2
= (wxWindow
*) 0 ;
35064 PyObject
* obj0
= 0 ;
35065 PyObject
* obj1
= 0 ;
35066 char *kwnames
[] = {
35067 (char *) "self",(char *) "window", NULL
35070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35072 if (SWIG_arg_fail(1)) SWIG_fail
;
35073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35074 if (SWIG_arg_fail(2)) SWIG_fail
;
35076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35077 (arg1
)->RemoveHelp(arg2
);
35079 wxPyEndAllowThreads(__tstate
);
35080 if (PyErr_Occurred()) SWIG_fail
;
35082 Py_INCREF(Py_None
); resultobj
= Py_None
;
35089 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35090 PyObject
*resultobj
= NULL
;
35091 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
35092 PyObject
* obj0
= 0 ;
35093 char *kwnames
[] = {
35094 (char *) "self", NULL
35097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
35098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
35099 if (SWIG_arg_fail(1)) SWIG_fail
;
35101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35102 wxHelpProvider_Destroy(arg1
);
35104 wxPyEndAllowThreads(__tstate
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35107 Py_INCREF(Py_None
); resultobj
= Py_None
;
35114 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
35116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35117 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
35119 return Py_BuildValue((char *)"");
35121 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35122 PyObject
*resultobj
= NULL
;
35123 wxSimpleHelpProvider
*result
;
35124 char *kwnames
[] = {
35128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
35130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35131 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
35133 wxPyEndAllowThreads(__tstate
);
35134 if (PyErr_Occurred()) SWIG_fail
;
35136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
35143 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
35145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35146 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
35148 return Py_BuildValue((char *)"");
35150 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35151 PyObject
*resultobj
= NULL
;
35152 wxBitmap
*arg1
= 0 ;
35153 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35154 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35155 wxGenericDragImage
*result
;
35156 PyObject
* obj0
= 0 ;
35157 PyObject
* obj1
= 0 ;
35158 char *kwnames
[] = {
35159 (char *) "image",(char *) "cursor", NULL
35162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
35164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35165 if (SWIG_arg_fail(1)) SWIG_fail
;
35166 if (arg1
== NULL
) {
35167 SWIG_null_ref("wxBitmap");
35169 if (SWIG_arg_fail(1)) SWIG_fail
;
35173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35174 if (SWIG_arg_fail(2)) SWIG_fail
;
35175 if (arg2
== NULL
) {
35176 SWIG_null_ref("wxCursor");
35178 if (SWIG_arg_fail(2)) SWIG_fail
;
35182 if (!wxPyCheckForApp()) SWIG_fail
;
35183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35184 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
35186 wxPyEndAllowThreads(__tstate
);
35187 if (PyErr_Occurred()) SWIG_fail
;
35189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35196 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35197 PyObject
*resultobj
= NULL
;
35199 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35200 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35201 wxGenericDragImage
*result
;
35202 PyObject
* obj0
= 0 ;
35203 PyObject
* obj1
= 0 ;
35204 char *kwnames
[] = {
35205 (char *) "image",(char *) "cursor", NULL
35208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
35210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
35211 if (SWIG_arg_fail(1)) SWIG_fail
;
35212 if (arg1
== NULL
) {
35213 SWIG_null_ref("wxIcon");
35215 if (SWIG_arg_fail(1)) SWIG_fail
;
35219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35220 if (SWIG_arg_fail(2)) SWIG_fail
;
35221 if (arg2
== NULL
) {
35222 SWIG_null_ref("wxCursor");
35224 if (SWIG_arg_fail(2)) SWIG_fail
;
35228 if (!wxPyCheckForApp()) SWIG_fail
;
35229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35230 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
35232 wxPyEndAllowThreads(__tstate
);
35233 if (PyErr_Occurred()) SWIG_fail
;
35235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35242 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35243 PyObject
*resultobj
= NULL
;
35244 wxString
*arg1
= 0 ;
35245 wxCursor
const &arg2_defvalue
= wxNullCursor
;
35246 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
35247 wxGenericDragImage
*result
;
35248 bool temp1
= false ;
35249 PyObject
* obj0
= 0 ;
35250 PyObject
* obj1
= 0 ;
35251 char *kwnames
[] = {
35252 (char *) "str",(char *) "cursor", NULL
35255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
35257 arg1
= wxString_in_helper(obj0
);
35258 if (arg1
== NULL
) SWIG_fail
;
35263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
35264 if (SWIG_arg_fail(2)) SWIG_fail
;
35265 if (arg2
== NULL
) {
35266 SWIG_null_ref("wxCursor");
35268 if (SWIG_arg_fail(2)) SWIG_fail
;
35272 if (!wxPyCheckForApp()) SWIG_fail
;
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35294 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35295 PyObject
*resultobj
= NULL
;
35296 wxPyTreeCtrl
*arg1
= 0 ;
35297 wxTreeItemId
*arg2
= 0 ;
35298 wxGenericDragImage
*result
;
35299 PyObject
* obj0
= 0 ;
35300 PyObject
* obj1
= 0 ;
35301 char *kwnames
[] = {
35302 (char *) "treeCtrl",(char *) "id", NULL
35305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35308 if (SWIG_arg_fail(1)) SWIG_fail
;
35309 if (arg1
== NULL
) {
35310 SWIG_null_ref("wxPyTreeCtrl");
35312 if (SWIG_arg_fail(1)) SWIG_fail
;
35315 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
35316 if (SWIG_arg_fail(2)) SWIG_fail
;
35317 if (arg2
== NULL
) {
35318 SWIG_null_ref("wxTreeItemId");
35320 if (SWIG_arg_fail(2)) SWIG_fail
;
35323 if (!wxPyCheckForApp()) SWIG_fail
;
35324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35325 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
35327 wxPyEndAllowThreads(__tstate
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35337 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35338 PyObject
*resultobj
= NULL
;
35339 wxPyListCtrl
*arg1
= 0 ;
35341 wxGenericDragImage
*result
;
35342 PyObject
* obj0
= 0 ;
35343 PyObject
* obj1
= 0 ;
35344 char *kwnames
[] = {
35345 (char *) "listCtrl",(char *) "id", NULL
35348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35351 if (SWIG_arg_fail(1)) SWIG_fail
;
35352 if (arg1
== NULL
) {
35353 SWIG_null_ref("wxPyListCtrl");
35355 if (SWIG_arg_fail(1)) SWIG_fail
;
35358 arg2
= static_cast<long >(SWIG_As_long(obj1
));
35359 if (SWIG_arg_fail(2)) SWIG_fail
;
35362 if (!wxPyCheckForApp()) SWIG_fail
;
35363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35364 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
35376 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35377 PyObject
*resultobj
= NULL
;
35378 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35379 PyObject
* obj0
= 0 ;
35380 char *kwnames
[] = {
35381 (char *) "self", NULL
35384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
35385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35386 if (SWIG_arg_fail(1)) SWIG_fail
;
35388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35391 wxPyEndAllowThreads(__tstate
);
35392 if (PyErr_Occurred()) SWIG_fail
;
35394 Py_INCREF(Py_None
); resultobj
= Py_None
;
35401 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35402 PyObject
*resultobj
= NULL
;
35403 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35404 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
35405 PyObject
* obj0
= 0 ;
35406 PyObject
* obj1
= 0 ;
35407 char *kwnames
[] = {
35408 (char *) "self",(char *) "bitmap", NULL
35411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
35412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35413 if (SWIG_arg_fail(1)) SWIG_fail
;
35414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35415 if (SWIG_arg_fail(2)) SWIG_fail
;
35417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35418 (arg1
)->SetBackingBitmap(arg2
);
35420 wxPyEndAllowThreads(__tstate
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35423 Py_INCREF(Py_None
); resultobj
= Py_None
;
35430 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35431 PyObject
*resultobj
= NULL
;
35432 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35433 wxPoint
*arg2
= 0 ;
35434 wxWindow
*arg3
= (wxWindow
*) 0 ;
35435 bool arg4
= (bool) false ;
35436 wxRect
*arg5
= (wxRect
*) NULL
;
35439 PyObject
* obj0
= 0 ;
35440 PyObject
* obj1
= 0 ;
35441 PyObject
* obj2
= 0 ;
35442 PyObject
* obj3
= 0 ;
35443 PyObject
* obj4
= 0 ;
35444 char *kwnames
[] = {
35445 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35450 if (SWIG_arg_fail(1)) SWIG_fail
;
35453 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35455 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35456 if (SWIG_arg_fail(3)) SWIG_fail
;
35459 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
35460 if (SWIG_arg_fail(4)) SWIG_fail
;
35464 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
35465 if (SWIG_arg_fail(5)) SWIG_fail
;
35468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35469 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
35471 wxPyEndAllowThreads(__tstate
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35483 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35484 PyObject
*resultobj
= NULL
;
35485 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35486 wxPoint
*arg2
= 0 ;
35487 wxWindow
*arg3
= (wxWindow
*) 0 ;
35488 wxWindow
*arg4
= (wxWindow
*) 0 ;
35491 PyObject
* obj0
= 0 ;
35492 PyObject
* obj1
= 0 ;
35493 PyObject
* obj2
= 0 ;
35494 PyObject
* obj3
= 0 ;
35495 char *kwnames
[] = {
35496 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35501 if (SWIG_arg_fail(1)) SWIG_fail
;
35504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35506 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35507 if (SWIG_arg_fail(3)) SWIG_fail
;
35508 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35509 if (SWIG_arg_fail(4)) SWIG_fail
;
35511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35512 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
35514 wxPyEndAllowThreads(__tstate
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35526 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35527 PyObject
*resultobj
= NULL
;
35528 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35530 PyObject
* obj0
= 0 ;
35531 char *kwnames
[] = {
35532 (char *) "self", NULL
35535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
35536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35537 if (SWIG_arg_fail(1)) SWIG_fail
;
35539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35540 result
= (bool)(arg1
)->EndDrag();
35542 wxPyEndAllowThreads(__tstate
);
35543 if (PyErr_Occurred()) SWIG_fail
;
35546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35554 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35555 PyObject
*resultobj
= NULL
;
35556 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35557 wxPoint
*arg2
= 0 ;
35560 PyObject
* obj0
= 0 ;
35561 PyObject
* obj1
= 0 ;
35562 char *kwnames
[] = {
35563 (char *) "self",(char *) "pt", NULL
35566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
35567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35568 if (SWIG_arg_fail(1)) SWIG_fail
;
35571 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
35577 wxPyEndAllowThreads(__tstate
);
35578 if (PyErr_Occurred()) SWIG_fail
;
35581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35589 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35590 PyObject
*resultobj
= NULL
;
35591 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35593 PyObject
* obj0
= 0 ;
35594 char *kwnames
[] = {
35595 (char *) "self", NULL
35598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
35599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35600 if (SWIG_arg_fail(1)) SWIG_fail
;
35602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35603 result
= (bool)(arg1
)->Show();
35605 wxPyEndAllowThreads(__tstate
);
35606 if (PyErr_Occurred()) SWIG_fail
;
35609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35617 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35618 PyObject
*resultobj
= NULL
;
35619 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35621 PyObject
* obj0
= 0 ;
35622 char *kwnames
[] = {
35623 (char *) "self", NULL
35626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
35627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35628 if (SWIG_arg_fail(1)) SWIG_fail
;
35630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35631 result
= (bool)(arg1
)->Hide();
35633 wxPyEndAllowThreads(__tstate
);
35634 if (PyErr_Occurred()) SWIG_fail
;
35637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35645 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35646 PyObject
*resultobj
= NULL
;
35647 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35648 wxPoint
*arg2
= 0 ;
35651 PyObject
* obj0
= 0 ;
35652 PyObject
* obj1
= 0 ;
35653 char *kwnames
[] = {
35654 (char *) "self",(char *) "pos", NULL
35657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) 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
;
35665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35666 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
35668 wxPyEndAllowThreads(__tstate
);
35669 if (PyErr_Occurred()) SWIG_fail
;
35672 wxRect
* resultptr
;
35673 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
35674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35682 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35683 PyObject
*resultobj
= NULL
;
35684 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35686 wxPoint
*arg3
= 0 ;
35689 PyObject
* obj0
= 0 ;
35690 PyObject
* obj1
= 0 ;
35691 PyObject
* obj2
= 0 ;
35692 char *kwnames
[] = {
35693 (char *) "self",(char *) "dc",(char *) "pos", NULL
35696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35698 if (SWIG_arg_fail(1)) SWIG_fail
;
35700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35701 if (SWIG_arg_fail(2)) SWIG_fail
;
35702 if (arg2
== NULL
) {
35703 SWIG_null_ref("wxDC");
35705 if (SWIG_arg_fail(2)) SWIG_fail
;
35709 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35713 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35727 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35728 PyObject
*resultobj
= NULL
;
35729 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35731 wxMemoryDC
*arg3
= 0 ;
35737 PyObject
* obj0
= 0 ;
35738 PyObject
* obj1
= 0 ;
35739 PyObject
* obj2
= 0 ;
35740 PyObject
* obj3
= 0 ;
35741 PyObject
* obj4
= 0 ;
35742 char *kwnames
[] = {
35743 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35748 if (SWIG_arg_fail(1)) SWIG_fail
;
35750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35751 if (SWIG_arg_fail(2)) SWIG_fail
;
35752 if (arg2
== NULL
) {
35753 SWIG_null_ref("wxDC");
35755 if (SWIG_arg_fail(2)) SWIG_fail
;
35758 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
35759 if (SWIG_arg_fail(3)) SWIG_fail
;
35760 if (arg3
== NULL
) {
35761 SWIG_null_ref("wxMemoryDC");
35763 if (SWIG_arg_fail(3)) SWIG_fail
;
35767 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35771 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
35774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35775 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
35777 wxPyEndAllowThreads(__tstate
);
35778 if (PyErr_Occurred()) SWIG_fail
;
35781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35789 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35790 PyObject
*resultobj
= NULL
;
35791 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
35792 wxPoint
*arg2
= 0 ;
35793 wxPoint
*arg3
= 0 ;
35799 PyObject
* obj0
= 0 ;
35800 PyObject
* obj1
= 0 ;
35801 PyObject
* obj2
= 0 ;
35802 PyObject
* obj3
= 0 ;
35803 PyObject
* obj4
= 0 ;
35804 char *kwnames
[] = {
35805 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
35808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
35810 if (SWIG_arg_fail(1)) SWIG_fail
;
35813 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35820 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
35821 if (SWIG_arg_fail(4)) SWIG_fail
;
35824 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
35825 if (SWIG_arg_fail(5)) SWIG_fail
;
35828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35829 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
35831 wxPyEndAllowThreads(__tstate
);
35832 if (PyErr_Occurred()) SWIG_fail
;
35835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35843 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
35845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35846 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
35848 return Py_BuildValue((char *)"");
35850 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
35851 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
35856 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
35857 PyObject
*pyobj
= NULL
;
35861 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
35863 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
35870 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35871 PyObject
*resultobj
= NULL
;
35872 wxWindow
*arg1
= (wxWindow
*) 0 ;
35873 int arg2
= (int) -1 ;
35874 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
35875 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
35876 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
35877 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
35878 wxSize
const &arg5_defvalue
= wxDefaultSize
;
35879 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
35880 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
35881 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
35882 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
35883 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
35884 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
35885 wxDatePickerCtrl
*result
;
35888 bool temp8
= false ;
35889 PyObject
* obj0
= 0 ;
35890 PyObject
* obj1
= 0 ;
35891 PyObject
* obj2
= 0 ;
35892 PyObject
* obj3
= 0 ;
35893 PyObject
* obj4
= 0 ;
35894 PyObject
* obj5
= 0 ;
35895 PyObject
* obj6
= 0 ;
35896 PyObject
* obj7
= 0 ;
35897 char *kwnames
[] = {
35898 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
35902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35903 if (SWIG_arg_fail(1)) SWIG_fail
;
35906 arg2
= static_cast<int >(SWIG_As_int(obj1
));
35907 if (SWIG_arg_fail(2)) SWIG_fail
;
35912 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35913 if (SWIG_arg_fail(3)) SWIG_fail
;
35914 if (arg3
== NULL
) {
35915 SWIG_null_ref("wxDateTime");
35917 if (SWIG_arg_fail(3)) SWIG_fail
;
35923 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
35929 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
35934 arg6
= static_cast<long >(SWIG_As_long(obj5
));
35935 if (SWIG_arg_fail(6)) SWIG_fail
;
35940 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
35941 if (SWIG_arg_fail(7)) SWIG_fail
;
35942 if (arg7
== NULL
) {
35943 SWIG_null_ref("wxValidator");
35945 if (SWIG_arg_fail(7)) SWIG_fail
;
35950 arg8
= wxString_in_helper(obj7
);
35951 if (arg8
== NULL
) SWIG_fail
;
35956 if (!wxPyCheckForApp()) SWIG_fail
;
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35958 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
35978 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35979 PyObject
*resultobj
= NULL
;
35980 wxDatePickerCtrl
*result
;
35981 char *kwnames
[] = {
35985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
35987 if (!wxPyCheckForApp()) SWIG_fail
;
35988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35989 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
35991 wxPyEndAllowThreads(__tstate
);
35992 if (PyErr_Occurred()) SWIG_fail
;
35994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
36001 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36002 PyObject
*resultobj
= NULL
;
36003 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36004 wxWindow
*arg2
= (wxWindow
*) 0 ;
36005 int arg3
= (int) -1 ;
36006 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
36007 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
36008 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36009 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36010 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36011 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36012 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
36013 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
36014 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
36015 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
36016 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36020 bool temp9
= false ;
36021 PyObject
* obj0
= 0 ;
36022 PyObject
* obj1
= 0 ;
36023 PyObject
* obj2
= 0 ;
36024 PyObject
* obj3
= 0 ;
36025 PyObject
* obj4
= 0 ;
36026 PyObject
* obj5
= 0 ;
36027 PyObject
* obj6
= 0 ;
36028 PyObject
* obj7
= 0 ;
36029 PyObject
* obj8
= 0 ;
36030 char *kwnames
[] = {
36031 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
36035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36036 if (SWIG_arg_fail(1)) SWIG_fail
;
36037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36038 if (SWIG_arg_fail(2)) SWIG_fail
;
36041 arg3
= static_cast<int >(SWIG_As_int(obj2
));
36042 if (SWIG_arg_fail(3)) SWIG_fail
;
36047 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36048 if (SWIG_arg_fail(4)) SWIG_fail
;
36049 if (arg4
== NULL
) {
36050 SWIG_null_ref("wxDateTime");
36052 if (SWIG_arg_fail(4)) SWIG_fail
;
36058 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36064 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36069 arg7
= static_cast<long >(SWIG_As_long(obj6
));
36070 if (SWIG_arg_fail(7)) SWIG_fail
;
36075 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36076 if (SWIG_arg_fail(8)) SWIG_fail
;
36077 if (arg8
== NULL
) {
36078 SWIG_null_ref("wxValidator");
36080 if (SWIG_arg_fail(8)) SWIG_fail
;
36085 arg9
= wxString_in_helper(obj8
);
36086 if (arg9
== NULL
) SWIG_fail
;
36091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36092 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36114 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36115 PyObject
*resultobj
= NULL
;
36116 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36117 wxDateTime
*arg2
= 0 ;
36118 PyObject
* obj0
= 0 ;
36119 PyObject
* obj1
= 0 ;
36120 char *kwnames
[] = {
36121 (char *) "self",(char *) "dt", NULL
36124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
36125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36126 if (SWIG_arg_fail(1)) SWIG_fail
;
36128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36129 if (SWIG_arg_fail(2)) SWIG_fail
;
36130 if (arg2
== NULL
) {
36131 SWIG_null_ref("wxDateTime");
36133 if (SWIG_arg_fail(2)) SWIG_fail
;
36136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36137 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
36139 wxPyEndAllowThreads(__tstate
);
36140 if (PyErr_Occurred()) SWIG_fail
;
36142 Py_INCREF(Py_None
); resultobj
= Py_None
;
36149 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36150 PyObject
*resultobj
= NULL
;
36151 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36153 PyObject
* obj0
= 0 ;
36154 char *kwnames
[] = {
36155 (char *) "self", NULL
36158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
36159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36160 if (SWIG_arg_fail(1)) SWIG_fail
;
36162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36163 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
36165 wxPyEndAllowThreads(__tstate
);
36166 if (PyErr_Occurred()) SWIG_fail
;
36169 wxDateTime
* resultptr
;
36170 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36179 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36180 PyObject
*resultobj
= NULL
;
36181 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36182 wxDateTime
*arg2
= 0 ;
36183 wxDateTime
*arg3
= 0 ;
36184 PyObject
* obj0
= 0 ;
36185 PyObject
* obj1
= 0 ;
36186 PyObject
* obj2
= 0 ;
36187 char *kwnames
[] = {
36188 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36193 if (SWIG_arg_fail(1)) SWIG_fail
;
36195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36196 if (SWIG_arg_fail(2)) SWIG_fail
;
36197 if (arg2
== NULL
) {
36198 SWIG_null_ref("wxDateTime");
36200 if (SWIG_arg_fail(2)) SWIG_fail
;
36203 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
36204 if (SWIG_arg_fail(3)) SWIG_fail
;
36205 if (arg3
== NULL
) {
36206 SWIG_null_ref("wxDateTime");
36208 if (SWIG_arg_fail(3)) SWIG_fail
;
36211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36212 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
36214 wxPyEndAllowThreads(__tstate
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36217 Py_INCREF(Py_None
); resultobj
= Py_None
;
36224 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36225 PyObject
*resultobj
= NULL
;
36226 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36228 PyObject
* obj0
= 0 ;
36229 char *kwnames
[] = {
36230 (char *) "self", NULL
36233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
36234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36235 if (SWIG_arg_fail(1)) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
36240 wxPyEndAllowThreads(__tstate
);
36241 if (PyErr_Occurred()) SWIG_fail
;
36244 wxDateTime
* resultptr
;
36245 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36254 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36255 PyObject
*resultobj
= NULL
;
36256 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
36258 PyObject
* obj0
= 0 ;
36259 char *kwnames
[] = {
36260 (char *) "self", NULL
36263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
36264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
36265 if (SWIG_arg_fail(1)) SWIG_fail
;
36267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36268 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
36270 wxPyEndAllowThreads(__tstate
);
36271 if (PyErr_Occurred()) SWIG_fail
;
36274 wxDateTime
* resultptr
;
36275 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
36276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
36284 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
36286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36287 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
36289 return Py_BuildValue((char *)"");
36291 static PyMethodDef SwigMethods
[] = {
36292 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36293 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36294 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36295 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36296 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36297 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36298 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
36299 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36300 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36301 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36302 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36304 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36305 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
) _wrap_BitmapButton_GetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36309 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36310 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36311 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36314 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36315 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
36316 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36317 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36318 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36319 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36321 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36322 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36323 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36324 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36325 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36326 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
36328 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36329 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36330 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36331 { (char *)"Choice_GetCurrentSelection", (PyCFunction
) _wrap_Choice_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36332 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36333 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
36334 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36335 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36336 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36337 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36339 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36340 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36341 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36342 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36343 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36344 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36345 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36346 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36347 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36348 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36349 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
) _wrap_ComboBox_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36350 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36351 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36352 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36353 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36354 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36355 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36356 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36357 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36358 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36359 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36360 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36361 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36362 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36363 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36364 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36365 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
36366 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36368 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36369 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36370 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36371 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36375 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36376 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36377 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36378 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36379 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
36380 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36382 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36383 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
36385 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36386 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36387 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36388 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36389 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36390 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36391 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
36392 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36393 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36394 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36395 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36396 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36397 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
36398 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36399 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36400 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36402 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36403 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36405 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
36406 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36407 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36409 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36410 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36411 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36412 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36413 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36414 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36415 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36419 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36420 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36421 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36422 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36423 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36424 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36425 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36426 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36427 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
36429 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36431 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36432 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36434 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36435 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36437 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
36438 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36442 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36444 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36447 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36448 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36449 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36450 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36453 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36454 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36455 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36457 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36458 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36459 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36460 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36463 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36464 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36468 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
36469 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36471 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36472 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36473 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36474 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36475 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36477 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36478 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36479 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36480 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36481 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36482 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36483 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36485 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36486 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36487 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36492 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36494 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36495 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36496 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36497 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36498 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36499 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36500 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36501 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36502 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36503 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36505 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36506 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36508 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36510 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36511 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36515 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36518 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36519 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
36525 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36526 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36527 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
36530 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36534 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36535 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36537 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36541 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
36542 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36545 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
36555 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36560 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36561 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36562 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36563 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36564 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36565 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36566 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
36567 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36568 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36569 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
36571 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36572 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36573 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36576 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36577 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36578 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36579 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36580 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36584 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
36589 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
36596 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36600 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36601 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36606 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36607 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36608 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36609 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36611 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36612 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36613 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36615 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36619 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36621 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
36622 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36623 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36624 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
36630 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36638 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_GetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36645 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
) _wrap_BookCtrlBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36649 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36656 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
36657 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36658 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36661 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36662 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
36663 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36669 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36673 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
36674 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
36676 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36677 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36678 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
36681 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
36683 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36684 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
36689 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36690 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
36691 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"new_PreTreebook", (PyCFunction
) _wrap_new_PreTreebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"Treebook_InsertPage", (PyCFunction
) _wrap_Treebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"Treebook_AddPage", (PyCFunction
) _wrap_Treebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"Treebook_DeletePage", (PyCFunction
) _wrap_Treebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
) _wrap_Treebook_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
36705 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
36707 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"new_PreToolbook", (PyCFunction
) _wrap_new_PreToolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"Toolbook_GetToolBar", (PyCFunction
) _wrap_Toolbook_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"Toolbook_Realize", (PyCFunction
) _wrap_Toolbook_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
36713 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
36715 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36716 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36717 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36720 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36725 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
36745 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36775 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36777 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36778 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36782 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36786 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
36790 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
36796 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"delete_ListItemAttr", (PyCFunction
) _wrap_delete_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
36810 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36819 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36825 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36826 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36834 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36836 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36838 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36841 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36843 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36846 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36847 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36850 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36854 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36858 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
36862 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36865 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36871 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36874 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
36889 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36891 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36892 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36894 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36898 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36900 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36902 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36903 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36904 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36906 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36907 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36909 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36910 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36911 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36912 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36913 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36914 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36916 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36917 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36918 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36920 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36922 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36924 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36926 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36927 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36929 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36930 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36931 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36933 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36935 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36936 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36938 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36939 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36940 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36942 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36943 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36944 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36945 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36946 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36947 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36948 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36952 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36954 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36955 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36958 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36959 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36960 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36961 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
36962 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36963 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36965 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36967 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36968 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36969 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36970 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36971 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36973 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
36974 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36975 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36978 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36979 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
36982 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"delete_TreeItemData", (PyCFunction
) _wrap_delete_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36988 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36989 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
36990 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36991 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36993 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36994 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36995 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36996 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36997 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36998 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36999 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37000 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37001 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37002 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37003 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37004 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37005 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37006 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
37007 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37008 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37009 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37010 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37011 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37013 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37014 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37015 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37016 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37018 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37019 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37021 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37022 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37023 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37024 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37025 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37026 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37027 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37028 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37029 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37030 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37031 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37032 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37033 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37034 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37035 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37036 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37037 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37038 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37039 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37040 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37041 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37042 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37043 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37045 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37046 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37047 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37048 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37049 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37050 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37051 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37052 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37053 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37054 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37055 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37056 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37057 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37058 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37059 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37060 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37061 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37062 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37063 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37064 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37065 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37066 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37067 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37068 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37069 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37070 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37071 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37072 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37073 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37074 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37075 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37076 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37077 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37078 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37079 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37080 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37081 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37082 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
37083 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37084 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37085 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37086 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37087 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37088 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37089 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37090 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37091 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37092 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37093 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37094 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37095 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37096 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37097 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37098 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37099 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37100 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37101 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37102 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37103 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37104 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
37105 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37106 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37107 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37108 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37109 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
37110 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37111 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37112 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37113 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37114 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37115 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37116 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37117 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37118 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37119 { (char *)"PyControl_DoGetSize", (PyCFunction
) _wrap_PyControl_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37120 { (char *)"PyControl_DoGetClientSize", (PyCFunction
) _wrap_PyControl_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37121 { (char *)"PyControl_DoGetPosition", (PyCFunction
) _wrap_PyControl_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37122 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37123 { (char *)"PyControl_DoGetBestSize", (PyCFunction
) _wrap_PyControl_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37124 { (char *)"PyControl_InitDialog", (PyCFunction
) _wrap_PyControl_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37125 { (char *)"PyControl_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37126 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37127 { (char *)"PyControl_Validate", (PyCFunction
) _wrap_PyControl_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37128 { (char *)"PyControl_AcceptsFocus", (PyCFunction
) _wrap_PyControl_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37129 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37130 { (char *)"PyControl_GetMaxSize", (PyCFunction
) _wrap_PyControl_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37131 { (char *)"PyControl_AddChild", (PyCFunction
) _wrap_PyControl_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37132 { (char *)"PyControl_RemoveChild", (PyCFunction
) _wrap_PyControl_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37133 { (char *)"PyControl_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37134 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37135 { (char *)"PyControl_OnInternalIdle", (PyCFunction
) _wrap_PyControl_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37136 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
37137 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37138 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37139 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37140 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37141 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37142 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37143 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37144 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
37145 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37146 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37147 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37148 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37149 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
37150 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37151 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
37152 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37153 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37154 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37155 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37156 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37157 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37158 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37159 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37160 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
37161 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37162 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
37163 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37164 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37165 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37166 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37167 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37168 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37169 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37170 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37171 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37172 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37173 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37174 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37175 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37176 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37177 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37178 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37179 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37180 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
37181 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37182 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37183 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37184 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37185 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37186 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37187 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37188 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37189 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
37190 { NULL
, NULL
, 0, NULL
}
37194 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37196 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37199 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37200 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37202 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37203 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37205 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37206 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37208 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37209 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37211 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
37212 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37214 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
37215 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37217 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37218 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37220 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37221 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37223 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37224 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37226 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
37227 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37229 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37230 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37232 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37233 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37235 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
37236 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
37238 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
37239 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37241 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
37242 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37244 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
37245 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37247 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
37248 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37250 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
37251 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37253 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
37254 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
37256 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37257 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37259 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37260 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37262 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37263 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37265 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37266 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37268 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37269 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37271 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37272 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37274 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37275 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37277 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37278 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37280 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37283 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37284 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37286 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37287 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37289 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37290 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37292 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37293 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37295 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37296 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37298 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37299 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37301 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37302 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37304 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37305 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37307 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37308 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37310 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37311 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37313 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37314 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37316 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37317 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37319 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37320 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37322 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37323 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37325 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37326 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37328 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37329 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37331 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37332 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37334 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
37335 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37337 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
37338 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
37340 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
37341 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37343 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
37344 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
37346 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
37347 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
37349 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
37350 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
37352 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
37353 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37355 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
37356 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
37358 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
37359 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
37361 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
37362 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
37364 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
37365 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
37367 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
37368 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
37370 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
37371 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
37373 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
37374 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
37376 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
37377 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37379 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
37380 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
37382 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
37383 return (void *)((wxControl
*) ((wxComboBox
*) x
));
37385 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
37386 return (void *)((wxControl
*) ((wxPyControl
*) x
));
37388 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
37389 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
37391 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
37392 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
37394 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
37395 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
37397 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
37398 return (void *)((wxControl
*) ((wxGauge
*) x
));
37400 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
37401 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
37403 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
37404 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37406 static void *_p_wxListbookTo_p_wxControl(void *x
) {
37407 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
37409 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
37410 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
37412 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
37413 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
37415 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
37416 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
37418 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
37419 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
37421 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
37422 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
37424 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
37425 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37427 static void *_p_wxListViewTo_p_wxControl(void *x
) {
37428 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
37430 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
37431 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
37433 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
37434 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
37436 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
37437 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
37439 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
37440 return (void *)((wxControl
*) ((wxStaticText
*) x
));
37442 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
37443 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
37445 static void *_p_wxSliderTo_p_wxControl(void *x
) {
37446 return (void *)((wxControl
*) ((wxSlider
*) x
));
37448 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
37449 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
37451 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
37452 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
37454 static void *_p_wxButtonTo_p_wxControl(void *x
) {
37455 return (void *)((wxControl
*) ((wxButton
*) x
));
37457 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
37458 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
37460 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
37461 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37463 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
37464 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
37466 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
37467 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
37469 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
37470 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
37472 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
37473 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37475 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
37476 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
37478 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
37479 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
37481 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
37482 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
37484 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
37485 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37487 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
37488 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37490 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
37491 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37493 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
37494 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37496 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
37497 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37499 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
37500 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37502 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
37503 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37505 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
37506 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
37508 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
37509 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
37511 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
37512 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
37514 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
37515 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
37517 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37518 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37520 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
37521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
37523 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37524 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37526 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37527 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37529 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
37530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
37532 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37533 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37535 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
37536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
37538 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
37539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
37541 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
37542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37544 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37545 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37547 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37548 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37550 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
37551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
37553 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
37554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
37556 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
37557 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
37559 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
37560 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37562 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
37563 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
37565 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37566 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37568 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
37569 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
37571 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
37572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
37574 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37577 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
37578 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
37580 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
37581 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
37583 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
37584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37586 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
37587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
37589 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
37590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
37592 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
37593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
37595 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
37596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
37598 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
37599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37601 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
37602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
37604 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
37605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37607 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
37608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
37610 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
37611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
37613 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
37614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
37616 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
37617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
37619 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
37620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
37622 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
37623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
37625 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
37626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
37628 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
37629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
37631 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
37632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
37634 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
37635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
37637 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
37638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
37640 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
37641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37643 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
37644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
37646 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
37647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
37649 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
37650 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
37652 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
37653 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
37655 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
37656 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37658 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
37659 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37661 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
37662 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
37664 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37665 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37667 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
37668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
37670 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37671 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37673 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37674 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37676 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37677 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37679 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37680 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37682 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
37683 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
37685 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37686 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37688 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37689 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37691 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37692 return (void *)((wxObject
*) ((wxSizer
*) x
));
37694 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37695 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37697 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
37698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
37700 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
37701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
37703 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37706 static void *_p_wxEventTo_p_wxObject(void *x
) {
37707 return (void *)((wxObject
*) ((wxEvent
*) x
));
37709 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37710 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37712 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37713 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37715 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37716 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37718 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
37719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
37721 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
37722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
37724 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
37725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
37727 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37728 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37730 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37731 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37733 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37734 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37736 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37737 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37739 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37740 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37742 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37743 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37745 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
37746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
37748 static void *_p_wxControlTo_p_wxObject(void *x
) {
37749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37751 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
37752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
37754 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
37755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
37757 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
37758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
37760 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
37761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
37763 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
37764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
37766 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37767 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37769 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
37770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
37772 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37773 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37775 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37776 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37778 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
37779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
37781 static void *_p_wxListViewTo_p_wxObject(void *x
) {
37782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
37784 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
37785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
37787 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
37788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
37790 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37791 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37793 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37796 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
37797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
37799 static void *_p_wxListbookTo_p_wxObject(void *x
) {
37800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
37802 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37803 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37805 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
37806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
37808 static void *_p_wxSliderTo_p_wxObject(void *x
) {
37809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
37811 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37812 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37814 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37815 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37817 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37818 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37820 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37821 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37823 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37824 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37826 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37827 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37829 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37830 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37832 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37833 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37835 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37836 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37838 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37839 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37841 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
37842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
37844 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
37845 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
37847 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
37848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
37850 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37851 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37853 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37854 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37856 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37857 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37859 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37860 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37862 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37863 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37865 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37866 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37868 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37869 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37871 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37872 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37874 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37875 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37877 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37878 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37880 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37881 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37883 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37884 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37886 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37887 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37889 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37890 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37892 static void *_p_wxListEventTo_p_wxObject(void *x
) {
37893 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
37895 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
37896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
37898 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
37899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
37901 static void *_p_wxButtonTo_p_wxObject(void *x
) {
37902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
37904 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
37905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
37907 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
37908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
37910 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
37911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
37913 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37914 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37916 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37917 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37919 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
37920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
37922 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
37923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
37925 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
37926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
37928 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
37929 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
37931 static void *_p_wxListItemTo_p_wxObject(void *x
) {
37932 return (void *)((wxObject
*) ((wxListItem
*) x
));
37934 static void *_p_wxImageTo_p_wxObject(void *x
) {
37935 return (void *)((wxObject
*) ((wxImage
*) x
));
37937 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37938 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37940 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
37941 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
37943 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
37944 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
37946 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
37947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
37949 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
37950 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
37952 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
37953 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
37955 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
37956 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
37958 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
37959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
37961 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
37962 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
37964 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37967 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37968 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37970 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37971 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37973 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37974 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37976 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37977 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37979 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37982 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37983 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37985 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37986 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37988 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37989 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37991 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37992 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37994 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37995 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37997 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37998 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
38000 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
38001 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
38003 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
38004 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
38006 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
38007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
38009 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
38010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38012 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
38013 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
38015 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
38016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
38018 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
38019 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
38021 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
38022 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
38024 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
38025 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38027 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
38028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
38030 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
38031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38033 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
38034 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
38036 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
38037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
38039 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
38040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
38042 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
38043 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
38045 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
38046 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
38048 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
38049 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
38051 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
38052 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
38054 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
38055 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
38057 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
38058 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
38060 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
38061 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
38063 static void *_p_wxControlTo_p_wxWindow(void *x
) {
38064 return (void *)((wxWindow
*) ((wxControl
*) x
));
38066 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
38067 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
38069 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
38070 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
38072 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
38073 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
38075 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
38076 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
38078 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
38079 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
38081 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
38082 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
38084 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
38085 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
38087 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
38088 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
38090 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
38091 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
38093 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
38094 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
38096 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
38097 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
38099 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
38100 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
38102 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
38103 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
38105 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
38106 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
38108 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
38109 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
38111 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
38112 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
38114 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
38115 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
38117 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
38118 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
38120 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
38121 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
38123 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
38124 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
38126 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
38127 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
38129 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
38130 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
38132 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
38133 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
38135 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
38136 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
38138 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
38139 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
38141 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
38142 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
38144 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
38145 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
38147 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
38148 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
38150 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
38151 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
38153 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
38154 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
38156 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
38157 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
38159 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
38160 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
38162 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38163 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38165 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38166 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38168 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38169 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38171 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38172 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38174 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
38175 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38177 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
38178 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38180 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
38181 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
38183 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
38184 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
38186 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
38187 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38189 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
38190 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38192 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
38193 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38195 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
38196 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
38198 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
38199 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
38201 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
38202 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
38204 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
38205 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
38207 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
38208 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
38210 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
38211 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
38213 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
38214 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38216 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
38217 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
38219 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
38220 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
38222 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
38223 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
38225 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
38226 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
38228 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
38229 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
38231 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
38232 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38234 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
38235 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38237 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
38238 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
38240 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
38241 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
38243 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
38244 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
38246 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
38247 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
38249 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
38250 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
38252 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, 0};
38253 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
38254 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38255 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
38256 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, 0};
38257 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38258 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38259 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38260 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
38261 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38262 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38263 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38264 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38265 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38266 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38267 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, 0};
38268 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38269 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38270 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38271 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38272 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38273 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
38274 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38275 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38276 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38277 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
38278 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38279 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38280 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38281 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
38282 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38283 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38284 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38285 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38286 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
38287 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38288 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38289 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
38290 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38291 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38292 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38293 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38294 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38295 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
38296 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
38297 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
38298 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38299 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38300 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
38301 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
38302 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38303 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38304 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
38305 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
38306 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
38307 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
38308 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
38309 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
38310 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
38311 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38312 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
38313 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38314 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38315 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
38316 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
38317 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38318 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38319 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38320 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
38321 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
38322 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
38323 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
38324 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
38325 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38326 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38327 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38328 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38329 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38330 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38331 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38332 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38333 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38334 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38335 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38336 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38337 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38338 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, 0};
38339 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38340 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38341 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38342 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38343 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38344 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38345 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38346 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
38347 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38348 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
38349 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
38350 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38351 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38352 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
38353 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
38354 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
38355 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
38356 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38357 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
38358 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
38359 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
38360 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
38361 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
38362 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
38363 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
38364 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
38365 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
38366 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
38367 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
38368 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
38369 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
38370 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
38371 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
38372 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
38373 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38374 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38375 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
38376 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
38377 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38378 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38379 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38380 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38381 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38382 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38383 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38384 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38385 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
38386 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38387 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38388 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
38389 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38390 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38391 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38392 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38393 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38394 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38395 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38396 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38397 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
38398 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38399 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38400 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38401 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38402 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38403 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38404 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
38405 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38406 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38407 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
38408 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38409 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
38410 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38411 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
38412 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38413 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38414 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38415 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38416 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38417 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38419 static swig_type_info
*swig_type_initial
[] = {
38422 &_swigt__p_form_ops_t
,
38425 &_swigt__p_unsigned_char
,
38426 &_swigt__p_unsigned_int
,
38427 &_swigt__p_unsigned_long
,
38429 &_swigt__p_wxANIHandler
,
38430 &_swigt__p_wxAcceleratorTable
,
38431 &_swigt__p_wxActivateEvent
,
38432 &_swigt__p_wxArrayInt
,
38433 &_swigt__p_wxArrayString
,
38434 &_swigt__p_wxBMPHandler
,
38435 &_swigt__p_wxBitmap
,
38436 &_swigt__p_wxBitmapButton
,
38437 &_swigt__p_wxBookCtrlBase
,
38438 &_swigt__p_wxBookCtrlBaseEvent
,
38439 &_swigt__p_wxBoxSizer
,
38440 &_swigt__p_wxButton
,
38441 &_swigt__p_wxCURHandler
,
38442 &_swigt__p_wxCheckBox
,
38443 &_swigt__p_wxCheckListBox
,
38444 &_swigt__p_wxChildFocusEvent
,
38445 &_swigt__p_wxChoice
,
38446 &_swigt__p_wxChoicebook
,
38447 &_swigt__p_wxChoicebookEvent
,
38448 &_swigt__p_wxCloseEvent
,
38449 &_swigt__p_wxColour
,
38450 &_swigt__p_wxComboBox
,
38451 &_swigt__p_wxCommandEvent
,
38452 &_swigt__p_wxContextHelp
,
38453 &_swigt__p_wxContextHelpButton
,
38454 &_swigt__p_wxContextMenuEvent
,
38455 &_swigt__p_wxControl
,
38456 &_swigt__p_wxControlWithItems
,
38457 &_swigt__p_wxCursor
,
38459 &_swigt__p_wxDateEvent
,
38460 &_swigt__p_wxDatePickerCtrl
,
38461 &_swigt__p_wxDateTime
,
38462 &_swigt__p_wxDirFilterListCtrl
,
38463 &_swigt__p_wxDisplayChangedEvent
,
38464 &_swigt__p_wxDropFilesEvent
,
38465 &_swigt__p_wxDuplexMode
,
38466 &_swigt__p_wxEraseEvent
,
38467 &_swigt__p_wxEvent
,
38468 &_swigt__p_wxEvtHandler
,
38469 &_swigt__p_wxFSFile
,
38470 &_swigt__p_wxFileSystem
,
38471 &_swigt__p_wxFlexGridSizer
,
38472 &_swigt__p_wxFocusEvent
,
38474 &_swigt__p_wxGBSizerItem
,
38475 &_swigt__p_wxGIFHandler
,
38476 &_swigt__p_wxGauge
,
38477 &_swigt__p_wxGenericDirCtrl
,
38478 &_swigt__p_wxGenericDragImage
,
38479 &_swigt__p_wxGridBagSizer
,
38480 &_swigt__p_wxGridSizer
,
38481 &_swigt__p_wxHelpEvent
,
38482 &_swigt__p_wxHelpProvider
,
38483 &_swigt__p_wxICOHandler
,
38485 &_swigt__p_wxIconizeEvent
,
38486 &_swigt__p_wxIdleEvent
,
38487 &_swigt__p_wxImage
,
38488 &_swigt__p_wxImageHandler
,
38489 &_swigt__p_wxImageList
,
38490 &_swigt__p_wxIndividualLayoutConstraint
,
38491 &_swigt__p_wxInitDialogEvent
,
38492 &_swigt__p_wxItemContainer
,
38493 &_swigt__p_wxJPEGHandler
,
38494 &_swigt__p_wxKeyEvent
,
38495 &_swigt__p_wxLayoutConstraints
,
38496 &_swigt__p_wxListBox
,
38497 &_swigt__p_wxListEvent
,
38498 &_swigt__p_wxListItem
,
38499 &_swigt__p_wxListItemAttr
,
38500 &_swigt__p_wxListView
,
38501 &_swigt__p_wxListbook
,
38502 &_swigt__p_wxListbookEvent
,
38503 &_swigt__p_wxMaximizeEvent
,
38504 &_swigt__p_wxMemoryDC
,
38506 &_swigt__p_wxMenuBar
,
38507 &_swigt__p_wxMenuEvent
,
38508 &_swigt__p_wxMenuItem
,
38509 &_swigt__p_wxMouseCaptureChangedEvent
,
38510 &_swigt__p_wxMouseEvent
,
38511 &_swigt__p_wxMoveEvent
,
38512 &_swigt__p_wxNavigationKeyEvent
,
38513 &_swigt__p_wxNcPaintEvent
,
38514 &_swigt__p_wxNotebook
,
38515 &_swigt__p_wxNotebookEvent
,
38516 &_swigt__p_wxNotifyEvent
,
38517 &_swigt__p_wxObject
,
38518 &_swigt__p_wxPCXHandler
,
38519 &_swigt__p_wxPNGHandler
,
38520 &_swigt__p_wxPNMHandler
,
38521 &_swigt__p_wxPaintEvent
,
38522 &_swigt__p_wxPaletteChangedEvent
,
38523 &_swigt__p_wxPaperSize
,
38524 &_swigt__p_wxPoint
,
38525 &_swigt__p_wxPyApp
,
38526 &_swigt__p_wxPyCommandEvent
,
38527 &_swigt__p_wxPyControl
,
38528 &_swigt__p_wxPyEvent
,
38529 &_swigt__p_wxPyImageHandler
,
38530 &_swigt__p_wxPyListCtrl
,
38531 &_swigt__p_wxPySizer
,
38532 &_swigt__p_wxPyTreeCtrl
,
38533 &_swigt__p_wxPyTreeItemData
,
38534 &_swigt__p_wxPyValidator
,
38535 &_swigt__p_wxQueryNewPaletteEvent
,
38536 &_swigt__p_wxRadioBox
,
38537 &_swigt__p_wxRadioButton
,
38539 &_swigt__p_wxScrollBar
,
38540 &_swigt__p_wxScrollEvent
,
38541 &_swigt__p_wxScrollWinEvent
,
38542 &_swigt__p_wxSetCursorEvent
,
38543 &_swigt__p_wxShowEvent
,
38544 &_swigt__p_wxSimpleHelpProvider
,
38546 &_swigt__p_wxSizeEvent
,
38547 &_swigt__p_wxSizer
,
38548 &_swigt__p_wxSizerItem
,
38549 &_swigt__p_wxSlider
,
38550 &_swigt__p_wxSpinButton
,
38551 &_swigt__p_wxSpinCtrl
,
38552 &_swigt__p_wxSpinEvent
,
38553 &_swigt__p_wxStaticBitmap
,
38554 &_swigt__p_wxStaticBox
,
38555 &_swigt__p_wxStaticBoxSizer
,
38556 &_swigt__p_wxStaticLine
,
38557 &_swigt__p_wxStaticText
,
38558 &_swigt__p_wxStdDialogButtonSizer
,
38559 &_swigt__p_wxString
,
38560 &_swigt__p_wxSysColourChangedEvent
,
38561 &_swigt__p_wxTIFFHandler
,
38562 &_swigt__p_wxTextAttr
,
38563 &_swigt__p_wxTextCtrl
,
38564 &_swigt__p_wxTextUrlEvent
,
38565 &_swigt__p_wxToggleButton
,
38566 &_swigt__p_wxToolBar
,
38567 &_swigt__p_wxToolBarBase
,
38568 &_swigt__p_wxToolBarToolBase
,
38569 &_swigt__p_wxToolbook
,
38570 &_swigt__p_wxToolbookEvent
,
38571 &_swigt__p_wxTreeCtrl
,
38572 &_swigt__p_wxTreeEvent
,
38573 &_swigt__p_wxTreeItemId
,
38574 &_swigt__p_wxTreebook
,
38575 &_swigt__p_wxTreebookEvent
,
38576 &_swigt__p_wxUpdateUIEvent
,
38577 &_swigt__p_wxValidator
,
38578 &_swigt__p_wxVisualAttributes
,
38579 &_swigt__p_wxWindow
,
38580 &_swigt__p_wxWindowCreateEvent
,
38581 &_swigt__p_wxWindowDestroyEvent
,
38582 &_swigt__p_wxXPMHandler
,
38583 &_swigt__ptrdiff_t
,
38584 &_swigt__std__ptrdiff_t
,
38585 &_swigt__unsigned_int
,
38588 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
38589 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
38590 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
38591 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
38592 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
38593 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
38594 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38595 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
38596 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
38597 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
38598 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
38599 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38600 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}};
38601 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}};
38602 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}};
38603 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}};
38604 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
38605 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
38606 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
38607 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
38608 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38609 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
38610 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
38611 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38612 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
38613 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38614 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38615 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38616 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38617 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38618 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38619 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}};
38620 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
38621 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
38622 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}};
38623 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
38624 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
38625 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
38626 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38627 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
38628 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38629 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
38630 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38631 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38632 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38633 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
38634 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
38635 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38636 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
38637 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38638 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38639 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38640 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38641 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38642 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38643 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38644 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38645 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38646 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38647 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38648 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38649 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38650 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38651 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38652 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38653 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38654 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}};
38655 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38656 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38657 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38658 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38659 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}};
38660 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38661 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
38662 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38663 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
38664 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
38665 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}};
38666 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38667 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
38668 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}};
38669 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38670 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}};
38671 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
38672 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
38673 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
38674 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
38675 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
38676 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38677 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
38678 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38679 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
38680 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38681 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}};
38682 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38683 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38684 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38685 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38686 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38687 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38688 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38689 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38690 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38691 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38692 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38693 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38694 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38695 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38696 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38697 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38698 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38699 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38700 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38701 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38702 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38703 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38704 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38705 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38706 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38707 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38708 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38709 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38710 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38711 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38712 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}};
38713 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38714 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38715 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
38716 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}};
38717 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38718 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
38719 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
38720 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
38721 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38722 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
38723 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
38724 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38725 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
38726 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
38727 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38728 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38729 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38730 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
38731 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
38732 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
38733 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38734 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
38735 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38736 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
38737 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
38738 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
38739 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}};
38740 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
38741 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
38742 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38743 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38744 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38745 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
38746 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
38747 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
38748 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}};
38749 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
38750 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}};
38751 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
38752 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
38753 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38755 static swig_cast_info
*swig_cast_initial
[] = {
38758 _swigc__p_form_ops_t
,
38761 _swigc__p_unsigned_char
,
38762 _swigc__p_unsigned_int
,
38763 _swigc__p_unsigned_long
,
38765 _swigc__p_wxANIHandler
,
38766 _swigc__p_wxAcceleratorTable
,
38767 _swigc__p_wxActivateEvent
,
38768 _swigc__p_wxArrayInt
,
38769 _swigc__p_wxArrayString
,
38770 _swigc__p_wxBMPHandler
,
38771 _swigc__p_wxBitmap
,
38772 _swigc__p_wxBitmapButton
,
38773 _swigc__p_wxBookCtrlBase
,
38774 _swigc__p_wxBookCtrlBaseEvent
,
38775 _swigc__p_wxBoxSizer
,
38776 _swigc__p_wxButton
,
38777 _swigc__p_wxCURHandler
,
38778 _swigc__p_wxCheckBox
,
38779 _swigc__p_wxCheckListBox
,
38780 _swigc__p_wxChildFocusEvent
,
38781 _swigc__p_wxChoice
,
38782 _swigc__p_wxChoicebook
,
38783 _swigc__p_wxChoicebookEvent
,
38784 _swigc__p_wxCloseEvent
,
38785 _swigc__p_wxColour
,
38786 _swigc__p_wxComboBox
,
38787 _swigc__p_wxCommandEvent
,
38788 _swigc__p_wxContextHelp
,
38789 _swigc__p_wxContextHelpButton
,
38790 _swigc__p_wxContextMenuEvent
,
38791 _swigc__p_wxControl
,
38792 _swigc__p_wxControlWithItems
,
38793 _swigc__p_wxCursor
,
38795 _swigc__p_wxDateEvent
,
38796 _swigc__p_wxDatePickerCtrl
,
38797 _swigc__p_wxDateTime
,
38798 _swigc__p_wxDirFilterListCtrl
,
38799 _swigc__p_wxDisplayChangedEvent
,
38800 _swigc__p_wxDropFilesEvent
,
38801 _swigc__p_wxDuplexMode
,
38802 _swigc__p_wxEraseEvent
,
38804 _swigc__p_wxEvtHandler
,
38805 _swigc__p_wxFSFile
,
38806 _swigc__p_wxFileSystem
,
38807 _swigc__p_wxFlexGridSizer
,
38808 _swigc__p_wxFocusEvent
,
38810 _swigc__p_wxGBSizerItem
,
38811 _swigc__p_wxGIFHandler
,
38813 _swigc__p_wxGenericDirCtrl
,
38814 _swigc__p_wxGenericDragImage
,
38815 _swigc__p_wxGridBagSizer
,
38816 _swigc__p_wxGridSizer
,
38817 _swigc__p_wxHelpEvent
,
38818 _swigc__p_wxHelpProvider
,
38819 _swigc__p_wxICOHandler
,
38821 _swigc__p_wxIconizeEvent
,
38822 _swigc__p_wxIdleEvent
,
38824 _swigc__p_wxImageHandler
,
38825 _swigc__p_wxImageList
,
38826 _swigc__p_wxIndividualLayoutConstraint
,
38827 _swigc__p_wxInitDialogEvent
,
38828 _swigc__p_wxItemContainer
,
38829 _swigc__p_wxJPEGHandler
,
38830 _swigc__p_wxKeyEvent
,
38831 _swigc__p_wxLayoutConstraints
,
38832 _swigc__p_wxListBox
,
38833 _swigc__p_wxListEvent
,
38834 _swigc__p_wxListItem
,
38835 _swigc__p_wxListItemAttr
,
38836 _swigc__p_wxListView
,
38837 _swigc__p_wxListbook
,
38838 _swigc__p_wxListbookEvent
,
38839 _swigc__p_wxMaximizeEvent
,
38840 _swigc__p_wxMemoryDC
,
38842 _swigc__p_wxMenuBar
,
38843 _swigc__p_wxMenuEvent
,
38844 _swigc__p_wxMenuItem
,
38845 _swigc__p_wxMouseCaptureChangedEvent
,
38846 _swigc__p_wxMouseEvent
,
38847 _swigc__p_wxMoveEvent
,
38848 _swigc__p_wxNavigationKeyEvent
,
38849 _swigc__p_wxNcPaintEvent
,
38850 _swigc__p_wxNotebook
,
38851 _swigc__p_wxNotebookEvent
,
38852 _swigc__p_wxNotifyEvent
,
38853 _swigc__p_wxObject
,
38854 _swigc__p_wxPCXHandler
,
38855 _swigc__p_wxPNGHandler
,
38856 _swigc__p_wxPNMHandler
,
38857 _swigc__p_wxPaintEvent
,
38858 _swigc__p_wxPaletteChangedEvent
,
38859 _swigc__p_wxPaperSize
,
38862 _swigc__p_wxPyCommandEvent
,
38863 _swigc__p_wxPyControl
,
38864 _swigc__p_wxPyEvent
,
38865 _swigc__p_wxPyImageHandler
,
38866 _swigc__p_wxPyListCtrl
,
38867 _swigc__p_wxPySizer
,
38868 _swigc__p_wxPyTreeCtrl
,
38869 _swigc__p_wxPyTreeItemData
,
38870 _swigc__p_wxPyValidator
,
38871 _swigc__p_wxQueryNewPaletteEvent
,
38872 _swigc__p_wxRadioBox
,
38873 _swigc__p_wxRadioButton
,
38875 _swigc__p_wxScrollBar
,
38876 _swigc__p_wxScrollEvent
,
38877 _swigc__p_wxScrollWinEvent
,
38878 _swigc__p_wxSetCursorEvent
,
38879 _swigc__p_wxShowEvent
,
38880 _swigc__p_wxSimpleHelpProvider
,
38882 _swigc__p_wxSizeEvent
,
38884 _swigc__p_wxSizerItem
,
38885 _swigc__p_wxSlider
,
38886 _swigc__p_wxSpinButton
,
38887 _swigc__p_wxSpinCtrl
,
38888 _swigc__p_wxSpinEvent
,
38889 _swigc__p_wxStaticBitmap
,
38890 _swigc__p_wxStaticBox
,
38891 _swigc__p_wxStaticBoxSizer
,
38892 _swigc__p_wxStaticLine
,
38893 _swigc__p_wxStaticText
,
38894 _swigc__p_wxStdDialogButtonSizer
,
38895 _swigc__p_wxString
,
38896 _swigc__p_wxSysColourChangedEvent
,
38897 _swigc__p_wxTIFFHandler
,
38898 _swigc__p_wxTextAttr
,
38899 _swigc__p_wxTextCtrl
,
38900 _swigc__p_wxTextUrlEvent
,
38901 _swigc__p_wxToggleButton
,
38902 _swigc__p_wxToolBar
,
38903 _swigc__p_wxToolBarBase
,
38904 _swigc__p_wxToolBarToolBase
,
38905 _swigc__p_wxToolbook
,
38906 _swigc__p_wxToolbookEvent
,
38907 _swigc__p_wxTreeCtrl
,
38908 _swigc__p_wxTreeEvent
,
38909 _swigc__p_wxTreeItemId
,
38910 _swigc__p_wxTreebook
,
38911 _swigc__p_wxTreebookEvent
,
38912 _swigc__p_wxUpdateUIEvent
,
38913 _swigc__p_wxValidator
,
38914 _swigc__p_wxVisualAttributes
,
38915 _swigc__p_wxWindow
,
38916 _swigc__p_wxWindowCreateEvent
,
38917 _swigc__p_wxWindowDestroyEvent
,
38918 _swigc__p_wxXPMHandler
,
38920 _swigc__std__ptrdiff_t
,
38921 _swigc__unsigned_int
,
38925 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38927 static swig_const_info swig_const_table
[] = {
38928 {0, 0, 0, 0.0, 0, 0}};
38933 /*************************************************************************
38934 * Type initialization:
38935 * This problem is tough by the requirement that no dynamic
38936 * memory is used. Also, since swig_type_info structures store pointers to
38937 * swig_cast_info structures and swig_cast_info structures store pointers back
38938 * to swig_type_info structures, we need some lookup code at initialization.
38939 * The idea is that swig generates all the structures that are needed.
38940 * The runtime then collects these partially filled structures.
38941 * The SWIG_InitializeModule function takes these initial arrays out of
38942 * swig_module, and does all the lookup, filling in the swig_module.types
38943 * array with the correct data and linking the correct swig_cast_info
38944 * structures together.
38946 * The generated swig_type_info structures are assigned staticly to an initial
38947 * array. We just loop though that array, and handle each type individually.
38948 * First we lookup if this type has been already loaded, and if so, use the
38949 * loaded structure instead of the generated one. Then we have to fill in the
38950 * cast linked list. The cast data is initially stored in something like a
38951 * two-dimensional array. Each row corresponds to a type (there are the same
38952 * number of rows as there are in the swig_type_initial array). Each entry in
38953 * a column is one of the swig_cast_info structures for that type.
38954 * The cast_initial array is actually an array of arrays, because each row has
38955 * a variable number of columns. So to actually build the cast linked list,
38956 * we find the array of casts associated with the type, and loop through it
38957 * adding the casts to the list. The one last trick we need to do is making
38958 * sure the type pointer in the swig_cast_info struct is correct.
38960 * First off, we lookup the cast->type name to see if it is already loaded.
38961 * There are three cases to handle:
38962 * 1) If the cast->type has already been loaded AND the type we are adding
38963 * casting info to has not been loaded (it is in this module), THEN we
38964 * replace the cast->type pointer with the type pointer that has already
38966 * 2) If BOTH types (the one we are adding casting info to, and the
38967 * cast->type) are loaded, THEN the cast info has already been loaded by
38968 * the previous module so we just ignore it.
38969 * 3) Finally, if cast->type has not already been loaded, then we add that
38970 * swig_cast_info to the linked list (because the cast->type) pointer will
38982 #define SWIGRUNTIME_DEBUG
38986 SWIG_InitializeModule(void *clientdata
) {
38988 swig_module_info
*module_head
;
38989 static int init_run
= 0;
38991 clientdata
= clientdata
;
38993 if (init_run
) return;
38996 /* Initialize the swig_module */
38997 swig_module
.type_initial
= swig_type_initial
;
38998 swig_module
.cast_initial
= swig_cast_initial
;
39000 /* Try and load any already created modules */
39001 module_head
= SWIG_GetModule(clientdata
);
39003 swig_module
.next
= module_head
->next
;
39004 module_head
->next
= &swig_module
;
39006 /* This is the first module loaded */
39007 swig_module
.next
= &swig_module
;
39008 SWIG_SetModule(clientdata
, &swig_module
);
39011 /* Now work on filling in swig_module.types */
39012 #ifdef SWIGRUNTIME_DEBUG
39013 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
39015 for (i
= 0; i
< swig_module
.size
; ++i
) {
39016 swig_type_info
*type
= 0;
39017 swig_type_info
*ret
;
39018 swig_cast_info
*cast
;
39020 #ifdef SWIGRUNTIME_DEBUG
39021 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39024 /* if there is another module already loaded */
39025 if (swig_module
.next
!= &swig_module
) {
39026 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
39029 /* Overwrite clientdata field */
39030 #ifdef SWIGRUNTIME_DEBUG
39031 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
39033 if (swig_module
.type_initial
[i
]->clientdata
) {
39034 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
39035 #ifdef SWIGRUNTIME_DEBUG
39036 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
39040 type
= swig_module
.type_initial
[i
];
39043 /* Insert casting types */
39044 cast
= swig_module
.cast_initial
[i
];
39045 while (cast
->type
) {
39046 /* Don't need to add information already in the list */
39048 #ifdef SWIGRUNTIME_DEBUG
39049 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
39051 if (swig_module
.next
!= &swig_module
) {
39052 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
39053 #ifdef SWIGRUNTIME_DEBUG
39054 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
39058 if (type
== swig_module
.type_initial
[i
]) {
39059 #ifdef SWIGRUNTIME_DEBUG
39060 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
39065 /* Check for casting already in the list */
39066 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
39067 #ifdef SWIGRUNTIME_DEBUG
39068 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39070 if (!ocast
) ret
= 0;
39075 #ifdef SWIGRUNTIME_DEBUG
39076 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39079 type
->cast
->prev
= cast
;
39080 cast
->next
= type
->cast
;
39086 /* Set entry in modules->types array equal to the type */
39087 swig_module
.types
[i
] = type
;
39089 swig_module
.types
[i
] = 0;
39091 #ifdef SWIGRUNTIME_DEBUG
39092 printf("**** SWIG_InitializeModule: Cast List ******\n");
39093 for (i
= 0; i
< swig_module
.size
; ++i
) {
39095 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39096 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39097 while (cast
->type
) {
39098 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39102 printf("---- Total casts: %d\n",j
);
39104 printf("**** SWIG_InitializeModule: Cast List ******\n");
39108 /* This function will propagate the clientdata field of type to
39109 * any new swig_type_info structures that have been added into the list
39110 * of equivalent types. It is like calling
39111 * SWIG_TypeClientData(type, clientdata) a second time.
39114 SWIG_PropagateClientData(void) {
39116 swig_cast_info
*equiv
;
39117 static int init_run
= 0;
39119 if (init_run
) return;
39122 for (i
= 0; i
< swig_module
.size
; i
++) {
39123 if (swig_module
.types
[i
]->clientdata
) {
39124 equiv
= swig_module
.types
[i
]->cast
;
39126 if (!equiv
->converter
) {
39127 if (equiv
->type
&& !equiv
->type
->clientdata
)
39128 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
39130 equiv
= equiv
->next
;
39150 /* Python-specific SWIG API */
39151 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39152 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39153 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39155 /* -----------------------------------------------------------------------------
39156 * global variable support code.
39157 * ----------------------------------------------------------------------------- */
39159 typedef struct swig_globalvar
{
39160 char *name
; /* Name of global variable */
39161 PyObject
*(*get_attr
)(void); /* Return the current value */
39162 int (*set_attr
)(PyObject
*); /* Set the value */
39163 struct swig_globalvar
*next
;
39166 typedef struct swig_varlinkobject
{
39168 swig_globalvar
*vars
;
39169 } swig_varlinkobject
;
39171 SWIGINTERN PyObject
*
39172 swig_varlink_repr(swig_varlinkobject
*v
) {
39174 return PyString_FromString("<Swig global variables>");
39178 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
39179 swig_globalvar
*var
;
39181 fprintf(fp
,"Swig global variables { ");
39182 for (var
= v
->vars
; var
; var
=var
->next
) {
39183 fprintf(fp
,"%s", var
->name
);
39184 if (var
->next
) fprintf(fp
,", ");
39186 fprintf(fp
," }\n");
39190 SWIGINTERN PyObject
*
39191 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39192 swig_globalvar
*var
= v
->vars
;
39194 if (strcmp(var
->name
,n
) == 0) {
39195 return (*var
->get_attr
)();
39199 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39204 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39205 swig_globalvar
*var
= v
->vars
;
39207 if (strcmp(var
->name
,n
) == 0) {
39208 return (*var
->set_attr
)(p
);
39212 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39216 SWIGINTERN PyTypeObject
*
39217 swig_varlink_type(void) {
39218 static char varlink__doc__
[] = "Swig var link object";
39219 static PyTypeObject varlink_type
39220 #if !defined(__cplusplus)
39222 static int type_init
= 0;
39227 PyObject_HEAD_INIT(&PyType_Type
)
39228 0, /* Number of items in variable part (ob_size) */
39229 (char *)"swigvarlink", /* Type name (tp_name) */
39230 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39231 0, /* Itemsize (tp_itemsize) */
39232 0, /* Deallocator (tp_dealloc) */
39233 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39234 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39235 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39236 0, /* tp_compare */
39237 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39238 0, /* tp_as_number */
39239 0, /* tp_as_sequence */
39240 0, /* tp_as_mapping */
39244 0, /* tp_getattro */
39245 0, /* tp_setattro */
39246 0, /* tp_as_buffer */
39248 varlink__doc__
, /* tp_doc */
39249 #if PY_VERSION_HEX >= 0x02000000
39250 0, /* tp_traverse */
39253 #if PY_VERSION_HEX >= 0x02010000
39254 0, /* tp_richcompare */
39255 0, /* tp_weaklistoffset */
39257 #if PY_VERSION_HEX >= 0x02020000
39258 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39260 #if PY_VERSION_HEX >= 0x02030000
39263 #ifdef COUNT_ALLOCS
39264 0,0,0,0 /* tp_alloc -> tp_next */
39267 #if !defined(__cplusplus)
39268 varlink_type
= tmp
;
39272 return &varlink_type
;
39275 /* Create a variable linking object for use later */
39276 SWIGINTERN PyObject
*
39277 SWIG_Python_newvarlink(void) {
39278 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39282 return ((PyObject
*) result
);
39286 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39287 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39288 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39290 size_t size
= strlen(name
)+1;
39291 gv
->name
= (char *)malloc(size
);
39293 strncpy(gv
->name
,name
,size
);
39294 gv
->get_attr
= get_attr
;
39295 gv
->set_attr
= set_attr
;
39296 gv
->next
= v
->vars
;
39302 /* -----------------------------------------------------------------------------
39303 * constants/methods manipulation
39304 * ----------------------------------------------------------------------------- */
39306 /* Install Constants */
39308 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39311 for (i
= 0; constants
[i
].type
; ++i
) {
39312 switch(constants
[i
].type
) {
39314 obj
= PyInt_FromLong(constants
[i
].lvalue
);
39316 case SWIG_PY_FLOAT
:
39317 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
39319 case SWIG_PY_STRING
:
39320 if (constants
[i
].pvalue
) {
39321 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
39323 Py_INCREF(Py_None
);
39327 case SWIG_PY_POINTER
:
39328 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39330 case SWIG_PY_BINARY
:
39331 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39338 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
39344 /* -----------------------------------------------------------------------------*/
39345 /* Fix SwigMethods to carry the callback ptrs when needed */
39346 /* -----------------------------------------------------------------------------*/
39349 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39350 swig_const_info
*const_table
,
39351 swig_type_info
**types
,
39352 swig_type_info
**types_initial
) {
39354 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39355 char *c
= methods
[i
].ml_doc
;
39356 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39358 swig_const_info
*ci
= 0;
39359 char *name
= c
+ 10;
39360 for (j
= 0; const_table
[j
].type
; ++j
) {
39361 if (strncmp(const_table
[j
].name
, name
,
39362 strlen(const_table
[j
].name
)) == 0) {
39363 ci
= &(const_table
[j
]);
39368 size_t shift
= (ci
->ptype
) - types
;
39369 swig_type_info
*ty
= types_initial
[shift
];
39370 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39371 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39372 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39375 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39377 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39379 strncpy(buff
, "swig_ptr: ", 10);
39381 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
39382 methods
[i
].ml_doc
= ndoc
;
39390 /* -----------------------------------------------------------------------------*
39391 * Initialize type list
39392 * -----------------------------------------------------------------------------*/
39398 /* -----------------------------------------------------------------------------*
39399 * Partial Init method
39400 * -----------------------------------------------------------------------------*/
39405 SWIGEXPORT
void SWIG_init(void) {
39406 static PyObject
*SWIG_globals
= 0;
39408 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
39410 /* Fix SwigMethods to carry the callback ptrs when needed */
39411 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
39413 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
39414 d
= PyModule_GetDict(m
);
39416 SWIG_InitializeModule(0);
39417 SWIG_InstallConstants(d
,swig_const_table
);
39419 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
39420 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
39422 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT
)));
39425 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP
)));
39428 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT
)));
39431 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM
)));
39434 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK
)));
39437 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT
)));
39440 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW
)));
39442 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
39444 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE
)));
39447 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE
)));
39450 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
39453 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED
)));
39456 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED
)));
39459 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED
)));
39461 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
39462 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
39463 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
39465 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL
)));
39468 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL
)));
39471 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH
)));
39474 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR
)));
39476 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
39477 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
39478 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
39479 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
39480 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
39482 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL
)));
39485 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL
)));
39488 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY
)));
39491 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE
)));
39494 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB
)));
39497 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT
)));
39500 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER
)));
39503 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT
)));
39506 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE
)));
39509 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH
)));
39512 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER
)));
39515 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD
)));
39518 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL
)));
39521 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL
)));
39524 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP
)));
39527 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP
)));
39530 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP
)));
39533 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP
)));
39536 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP
)));
39539 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2
)));
39542 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE
)));
39545 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT
)));
39548 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT
)));
39551 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE
)));
39554 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER
)));
39557 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT
)));
39560 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
39563 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR
)));
39566 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
39569 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE
)));
39572 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE
)));
39575 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT
)));
39578 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC
)));
39581 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
39584 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT
)));
39587 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT
)));
39590 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT
)));
39593 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT
)));
39596 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS
)));
39599 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN
)));
39602 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE
)));
39605 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT
)));
39608 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW
)));
39611 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND
)));
39614 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord
)));
39617 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord
)));
39619 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
39620 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
39621 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
39622 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
39623 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
39624 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
39625 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
39627 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL
)));
39630 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL
)));
39633 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS
)));
39636 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP
)));
39638 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
39639 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
39640 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
39641 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
39643 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL
)));
39646 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL
)));
39649 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS
)));
39652 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS
)));
39655 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS
)));
39658 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT
)));
39661 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP
)));
39664 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT
)));
39667 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM
)));
39670 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH
)));
39673 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE
)));
39676 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE
)));
39678 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
39679 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
39680 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
39682 PyDict_SetItemString(d
,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT
)));
39685 PyDict_SetItemString(d
,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP
)));
39688 PyDict_SetItemString(d
,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM
)));
39691 PyDict_SetItemString(d
,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT
)));
39694 PyDict_SetItemString(d
,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT
)));
39697 PyDict_SetItemString(d
,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK
)));
39700 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH
)));
39703 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP
)));
39706 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT
)));
39709 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT
)));
39712 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM
)));
39715 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE
)));
39718 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME
)));
39721 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE
)));
39724 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON
)));
39727 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL
)));
39730 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM
)));
39732 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
39733 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
39735 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT
)));
39738 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP
)));
39741 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM
)));
39744 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT
)));
39747 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT
)));
39750 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK
)));
39752 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
39753 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
39755 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT
)));
39758 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP
)));
39761 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM
)));
39764 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT
)));
39767 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT
)));
39770 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK
)));
39772 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
39773 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
39774 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
39775 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
39776 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
39777 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
39778 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
39779 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
39781 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON
)));
39784 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR
)));
39787 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL
)));
39790 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL
)));
39793 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL
)));
39796 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS
)));
39799 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT
)));
39802 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE
)));
39805 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS
)));
39808 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT
)));
39811 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER
)));
39814 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN
)));
39817 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT
)));
39820 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT
)));
39822 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
39824 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES
)));
39827 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES
)));
39830 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON
)));
39833 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON
)));
39836 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST
)));
39839 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT
)));
39842 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP
)));
39845 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT
)));
39848 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE
)));
39851 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL
)));
39854 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS
)));
39857 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER
)));
39860 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER
)));
39863 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL
)));
39866 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING
)));
39869 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING
)));
39872 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE
)));
39875 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN
)));
39878 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT
)));
39881 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE
)));
39884 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT
)));
39887 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE
)));
39890 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA
)));
39893 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM
)));
39896 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH
)));
39899 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT
)));
39902 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE
)));
39905 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED
)));
39908 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED
)));
39911 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED
)));
39914 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT
)));
39917 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED
)));
39920 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED
)));
39923 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE
)));
39926 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED
)));
39929 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE
)));
39932 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE
)));
39935 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW
)));
39938 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE
)));
39941 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON
)));
39944 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL
)));
39947 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT
)));
39950 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
39953 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT
)));
39956 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT
)));
39959 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM
)));
39962 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE
)));
39965 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL
)));
39968 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW
)));
39971 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT
)));
39974 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT
)));
39977 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT
)));
39980 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT
)));
39983 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP
)));
39986 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
39989 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT
)));
39992 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT
)));
39995 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE
)));
39998 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER
)));
40001 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE
)));
40004 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER
)));
40007 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS
)));
40010 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON
)));
40013 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL
)));
40016 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP
)));
40019 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN
)));
40022 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT
)));
40025 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT
)));
40027 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
40028 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
40029 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
40030 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
40031 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
40032 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
40033 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
40034 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
40035 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
40036 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
40037 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
40038 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
40039 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
40040 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
40041 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
40042 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
40043 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
40044 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
40045 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
40046 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
40048 // Map renamed classes back to their common name for OOR
40049 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
40051 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
40053 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS
)));
40056 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS
)));
40059 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES
)));
40062 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT
)));
40065 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE
)));
40068 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE
)));
40071 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED
)));
40074 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
40077 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS
)));
40080 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT
)));
40083 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES
)));
40086 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT
)));
40089 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE
)));
40092 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS
)));
40095 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS
)));
40098 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS
)));
40101 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal
)));
40104 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected
)));
40107 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded
)));
40110 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded
)));
40113 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max
)));
40116 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE
)));
40119 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW
)));
40122 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE
)));
40125 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON
)));
40128 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON
)));
40131 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT
)));
40134 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL
)));
40137 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT
)));
40140 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
40143 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT
)));
40146 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT
)));
40149 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
40152 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
40155 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM
)));
40157 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
40158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
40159 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
40160 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
40161 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
40162 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
40163 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
40164 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
40165 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
40166 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
40167 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
40168 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
40169 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
40170 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
40171 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
40172 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
40173 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
40174 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
40175 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
40176 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
40177 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
40179 // Map renamed classes back to their common name for OOR
40180 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40181 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40183 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
40185 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY
)));
40188 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST
)));
40191 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS
)));
40194 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL
)));
40197 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS
)));
40200 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP
)));
40203 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP
)));
40205 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
40206 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
40208 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40210 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
40212 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT
)));
40215 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN
)));
40218 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN
)));
40221 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY
)));
40224 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE
)));