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 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[138]
2605 #define SWIGTYPE_p_wxSize swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSlider swig_types[143]
2610 #define SWIGTYPE_p_wxSpinButton swig_types[144]
2611 #define SWIGTYPE_p_wxSpinCtrl swig_types[145]
2612 #define SWIGTYPE_p_wxSpinEvent swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBitmap swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBox swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStaticLine swig_types[150]
2617 #define SWIGTYPE_p_wxStaticText swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTextAttr swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextUrlEvent swig_types[159]
2626 #define SWIGTYPE_p_wxToggleButton swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxToolBarBase swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarToolBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolbook swig_types[164]
2631 #define SWIGTYPE_p_wxToolbookEvent swig_types[165]
2632 #define SWIGTYPE_p_wxTreeEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeItemId swig_types[167]
2634 #define SWIGTYPE_p_wxTreebook swig_types[168]
2635 #define SWIGTYPE_p_wxTreebookEvent swig_types[169]
2636 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[170]
2637 #define SWIGTYPE_p_wxValidator swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowBase swig_types[174]
2641 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[175]
2642 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176]
2643 #define SWIGTYPE_p_wxXPMHandler swig_types[177]
2644 static swig_type_info
*swig_types
[179];
2645 static swig_module_info swig_module
= {swig_types
, 178, 0, 0, 0, 0};
2646 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2647 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2649 /* -------- TYPES TABLE (END) -------- */
2651 #if (PY_VERSION_HEX <= 0x02000000)
2652 # if !defined(SWIG_PYTHON_CLASSIC)
2653 # error "This python version requires to use swig with the '-classic' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodern' option"
2659 #if (PY_VERSION_HEX <= 0x02020000)
2660 # error "This python version requires to use swig with the '-nomodernargs' option"
2663 # error "This python version requires to use swig with the '-nofastunpack' option"
2666 /*-----------------------------------------------
2667 @(target):= _controls_.so
2668 ------------------------------------------------*/
2669 #define SWIG_init init_controls_
2671 #define SWIG_name "_controls_"
2673 #define SWIGVERSION 0x010329
2676 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2677 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2680 #include <stdexcept>
2684 class PyObject_ptr
{
2689 PyObject_ptr() :_obj(0)
2693 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2698 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2700 if (initial_ref
) Py_XINCREF(_obj
);
2703 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2705 Py_XINCREF(item
._obj
);
2716 operator PyObject
*() const
2721 PyObject
*operator->() const
2730 struct PyObject_var
: PyObject_ptr
{
2731 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2733 PyObject_var
& operator = (PyObject
* obj
)
2743 #include "wx/wxPython/wxPython.h"
2744 #include "wx/wxPython/pyclasses.h"
2746 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2747 static const wxString
wxPyEmptyString(wxEmptyString
);
2748 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2750 const wxArrayString wxPyEmptyStringArray
;
2752 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2754 #define SWIG_From_long PyInt_FromLong
2757 SWIGINTERNINLINE PyObject
*
2758 SWIG_From_int (int value
)
2760 return SWIG_From_long (value
);
2766 # define LLONG_MIN LONG_LONG_MIN
2769 # define LLONG_MAX LONG_LONG_MAX
2772 # define ULLONG_MAX ULONG_LONG_MAX
2777 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2779 if (PyNumber_Check(obj
)) {
2780 if (val
) *val
= PyInt_AsLong(obj
);
2783 return SWIG_TypeError
;
2788 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2791 int res
= SWIG_AsVal_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< int >(v
);
2802 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2805 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2807 if (obj
== Py_True
) {
2808 if (val
) *val
= true;
2810 } else if (obj
== Py_False
) {
2811 if (val
) *val
= false;
2815 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2816 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2821 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2822 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2823 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2824 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2825 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2826 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 #include <wx/checklst.h>
2830 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2831 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2834 wxPyClientData
* data
= new wxPyClientData(clientData
);
2835 self
->Insert(item
, pos
, data
);
2838 self
->Insert(item
, pos
);
2842 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2845 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2846 return SWIG_TypeError
;
2849 *val
= (unsigned long)v
;
2855 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2858 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
> UINT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< unsigned int >(v
);
2869 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2870 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2872 self
->GetSelections(lst
);
2873 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2874 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2876 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2878 wxPyEndBlockThreads(blocked
);
2881 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2883 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2884 self
->GetItem(item
)->SetTextColour(c
);
2887 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2889 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2890 self
->GetItem(item
)->SetBackgroundColour(c
);
2893 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2895 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2896 self
->GetItem(item
)->SetFont(f
);
2899 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2900 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2901 self
->AppendText(text
);
2903 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2904 return self
->GetValue().Mid(from
, to
- from
);
2906 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2907 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2908 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2909 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2910 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2912 SWIGINTERNINLINE PyObject
*
2913 SWIG_From_unsigned_SS_long (unsigned long value
)
2915 return (value
> LONG_MAX
) ?
2916 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_size_t (size_t value
)
2923 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2927 SWIGINTERNINLINE PyObject
*
2928 SWIG_From_unsigned_SS_int (unsigned int value
)
2930 return SWIG_From_unsigned_SS_long (value
);
2934 #include <wx/slider.h>
2937 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2938 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2940 #if !wxUSE_TOGGLEBTN
2941 // implement dummy items for platforms that don't have this class
2943 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2945 class wxToggleButton
: public wxControl
2948 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2949 const wxPoint
&, const wxSize
&, long,
2950 const wxValidator
&, const wxString
&)
2951 { wxPyRaiseNotImplemented(); }
2954 { wxPyRaiseNotImplemented(); }
2958 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2960 SWIGINTERNINLINE
int
2961 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2964 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2965 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2969 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2970 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2971 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2973 Py_INCREF(udata
->m_obj
);
2974 return udata
->m_obj
;
2980 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2981 self
->SetClientData(new wxPyUserData(clientData
));
2983 SWIGINTERN 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
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 SWIGINTERN 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
){
2991 wxPyUserData
* udata
= NULL
;
2992 if (clientData
&& clientData
!= Py_None
)
2993 udata
= new wxPyUserData(clientData
);
2994 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2995 shortHelp
, longHelp
, udata
);
2997 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2998 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3000 Py_INCREF(udata
->m_obj
);
3001 return udata
->m_obj
;
3007 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3008 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3011 #include <wx/listctrl.h>
3013 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3014 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3015 // Python aware sorting function for wxPyListCtrl
3016 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3018 PyObject
* func
= (PyObject
*)funcPtr
;
3019 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3021 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3022 PyObject
* result
= PyEval_CallObject(func
, args
);
3025 retval
= PyInt_AsLong(result
);
3029 wxPyEndBlockThreads(blocked
);
3033 // C++ Version of a Python aware class
3034 class wxPyListCtrl
: public wxListCtrl
{
3035 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3037 wxPyListCtrl() : wxListCtrl() {}
3038 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3042 const wxValidator
& validator
,
3043 const wxString
& name
) :
3044 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3046 bool Create(wxWindow
* parent
, wxWindowID id
,
3050 const wxValidator
& validator
,
3051 const wxString
& name
) {
3052 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3055 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3056 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3058 // use the virtual version to avoid a confusing assert in the base class
3059 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3060 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3065 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3067 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3068 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3069 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3070 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3073 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3075 item
.SetMask( wxLIST_MASK_STATE
|
3083 if (self
->GetColumn(col
, item
))
3084 return new wxListItem(item
);
3088 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3089 wxListItem
* info
= new wxListItem
;
3090 info
->m_itemId
= itemId
;
3092 info
->m_mask
= 0xFFFF;
3093 self
->GetItem(*info
);
3096 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3098 self
->GetItemPosition(item
, pos
);
3101 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3103 self
->GetItemRect(item
, rect
, code
);
3106 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3107 if (!PyCallable_Check(func
))
3109 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3111 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3115 return (wxWindow
*)self
->m_mainWin
;
3119 #include <wx/treectrl.h>
3120 #include "wx/wxPython/pytree.h"
3122 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3123 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3124 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3125 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3127 static wxTreeItemId wxNullTreeItemId
;
3129 // C++ version of Python aware wxTreeCtrl
3130 class wxPyTreeCtrl
: public wxTreeCtrl
{
3131 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3133 wxPyTreeCtrl() : wxTreeCtrl() {}
3134 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3138 const wxValidator
& validator
,
3139 const wxString
& name
) :
3140 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3142 bool Create(wxWindow
*parent
, wxWindowID id
,
3146 const wxValidator
& validator
,
3147 const wxString
& name
) {
3148 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3152 int OnCompareItems(const wxTreeItemId
& item1
,
3153 const wxTreeItemId
& item2
) {
3156 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3157 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3158 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3159 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3160 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3164 wxPyEndBlockThreads(blocked
);
3166 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3172 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3175 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3176 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3178 data
= new wxPyTreeItemData();
3179 data
->SetId(item
); // set the id
3180 self
->SetItemData(item
, data
);
3184 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3185 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3187 data
= new wxPyTreeItemData();
3188 data
->SetId(item
); // set the id
3189 self
->SetItemData(item
, data
);
3191 return data
->GetData();
3193 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3194 data
->SetId(item
); // set the id
3195 self
->SetItemData(item
, data
);
3197 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3198 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3200 data
= new wxPyTreeItemData(obj
);
3201 data
->SetId(item
); // set the id
3202 self
->SetItemData(item
, data
);
3206 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 PyObject
* rval
= PyList_New(0);
3209 wxArrayTreeItemIds array
;
3211 num
= self
->GetSelections(array
);
3212 for (x
=0; x
< num
; x
++) {
3213 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3214 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3215 PyList_Append(rval
, item
);
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3223 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3224 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3225 PyObject
* tup
= PyTuple_New(2);
3226 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3227 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3228 wxPyEndBlockThreads(blocked
);
3231 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3232 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3234 PyObject
* tup
= PyTuple_New(2);
3235 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3236 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3237 wxPyEndBlockThreads(blocked
);
3240 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3242 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3243 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3244 wxRect
* r
= new wxRect(rect
);
3245 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3246 wxPyEndBlockThreads(blocked
);
3252 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3254 SWIGINTERNINLINE PyObject
*
3255 SWIG_From_bool (bool value
)
3257 return PyBool_FromLong(value
? 1 : 0);
3260 // C++ version of Python aware wxControl
3261 class wxPyControl
: public wxControl
3263 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3265 wxPyControl() : wxControl() {}
3266 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3267 const wxPoint
& pos
= wxDefaultPosition
,
3268 const wxSize
& size
= wxDefaultSize
,
3270 const wxValidator
& validator
=wxDefaultValidator
,
3271 const wxString
& name
= wxPyControlNameStr
)
3272 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3275 bool DoEraseBackground(wxDC
* dc
) {
3277 return wxWindow::DoEraseBackground(dc
->GetHDC());
3279 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3285 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3286 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3287 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3294 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3295 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3297 DEC_PYCALLBACK__(InitDialog
);
3298 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3299 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3300 DEC_PYCALLBACK_BOOL_(Validate
);
3302 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3304 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3306 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3309 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3310 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3312 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3314 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3319 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3321 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3322 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3323 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3330 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3333 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3335 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3338 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3340 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3342 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3345 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3346 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3348 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3350 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3354 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3356 #include <wx/generic/dragimgg.h>
3358 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3359 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3361 self
->GetRange(&rv
, NULL
);
3364 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3366 self
->GetRange(NULL
, &rv
);
3369 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3370 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3371 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3372 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3373 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3374 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3375 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3376 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3377 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3382 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3387 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3388 PyObject
*pyobj
= 0;
3392 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3394 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3401 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
= 0;
3403 wxWindow
*arg1
= (wxWindow
*) 0 ;
3404 int arg2
= (int) -1 ;
3405 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3406 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3407 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3408 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3409 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3410 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3411 long arg6
= (long) 0 ;
3412 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3413 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3414 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3415 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3416 wxButton
*result
= 0 ;
3421 bool temp3
= false ;
3428 bool temp8
= false ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3431 PyObject
* obj2
= 0 ;
3432 PyObject
* obj3
= 0 ;
3433 PyObject
* obj4
= 0 ;
3434 PyObject
* obj5
= 0 ;
3435 PyObject
* obj6
= 0 ;
3436 PyObject
* obj7
= 0 ;
3437 char * kwnames
[] = {
3438 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3443 if (!SWIG_IsOK(res1
)) {
3444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3449 if (!SWIG_IsOK(ecode2
)) {
3450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3452 arg2
= static_cast< int >(val2
);
3456 arg3
= wxString_in_helper(obj2
);
3457 if (arg3
== NULL
) SWIG_fail
;
3464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3474 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3475 if (!SWIG_IsOK(ecode6
)) {
3476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3478 arg6
= static_cast< long >(val6
);
3481 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3482 if (!SWIG_IsOK(res7
)) {
3483 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3488 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3492 arg8
= wxString_in_helper(obj7
);
3493 if (arg8
== NULL
) SWIG_fail
;
3498 if (!wxPyCheckForApp()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3527 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3528 PyObject
*resultobj
= 0;
3529 wxButton
*result
= 0 ;
3531 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3533 if (!wxPyCheckForApp()) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 result
= (wxButton
*)new wxButton();
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3546 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
*resultobj
= 0;
3548 wxButton
*arg1
= (wxButton
*) 0 ;
3549 wxWindow
*arg2
= (wxWindow
*) 0 ;
3550 int arg3
= (int) -1 ;
3551 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3552 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3553 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3554 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3555 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3556 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3557 long arg7
= (long) 0 ;
3558 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3559 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3560 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3561 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3569 bool temp4
= false ;
3576 bool temp9
= false ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3579 PyObject
* obj2
= 0 ;
3580 PyObject
* obj3
= 0 ;
3581 PyObject
* obj4
= 0 ;
3582 PyObject
* obj5
= 0 ;
3583 PyObject
* obj6
= 0 ;
3584 PyObject
* obj7
= 0 ;
3585 PyObject
* obj8
= 0 ;
3586 char * kwnames
[] = {
3587 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3592 if (!SWIG_IsOK(res1
)) {
3593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3595 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3596 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3597 if (!SWIG_IsOK(res2
)) {
3598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3600 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3603 if (!SWIG_IsOK(ecode3
)) {
3604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3606 arg3
= static_cast< int >(val3
);
3610 arg4
= wxString_in_helper(obj3
);
3611 if (arg4
== NULL
) SWIG_fail
;
3618 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3624 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3628 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3629 if (!SWIG_IsOK(ecode7
)) {
3630 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3632 arg7
= static_cast< long >(val7
);
3635 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3636 if (!SWIG_IsOK(res8
)) {
3637 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3642 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3646 arg9
= wxString_in_helper(obj8
);
3647 if (arg9
== NULL
) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3682 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3683 PyObject
*resultobj
= 0;
3684 wxButton
*arg1
= (wxButton
*) 0 ;
3687 PyObject
*swig_obj
[1] ;
3689 if (!args
) SWIG_fail
;
3691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3692 if (!SWIG_IsOK(res1
)) {
3693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3695 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->SetDefault();
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= SWIG_Py_Void();
3709 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3710 PyObject
*resultobj
= 0;
3713 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= wxButton::GetDefaultSize();
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3727 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
= 0;
3729 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3730 SwigValueWrapper
<wxVisualAttributes
> result
;
3733 PyObject
* obj0
= 0 ;
3734 char * kwnames
[] = {
3735 (char *) "variant", NULL
3738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3740 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3741 if (!SWIG_IsOK(ecode1
)) {
3742 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3744 arg1
= static_cast< wxWindowVariant
>(val1
);
3747 if (!wxPyCheckForApp()) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= wxButton::GetClassDefaultAttributes(arg1
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3760 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3763 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3764 return SWIG_Py_Void();
3767 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3768 return SWIG_Python_InitShadowInstance(args
);
3771 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
= 0;
3773 wxWindow
*arg1
= (wxWindow
*) 0 ;
3774 int arg2
= (int) -1 ;
3775 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3776 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3781 long arg6
= (long) wxBU_AUTODRAW
;
3782 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3783 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3784 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3785 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3786 wxBitmapButton
*result
= 0 ;
3799 bool temp8
= false ;
3800 PyObject
* obj0
= 0 ;
3801 PyObject
* obj1
= 0 ;
3802 PyObject
* obj2
= 0 ;
3803 PyObject
* obj3
= 0 ;
3804 PyObject
* obj4
= 0 ;
3805 PyObject
* obj5
= 0 ;
3806 PyObject
* obj6
= 0 ;
3807 PyObject
* obj7
= 0 ;
3808 char * kwnames
[] = {
3809 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3814 if (!SWIG_IsOK(res1
)) {
3815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3820 if (!SWIG_IsOK(ecode2
)) {
3821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3823 arg2
= static_cast< int >(val2
);
3826 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3827 if (!SWIG_IsOK(res3
)) {
3828 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3833 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3848 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3849 if (!SWIG_IsOK(ecode6
)) {
3850 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3852 arg6
= static_cast< long >(val6
);
3855 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3856 if (!SWIG_IsOK(res7
)) {
3857 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3862 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3866 arg8
= wxString_in_helper(obj7
);
3867 if (arg8
== NULL
) SWIG_fail
;
3872 if (!wxPyCheckForApp()) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3893 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3894 PyObject
*resultobj
= 0;
3895 wxBitmapButton
*result
= 0 ;
3897 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3899 if (!wxPyCheckForApp()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxBitmapButton
*)new wxBitmapButton();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3912 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
= 0;
3914 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3915 wxWindow
*arg2
= (wxWindow
*) 0 ;
3916 int arg3
= (int) -1 ;
3917 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3918 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3919 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3920 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3921 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3922 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3923 long arg7
= (long) wxBU_AUTODRAW
;
3924 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3925 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3926 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3927 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3943 bool temp9
= false ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3947 PyObject
* obj3
= 0 ;
3948 PyObject
* obj4
= 0 ;
3949 PyObject
* obj5
= 0 ;
3950 PyObject
* obj6
= 0 ;
3951 PyObject
* obj7
= 0 ;
3952 PyObject
* obj8
= 0 ;
3953 char * kwnames
[] = {
3954 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3959 if (!SWIG_IsOK(res1
)) {
3960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3962 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3964 if (!SWIG_IsOK(res2
)) {
3965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3970 if (!SWIG_IsOK(ecode3
)) {
3971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3973 arg3
= static_cast< int >(val3
);
3976 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3977 if (!SWIG_IsOK(res4
)) {
3978 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3983 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3988 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3994 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3998 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3999 if (!SWIG_IsOK(ecode7
)) {
4000 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4002 arg7
= static_cast< long >(val7
);
4005 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4006 if (!SWIG_IsOK(res8
)) {
4007 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4012 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4016 arg9
= wxString_in_helper(obj8
);
4017 if (arg9
== NULL
) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4044 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4045 PyObject
*resultobj
= 0;
4046 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4050 PyObject
*swig_obj
[1] ;
4052 if (!args
) SWIG_fail
;
4054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4055 if (!SWIG_IsOK(res1
)) {
4056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4058 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (arg1
)->GetBitmapLabel();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4072 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4073 PyObject
*resultobj
= 0;
4074 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4078 PyObject
*swig_obj
[1] ;
4080 if (!args
) SWIG_fail
;
4082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4083 if (!SWIG_IsOK(res1
)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4086 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (arg1
)->GetBitmapDisabled();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4100 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4101 PyObject
*resultobj
= 0;
4102 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4106 PyObject
*swig_obj
[1] ;
4108 if (!args
) SWIG_fail
;
4110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4111 if (!SWIG_IsOK(res1
)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4114 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (arg1
)->GetBitmapFocus();
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4128 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4129 PyObject
*resultobj
= 0;
4130 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4134 PyObject
*swig_obj
[1] ;
4136 if (!args
) SWIG_fail
;
4138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4139 if (!SWIG_IsOK(res1
)) {
4140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4142 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (arg1
)->GetBitmapSelected();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4156 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4157 PyObject
*resultobj
= 0;
4158 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4162 PyObject
*swig_obj
[1] ;
4164 if (!args
) SWIG_fail
;
4166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4167 if (!SWIG_IsOK(res1
)) {
4168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4170 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= (arg1
)->GetBitmapHover();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4184 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
= 0;
4186 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4187 wxBitmap
*arg2
= 0 ;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4194 char * kwnames
[] = {
4195 (char *) "self",(char *) "bitmap", NULL
4198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4200 if (!SWIG_IsOK(res1
)) {
4201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4203 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4205 if (!SWIG_IsOK(res2
)) {
4206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4211 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_Py_Void();
4225 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= 0;
4227 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4228 wxBitmap
*arg2
= 0 ;
4233 PyObject
* obj0
= 0 ;
4234 PyObject
* obj1
= 0 ;
4235 char * kwnames
[] = {
4236 (char *) "self",(char *) "bitmap", NULL
4239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4241 if (!SWIG_IsOK(res1
)) {
4242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4244 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4246 if (!SWIG_IsOK(res2
)) {
4247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4252 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_Py_Void();
4266 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
= 0;
4268 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4269 wxBitmap
*arg2
= 0 ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 char * kwnames
[] = {
4277 (char *) "self",(char *) "bitmap", NULL
4280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4282 if (!SWIG_IsOK(res1
)) {
4283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4285 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4287 if (!SWIG_IsOK(res2
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4293 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= SWIG_Py_Void();
4307 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
= 0;
4309 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4310 wxBitmap
*arg2
= 0 ;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4317 char * kwnames
[] = {
4318 (char *) "self",(char *) "bitmap", NULL
4321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4323 if (!SWIG_IsOK(res1
)) {
4324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4326 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4328 if (!SWIG_IsOK(res2
)) {
4329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4334 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_Py_Void();
4348 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
= 0;
4350 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4351 wxBitmap
*arg2
= 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 char * kwnames
[] = {
4359 (char *) "self",(char *) "hover", NULL
4362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4367 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4369 if (!SWIG_IsOK(res2
)) {
4370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4375 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= SWIG_Py_Void();
4389 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
= 0;
4391 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4402 PyObject
* obj2
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "x",(char *) "y", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4412 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4414 if (!SWIG_IsOK(ecode2
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4417 arg2
= static_cast< int >(val2
);
4418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4419 if (!SWIG_IsOK(ecode3
)) {
4420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4422 arg3
= static_cast< int >(val3
);
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 (arg1
)->SetMargins(arg2
,arg3
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= SWIG_Py_Void();
4436 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4437 PyObject
*resultobj
= 0;
4438 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4442 PyObject
*swig_obj
[1] ;
4444 if (!args
) SWIG_fail
;
4446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4447 if (!SWIG_IsOK(res1
)) {
4448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4450 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_From_int(static_cast< int >(result
));
4464 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4465 PyObject
*resultobj
= 0;
4466 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4470 PyObject
*swig_obj
[1] ;
4472 if (!args
) SWIG_fail
;
4474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4475 if (!SWIG_IsOK(res1
)) {
4476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4478 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_From_int(static_cast< int >(result
));
4492 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4495 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4496 return SWIG_Py_Void();
4499 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4500 return SWIG_Python_InitShadowInstance(args
);
4503 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4504 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4509 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4510 PyObject
*pyobj
= 0;
4514 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4516 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4523 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
= 0;
4525 wxWindow
*arg1
= (wxWindow
*) 0 ;
4526 int arg2
= (int) -1 ;
4527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4533 long arg6
= (long) 0 ;
4534 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4535 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4536 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4537 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4538 wxCheckBox
*result
= 0 ;
4543 bool temp3
= false ;
4550 bool temp8
= false ;
4551 PyObject
* obj0
= 0 ;
4552 PyObject
* obj1
= 0 ;
4553 PyObject
* obj2
= 0 ;
4554 PyObject
* obj3
= 0 ;
4555 PyObject
* obj4
= 0 ;
4556 PyObject
* obj5
= 0 ;
4557 PyObject
* obj6
= 0 ;
4558 PyObject
* obj7
= 0 ;
4559 char * kwnames
[] = {
4560 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4565 if (!SWIG_IsOK(res1
)) {
4566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4571 if (!SWIG_IsOK(ecode2
)) {
4572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4574 arg2
= static_cast< int >(val2
);
4578 arg3
= wxString_in_helper(obj2
);
4579 if (arg3
== NULL
) SWIG_fail
;
4586 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4592 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4596 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4597 if (!SWIG_IsOK(ecode6
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4600 arg6
= static_cast< long >(val6
);
4603 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4604 if (!SWIG_IsOK(res7
)) {
4605 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4610 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4614 arg8
= wxString_in_helper(obj7
);
4615 if (arg8
== NULL
) SWIG_fail
;
4620 if (!wxPyCheckForApp()) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4649 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4650 PyObject
*resultobj
= 0;
4651 wxCheckBox
*result
= 0 ;
4653 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4655 if (!wxPyCheckForApp()) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= (wxCheckBox
*)new wxCheckBox();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4668 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4670 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4671 wxWindow
*arg2
= (wxWindow
*) 0 ;
4672 int arg3
= (int) -1 ;
4673 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4674 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4675 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4676 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4677 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4678 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4679 long arg7
= (long) 0 ;
4680 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4681 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4682 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4683 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4691 bool temp4
= false ;
4698 bool temp9
= false ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4701 PyObject
* obj2
= 0 ;
4702 PyObject
* obj3
= 0 ;
4703 PyObject
* obj4
= 0 ;
4704 PyObject
* obj5
= 0 ;
4705 PyObject
* obj6
= 0 ;
4706 PyObject
* obj7
= 0 ;
4707 PyObject
* obj8
= 0 ;
4708 char * kwnames
[] = {
4709 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4714 if (!SWIG_IsOK(res1
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4717 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4719 if (!SWIG_IsOK(res2
)) {
4720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4725 if (!SWIG_IsOK(ecode3
)) {
4726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4728 arg3
= static_cast< int >(val3
);
4732 arg4
= wxString_in_helper(obj3
);
4733 if (arg4
== NULL
) SWIG_fail
;
4740 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4746 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4750 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4751 if (!SWIG_IsOK(ecode7
)) {
4752 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4754 arg7
= static_cast< long >(val7
);
4757 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4758 if (!SWIG_IsOK(res8
)) {
4759 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4764 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4768 arg9
= wxString_in_helper(obj8
);
4769 if (arg9
== NULL
) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4804 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4805 PyObject
*resultobj
= 0;
4806 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4818 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)(arg1
)->GetValue();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4835 PyObject
*resultobj
= 0;
4836 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4840 PyObject
*swig_obj
[1] ;
4842 if (!args
) SWIG_fail
;
4844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4845 if (!SWIG_IsOK(res1
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4848 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (bool)(arg1
)->IsChecked();
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4864 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
= 0;
4866 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4874 char * kwnames
[] = {
4875 (char *) "self",(char *) "state", NULL
4878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4880 if (!SWIG_IsOK(res1
)) {
4881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4883 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4885 if (!SWIG_IsOK(ecode2
)) {
4886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4888 arg2
= static_cast< bool >(val2
);
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 (arg1
)->SetValue(arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= SWIG_Py_Void();
4902 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4903 PyObject
*resultobj
= 0;
4904 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4905 wxCheckBoxState result
;
4908 PyObject
*swig_obj
[1] ;
4910 if (!args
) SWIG_fail
;
4912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4913 if (!SWIG_IsOK(res1
)) {
4914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4916 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_From_int(static_cast< int >(result
));
4930 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
= 0;
4932 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4933 wxCheckBoxState arg2
;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 char * kwnames
[] = {
4941 (char *) "self",(char *) "state", NULL
4944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4946 if (!SWIG_IsOK(res1
)) {
4947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4949 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4951 if (!SWIG_IsOK(ecode2
)) {
4952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4954 arg2
= static_cast< wxCheckBoxState
>(val2
);
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 (arg1
)->Set3StateValue(arg2
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= SWIG_Py_Void();
4968 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4982 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4999 PyObject
*resultobj
= 0;
5000 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5004 PyObject
*swig_obj
[1] ;
5006 if (!args
) SWIG_fail
;
5008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5009 if (!SWIG_IsOK(res1
)) {
5010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5012 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5028 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
= 0;
5030 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5031 SwigValueWrapper
<wxVisualAttributes
> result
;
5034 PyObject
* obj0
= 0 ;
5035 char * kwnames
[] = {
5036 (char *) "variant", NULL
5039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5042 if (!SWIG_IsOK(ecode1
)) {
5043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5045 arg1
= static_cast< wxWindowVariant
>(val1
);
5048 if (!wxPyCheckForApp()) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5061 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5064 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5065 return SWIG_Py_Void();
5068 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5069 return SWIG_Python_InitShadowInstance(args
);
5072 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5073 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5078 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5079 PyObject
*pyobj
= 0;
5083 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5085 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5092 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
= 0;
5094 wxWindow
*arg1
= (wxWindow
*) 0 ;
5095 int arg2
= (int) -1 ;
5096 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5097 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5098 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5099 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5100 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5101 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5102 long arg6
= (long) 0 ;
5103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5105 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5107 wxChoice
*result
= 0 ;
5114 bool temp5
= false ;
5119 bool temp8
= false ;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5122 PyObject
* obj2
= 0 ;
5123 PyObject
* obj3
= 0 ;
5124 PyObject
* obj4
= 0 ;
5125 PyObject
* obj5
= 0 ;
5126 PyObject
* obj6
= 0 ;
5127 PyObject
* obj7
= 0 ;
5128 char * kwnames
[] = {
5129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5134 if (!SWIG_IsOK(res1
)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5140 if (!SWIG_IsOK(ecode2
)) {
5141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5143 arg2
= static_cast< int >(val2
);
5148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5154 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5159 if (! PySequence_Check(obj4
)) {
5160 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5163 arg5
= new wxArrayString
;
5165 int i
, len
=PySequence_Length(obj4
);
5166 for (i
=0; i
<len
; i
++) {
5167 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5168 wxString
* s
= wxString_in_helper(item
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5177 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5178 if (!SWIG_IsOK(ecode6
)) {
5179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5181 arg6
= static_cast< long >(val6
);
5184 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5185 if (!SWIG_IsOK(res7
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5191 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5195 arg8
= wxString_in_helper(obj7
);
5196 if (arg8
== NULL
) SWIG_fail
;
5201 if (!wxPyCheckForApp()) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5209 if (temp5
) delete arg5
;
5218 if (temp5
) delete arg5
;
5228 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5229 PyObject
*resultobj
= 0;
5230 wxChoice
*result
= 0 ;
5232 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5234 if (!wxPyCheckForApp()) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= (wxChoice
*)new wxChoice();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5247 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
= 0;
5249 wxChoice
*arg1
= (wxChoice
*) 0 ;
5250 wxWindow
*arg2
= (wxWindow
*) 0 ;
5251 int arg3
= (int) -1 ;
5252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5256 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5257 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5258 long arg7
= (long) 0 ;
5259 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5260 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5261 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5262 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5272 bool temp6
= false ;
5277 bool temp9
= false ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5280 PyObject
* obj2
= 0 ;
5281 PyObject
* obj3
= 0 ;
5282 PyObject
* obj4
= 0 ;
5283 PyObject
* obj5
= 0 ;
5284 PyObject
* obj6
= 0 ;
5285 PyObject
* obj7
= 0 ;
5286 PyObject
* obj8
= 0 ;
5287 char * kwnames
[] = {
5288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5293 if (!SWIG_IsOK(res1
)) {
5294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5296 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5298 if (!SWIG_IsOK(res2
)) {
5299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5301 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5304 if (!SWIG_IsOK(ecode3
)) {
5305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5307 arg3
= static_cast< int >(val3
);
5312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5323 if (! PySequence_Check(obj5
)) {
5324 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5327 arg6
= new wxArrayString
;
5329 int i
, len
=PySequence_Length(obj5
);
5330 for (i
=0; i
<len
; i
++) {
5331 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5332 wxString
* s
= wxString_in_helper(item
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5341 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5342 if (!SWIG_IsOK(ecode7
)) {
5343 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5345 arg7
= static_cast< long >(val7
);
5348 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5349 if (!SWIG_IsOK(res8
)) {
5350 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5355 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5359 arg9
= wxString_in_helper(obj8
);
5360 if (arg9
== NULL
) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5374 if (temp6
) delete arg6
;
5383 if (temp6
) delete arg6
;
5393 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 PyObject
*resultobj
= 0;
5395 wxChoice
*arg1
= (wxChoice
*) 0 ;
5399 PyObject
*swig_obj
[1] ;
5401 if (!args
) SWIG_fail
;
5403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5404 if (!SWIG_IsOK(res1
)) {
5405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5407 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_From_int(static_cast< int >(result
));
5421 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
= 0;
5423 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5424 SwigValueWrapper
<wxVisualAttributes
> result
;
5427 PyObject
* obj0
= 0 ;
5428 char * kwnames
[] = {
5429 (char *) "variant", NULL
5432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5434 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5435 if (!SWIG_IsOK(ecode1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5438 arg1
= static_cast< wxWindowVariant
>(val1
);
5441 if (!wxPyCheckForApp()) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5454 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5457 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5458 return SWIG_Py_Void();
5461 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5462 return SWIG_Python_InitShadowInstance(args
);
5465 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5466 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5471 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5472 PyObject
*pyobj
= 0;
5476 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5478 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5485 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
= 0;
5487 wxWindow
*arg1
= (wxWindow
*) 0 ;
5488 int arg2
= (int) -1 ;
5489 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5490 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5495 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5496 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5497 long arg7
= (long) 0 ;
5498 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5499 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5500 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5501 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5502 wxComboBox
*result
= 0 ;
5507 bool temp3
= false ;
5510 bool temp6
= false ;
5515 bool temp9
= false ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5518 PyObject
* obj2
= 0 ;
5519 PyObject
* obj3
= 0 ;
5520 PyObject
* obj4
= 0 ;
5521 PyObject
* obj5
= 0 ;
5522 PyObject
* obj6
= 0 ;
5523 PyObject
* obj7
= 0 ;
5524 PyObject
* obj8
= 0 ;
5525 char * kwnames
[] = {
5526 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5531 if (!SWIG_IsOK(res1
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5537 if (!SWIG_IsOK(ecode2
)) {
5538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5540 arg2
= static_cast< int >(val2
);
5544 arg3
= wxString_in_helper(obj2
);
5545 if (arg3
== NULL
) SWIG_fail
;
5552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5563 if (! PySequence_Check(obj5
)) {
5564 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5567 arg6
= new wxArrayString
;
5569 int i
, len
=PySequence_Length(obj5
);
5570 for (i
=0; i
<len
; i
++) {
5571 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5572 wxString
* s
= wxString_in_helper(item
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5581 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5582 if (!SWIG_IsOK(ecode7
)) {
5583 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5585 arg7
= static_cast< long >(val7
);
5588 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5589 if (!SWIG_IsOK(res8
)) {
5590 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5595 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5599 arg9
= wxString_in_helper(obj8
);
5600 if (arg9
== NULL
) SWIG_fail
;
5605 if (!wxPyCheckForApp()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 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
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5617 if (temp6
) delete arg6
;
5630 if (temp6
) delete arg6
;
5640 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5641 PyObject
*resultobj
= 0;
5642 wxComboBox
*result
= 0 ;
5644 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5646 if (!wxPyCheckForApp()) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (wxComboBox
*)new wxComboBox();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5659 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
= 0;
5661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5662 wxWindow
*arg2
= (wxWindow
*) 0 ;
5663 int arg3
= (int) -1 ;
5664 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5665 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5666 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5667 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5668 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5669 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5670 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5671 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5672 long arg8
= (long) 0 ;
5673 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5674 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5675 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5676 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5684 bool temp4
= false ;
5687 bool temp7
= false ;
5692 bool temp10
= false ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 PyObject
* obj2
= 0 ;
5696 PyObject
* obj3
= 0 ;
5697 PyObject
* obj4
= 0 ;
5698 PyObject
* obj5
= 0 ;
5699 PyObject
* obj6
= 0 ;
5700 PyObject
* obj7
= 0 ;
5701 PyObject
* obj8
= 0 ;
5702 PyObject
* obj9
= 0 ;
5703 char * kwnames
[] = {
5704 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5709 if (!SWIG_IsOK(res1
)) {
5710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5712 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5714 if (!SWIG_IsOK(res2
)) {
5715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5720 if (!SWIG_IsOK(ecode3
)) {
5721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5723 arg3
= static_cast< int >(val3
);
5727 arg4
= wxString_in_helper(obj3
);
5728 if (arg4
== NULL
) SWIG_fail
;
5735 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5741 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5746 if (! PySequence_Check(obj6
)) {
5747 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5750 arg7
= new wxArrayString
;
5752 int i
, len
=PySequence_Length(obj6
);
5753 for (i
=0; i
<len
; i
++) {
5754 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5755 wxString
* s
= wxString_in_helper(item
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5764 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5765 if (!SWIG_IsOK(ecode8
)) {
5766 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5768 arg8
= static_cast< long >(val8
);
5771 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5772 if (!SWIG_IsOK(res9
)) {
5773 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5778 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5782 arg10
= wxString_in_helper(obj9
);
5783 if (arg10
== NULL
) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 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
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5801 if (temp7
) delete arg7
;
5814 if (temp7
) delete arg7
;
5824 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5825 PyObject
*resultobj
= 0;
5826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5830 PyObject
*swig_obj
[1] ;
5832 if (!args
) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5838 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= ((wxComboBox
const *)arg1
)->GetValue();
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5858 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
= 0;
5860 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5861 wxString
*arg2
= 0 ;
5864 bool temp2
= false ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 char * kwnames
[] = {
5868 (char *) "self",(char *) "value", NULL
5871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5873 if (!SWIG_IsOK(res1
)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5876 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5878 arg2
= wxString_in_helper(obj1
);
5879 if (arg2
== NULL
) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 (arg1
)->SetValue((wxString
const &)*arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_Py_Void();
5903 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5904 PyObject
*resultobj
= 0;
5905 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5908 PyObject
*swig_obj
[1] ;
5910 if (!args
) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5916 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= SWIG_Py_Void();
5930 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5931 PyObject
*resultobj
= 0;
5932 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5935 PyObject
*swig_obj
[1] ;
5937 if (!args
) SWIG_fail
;
5939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5940 if (!SWIG_IsOK(res1
)) {
5941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5943 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5958 PyObject
*resultobj
= 0;
5959 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5962 PyObject
*swig_obj
[1] ;
5964 if (!args
) SWIG_fail
;
5966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5967 if (!SWIG_IsOK(res1
)) {
5968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5970 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_Py_Void();
5984 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
= 0;
5986 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5994 char * kwnames
[] = {
5995 (char *) "self",(char *) "pos", NULL
5998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6000 if (!SWIG_IsOK(res1
)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6003 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6004 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6005 if (!SWIG_IsOK(ecode2
)) {
6006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6008 arg2
= static_cast< long >(val2
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 (arg1
)->SetInsertionPoint(arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_Py_Void();
6022 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6023 PyObject
*resultobj
= 0;
6024 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6028 PyObject
*swig_obj
[1] ;
6030 if (!args
) SWIG_fail
;
6032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6033 if (!SWIG_IsOK(res1
)) {
6034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6036 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_From_long(static_cast< long >(result
));
6050 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6051 PyObject
*resultobj
= 0;
6052 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6056 PyObject
*swig_obj
[1] ;
6058 if (!args
) SWIG_fail
;
6060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6061 if (!SWIG_IsOK(res1
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6064 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= SWIG_From_long(static_cast< long >(result
));
6078 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
= 0;
6080 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6083 wxString
*arg4
= 0 ;
6090 bool temp4
= false ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6093 PyObject
* obj2
= 0 ;
6094 PyObject
* obj3
= 0 ;
6095 char * kwnames
[] = {
6096 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6101 if (!SWIG_IsOK(res1
)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6104 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6105 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6106 if (!SWIG_IsOK(ecode2
)) {
6107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6109 arg2
= static_cast< long >(val2
);
6110 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6111 if (!SWIG_IsOK(ecode3
)) {
6112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6114 arg3
= static_cast< long >(val3
);
6116 arg4
= wxString_in_helper(obj3
);
6117 if (arg4
== NULL
) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= SWIG_Py_Void();
6141 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
= 0;
6143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6155 char * kwnames
[] = {
6156 (char *) "self",(char *) "from",(char *) "to", NULL
6159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6161 if (!SWIG_IsOK(res1
)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6164 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6165 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6166 if (!SWIG_IsOK(ecode2
)) {
6167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6169 arg2
= static_cast< long >(val2
);
6170 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6171 if (!SWIG_IsOK(ecode3
)) {
6172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6174 arg3
= static_cast< long >(val3
);
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 (arg1
)->SetSelection(arg2
,arg3
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_Py_Void();
6188 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6189 PyObject
*resultobj
= 0;
6190 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6191 long *arg2
= (long *) 0 ;
6192 long *arg3
= (long *) 0 ;
6196 int res2
= SWIG_TMPOBJ
;
6198 int res3
= SWIG_TMPOBJ
;
6199 PyObject
*swig_obj
[1] ;
6203 if (!args
) SWIG_fail
;
6205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6206 if (!SWIG_IsOK(res1
)) {
6207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6209 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 (arg1
)->GetSelection(arg2
,arg3
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_Py_Void();
6217 if (SWIG_IsTmpObj(res2
)) {
6218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6220 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6223 if (SWIG_IsTmpObj(res3
)) {
6224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6235 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6236 PyObject
*resultobj
= 0;
6237 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6241 PyObject
*swig_obj
[1] ;
6243 if (!args
) SWIG_fail
;
6245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6246 if (!SWIG_IsOK(res1
)) {
6247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6249 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= SWIG_From_int(static_cast< int >(result
));
6263 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
= 0;
6265 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6266 wxString
*arg2
= 0 ;
6270 bool temp2
= false ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6273 char * kwnames
[] = {
6274 (char *) "self",(char *) "string", NULL
6277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6279 if (!SWIG_IsOK(res1
)) {
6280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6282 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6284 arg2
= wxString_in_helper(obj1
);
6285 if (arg2
== NULL
) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6311 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
= 0;
6313 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "self",(char *) "editable", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6327 if (!SWIG_IsOK(res1
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6330 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6331 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6332 if (!SWIG_IsOK(ecode2
)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6335 arg2
= static_cast< bool >(val2
);
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 (arg1
)->SetEditable(arg2
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= SWIG_Py_Void();
6349 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6350 PyObject
*resultobj
= 0;
6351 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6354 PyObject
*swig_obj
[1] ;
6356 if (!args
) SWIG_fail
;
6358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6359 if (!SWIG_IsOK(res1
)) {
6360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6362 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 (arg1
)->SetInsertionPointEnd();
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_Py_Void();
6376 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
= 0;
6378 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 char * kwnames
[] = {
6391 (char *) "self",(char *) "from",(char *) "to", NULL
6394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6396 if (!SWIG_IsOK(res1
)) {
6397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6399 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6400 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6401 if (!SWIG_IsOK(ecode2
)) {
6402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6404 arg2
= static_cast< long >(val2
);
6405 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6406 if (!SWIG_IsOK(ecode3
)) {
6407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6409 arg3
= static_cast< long >(val3
);
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 (arg1
)->Remove(arg2
,arg3
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_Py_Void();
6423 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6424 PyObject
*resultobj
= 0;
6425 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6429 PyObject
*swig_obj
[1] ;
6431 if (!args
) SWIG_fail
;
6433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6434 if (!SWIG_IsOK(res1
)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6437 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6453 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6454 PyObject
*resultobj
= 0;
6455 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6458 PyObject
*swig_obj
[1] ;
6460 if (!args
) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6466 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_Py_Void();
6480 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6481 PyObject
*resultobj
= 0;
6482 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6485 PyObject
*swig_obj
[1] ;
6487 if (!args
) SWIG_fail
;
6489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6490 if (!SWIG_IsOK(res1
)) {
6491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6493 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= SWIG_Py_Void();
6507 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6508 PyObject
*resultobj
= 0;
6509 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6512 PyObject
*swig_obj
[1] ;
6514 if (!args
) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6520 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 (arg1
)->SelectAll();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_Py_Void();
6534 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6535 PyObject
*resultobj
= 0;
6536 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6540 PyObject
*swig_obj
[1] ;
6542 if (!args
) SWIG_fail
;
6544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6545 if (!SWIG_IsOK(res1
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6548 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6564 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6565 PyObject
*resultobj
= 0;
6566 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6570 PyObject
*swig_obj
[1] ;
6572 if (!args
) SWIG_fail
;
6574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6575 if (!SWIG_IsOK(res1
)) {
6576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6578 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6594 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6595 PyObject
*resultobj
= 0;
6596 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6600 PyObject
*swig_obj
[1] ;
6602 if (!args
) SWIG_fail
;
6604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6605 if (!SWIG_IsOK(res1
)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6608 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6624 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6625 PyObject
*resultobj
= 0;
6626 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6630 PyObject
*swig_obj
[1] ;
6632 if (!args
) SWIG_fail
;
6634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6635 if (!SWIG_IsOK(res1
)) {
6636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6638 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6654 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6655 PyObject
*resultobj
= 0;
6656 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6660 PyObject
*swig_obj
[1] ;
6662 if (!args
) SWIG_fail
;
6664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6665 if (!SWIG_IsOK(res1
)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6668 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6684 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
= 0;
6686 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6687 SwigValueWrapper
<wxVisualAttributes
> result
;
6690 PyObject
* obj0
= 0 ;
6691 char * kwnames
[] = {
6692 (char *) "variant", NULL
6695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6697 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6698 if (!SWIG_IsOK(ecode1
)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6701 arg1
= static_cast< wxWindowVariant
>(val1
);
6704 if (!wxPyCheckForApp()) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6717 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6720 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6721 return SWIG_Py_Void();
6724 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6725 return SWIG_Python_InitShadowInstance(args
);
6728 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6729 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6734 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6735 PyObject
*pyobj
= 0;
6739 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6741 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6748 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
= 0;
6750 wxWindow
*arg1
= (wxWindow
*) 0 ;
6751 int arg2
= (int) -1 ;
6752 int arg3
= (int) 100 ;
6753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6757 long arg6
= (long) wxGA_HORIZONTAL
;
6758 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6759 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6760 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6761 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6762 wxGauge
*result
= 0 ;
6775 bool temp8
= false ;
6776 PyObject
* obj0
= 0 ;
6777 PyObject
* obj1
= 0 ;
6778 PyObject
* obj2
= 0 ;
6779 PyObject
* obj3
= 0 ;
6780 PyObject
* obj4
= 0 ;
6781 PyObject
* obj5
= 0 ;
6782 PyObject
* obj6
= 0 ;
6783 PyObject
* obj7
= 0 ;
6784 char * kwnames
[] = {
6785 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6790 if (!SWIG_IsOK(res1
)) {
6791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6793 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6796 if (!SWIG_IsOK(ecode2
)) {
6797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6799 arg2
= static_cast< int >(val2
);
6802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6803 if (!SWIG_IsOK(ecode3
)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6806 arg3
= static_cast< int >(val3
);
6811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6821 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6822 if (!SWIG_IsOK(ecode6
)) {
6823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6825 arg6
= static_cast< long >(val6
);
6828 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6829 if (!SWIG_IsOK(res7
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6835 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6839 arg8
= wxString_in_helper(obj7
);
6840 if (arg8
== NULL
) SWIG_fail
;
6845 if (!wxPyCheckForApp()) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6866 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6867 PyObject
*resultobj
= 0;
6868 wxGauge
*result
= 0 ;
6870 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6872 if (!wxPyCheckForApp()) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 result
= (wxGauge
*)new wxGauge();
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6885 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
= 0;
6887 wxGauge
*arg1
= (wxGauge
*) 0 ;
6888 wxWindow
*arg2
= (wxWindow
*) 0 ;
6889 int arg3
= (int) -1 ;
6890 int arg4
= (int) 100 ;
6891 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6892 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6893 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6894 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6895 long arg7
= (long) wxGA_HORIZONTAL
;
6896 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6897 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6898 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6899 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6915 bool temp9
= false ;
6916 PyObject
* obj0
= 0 ;
6917 PyObject
* obj1
= 0 ;
6918 PyObject
* obj2
= 0 ;
6919 PyObject
* obj3
= 0 ;
6920 PyObject
* obj4
= 0 ;
6921 PyObject
* obj5
= 0 ;
6922 PyObject
* obj6
= 0 ;
6923 PyObject
* obj7
= 0 ;
6924 PyObject
* obj8
= 0 ;
6925 char * kwnames
[] = {
6926 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6931 if (!SWIG_IsOK(res1
)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6934 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6936 if (!SWIG_IsOK(res2
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6939 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6942 if (!SWIG_IsOK(ecode3
)) {
6943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6945 arg3
= static_cast< int >(val3
);
6948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6949 if (!SWIG_IsOK(ecode4
)) {
6950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6952 arg4
= static_cast< int >(val4
);
6957 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6963 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6967 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6968 if (!SWIG_IsOK(ecode7
)) {
6969 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6971 arg7
= static_cast< long >(val7
);
6974 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6975 if (!SWIG_IsOK(res8
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6981 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6985 arg9
= wxString_in_helper(obj8
);
6986 if (arg9
== NULL
) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7013 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
= 0;
7015 wxGauge
*arg1
= (wxGauge
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7023 char * kwnames
[] = {
7024 (char *) "self",(char *) "range", NULL
7027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7029 if (!SWIG_IsOK(res1
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7032 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7034 if (!SWIG_IsOK(ecode2
)) {
7035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7037 arg2
= static_cast< int >(val2
);
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 (arg1
)->SetRange(arg2
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= SWIG_Py_Void();
7051 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7052 PyObject
*resultobj
= 0;
7053 wxGauge
*arg1
= (wxGauge
*) 0 ;
7057 PyObject
*swig_obj
[1] ;
7059 if (!args
) SWIG_fail
;
7061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7062 if (!SWIG_IsOK(res1
)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7065 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= SWIG_From_int(static_cast< int >(result
));
7079 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
= 0;
7081 wxGauge
*arg1
= (wxGauge
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7088 PyObject
* obj1
= 0 ;
7089 char * kwnames
[] = {
7090 (char *) "self",(char *) "pos", NULL
7093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7095 if (!SWIG_IsOK(res1
)) {
7096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7098 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7100 if (!SWIG_IsOK(ecode2
)) {
7101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7103 arg2
= static_cast< int >(val2
);
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 (arg1
)->SetValue(arg2
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_Py_Void();
7117 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7118 PyObject
*resultobj
= 0;
7119 wxGauge
*arg1
= (wxGauge
*) 0 ;
7123 PyObject
*swig_obj
[1] ;
7125 if (!args
) SWIG_fail
;
7127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7128 if (!SWIG_IsOK(res1
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7131 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_From_int(static_cast< int >(result
));
7145 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 PyObject
*resultobj
= 0;
7147 wxGauge
*arg1
= (wxGauge
*) 0 ;
7150 PyObject
*swig_obj
[1] ;
7152 if (!args
) SWIG_fail
;
7154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7155 if (!SWIG_IsOK(res1
)) {
7156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7158 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= SWIG_Py_Void();
7172 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7173 PyObject
*resultobj
= 0;
7174 wxGauge
*arg1
= (wxGauge
*) 0 ;
7178 PyObject
*swig_obj
[1] ;
7180 if (!args
) SWIG_fail
;
7182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7183 if (!SWIG_IsOK(res1
)) {
7184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7186 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7202 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
= 0;
7204 wxGauge
*arg1
= (wxGauge
*) 0 ;
7210 PyObject
* obj0
= 0 ;
7211 PyObject
* obj1
= 0 ;
7212 char * kwnames
[] = {
7213 (char *) "self",(char *) "w", NULL
7216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7218 if (!SWIG_IsOK(res1
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7221 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7223 if (!SWIG_IsOK(ecode2
)) {
7224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7226 arg2
= static_cast< int >(val2
);
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 (arg1
)->SetShadowWidth(arg2
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_Py_Void();
7240 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7241 PyObject
*resultobj
= 0;
7242 wxGauge
*arg1
= (wxGauge
*) 0 ;
7246 PyObject
*swig_obj
[1] ;
7248 if (!args
) SWIG_fail
;
7250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7251 if (!SWIG_IsOK(res1
)) {
7252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7254 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= SWIG_From_int(static_cast< int >(result
));
7268 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
= 0;
7270 wxGauge
*arg1
= (wxGauge
*) 0 ;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7278 char * kwnames
[] = {
7279 (char *) "self",(char *) "w", NULL
7282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7284 if (!SWIG_IsOK(res1
)) {
7285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7287 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7289 if (!SWIG_IsOK(ecode2
)) {
7290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7292 arg2
= static_cast< int >(val2
);
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 (arg1
)->SetBezelFace(arg2
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= SWIG_Py_Void();
7306 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7307 PyObject
*resultobj
= 0;
7308 wxGauge
*arg1
= (wxGauge
*) 0 ;
7312 PyObject
*swig_obj
[1] ;
7314 if (!args
) SWIG_fail
;
7316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7317 if (!SWIG_IsOK(res1
)) {
7318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7320 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= SWIG_From_int(static_cast< int >(result
));
7334 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
= 0;
7336 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7337 SwigValueWrapper
<wxVisualAttributes
> result
;
7340 PyObject
* obj0
= 0 ;
7341 char * kwnames
[] = {
7342 (char *) "variant", NULL
7345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7347 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7348 if (!SWIG_IsOK(ecode1
)) {
7349 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7351 arg1
= static_cast< wxWindowVariant
>(val1
);
7354 if (!wxPyCheckForApp()) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7367 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7370 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7371 return SWIG_Py_Void();
7374 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7375 return SWIG_Python_InitShadowInstance(args
);
7378 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7379 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7384 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7385 PyObject
*pyobj
= 0;
7389 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7391 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7398 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7399 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7404 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7405 PyObject
*pyobj
= 0;
7409 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7411 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7418 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7419 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7424 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7425 PyObject
*pyobj
= 0;
7429 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7431 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7438 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
= 0;
7440 wxWindow
*arg1
= (wxWindow
*) 0 ;
7441 int arg2
= (int) -1 ;
7442 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7443 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7444 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7445 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7446 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7447 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7448 long arg6
= (long) 0 ;
7449 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7450 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7451 wxStaticBox
*result
= 0 ;
7456 bool temp3
= false ;
7461 bool temp7
= false ;
7462 PyObject
* obj0
= 0 ;
7463 PyObject
* obj1
= 0 ;
7464 PyObject
* obj2
= 0 ;
7465 PyObject
* obj3
= 0 ;
7466 PyObject
* obj4
= 0 ;
7467 PyObject
* obj5
= 0 ;
7468 PyObject
* obj6
= 0 ;
7469 char * kwnames
[] = {
7470 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7475 if (!SWIG_IsOK(res1
)) {
7476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7478 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7481 if (!SWIG_IsOK(ecode2
)) {
7482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7484 arg2
= static_cast< int >(val2
);
7488 arg3
= wxString_in_helper(obj2
);
7489 if (arg3
== NULL
) SWIG_fail
;
7496 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7502 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7506 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7507 if (!SWIG_IsOK(ecode6
)) {
7508 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7510 arg6
= static_cast< long >(val6
);
7514 arg7
= wxString_in_helper(obj6
);
7515 if (arg7
== NULL
) SWIG_fail
;
7520 if (!wxPyCheckForApp()) SWIG_fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7549 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7550 PyObject
*resultobj
= 0;
7551 wxStaticBox
*result
= 0 ;
7553 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7555 if (!wxPyCheckForApp()) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (wxStaticBox
*)new wxStaticBox();
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7568 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
= 0;
7570 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7571 wxWindow
*arg2
= (wxWindow
*) 0 ;
7572 int arg3
= (int) -1 ;
7573 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7574 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7575 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7576 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7577 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7578 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7579 long arg7
= (long) 0 ;
7580 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7581 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7589 bool temp4
= false ;
7594 bool temp8
= false ;
7595 PyObject
* obj0
= 0 ;
7596 PyObject
* obj1
= 0 ;
7597 PyObject
* obj2
= 0 ;
7598 PyObject
* obj3
= 0 ;
7599 PyObject
* obj4
= 0 ;
7600 PyObject
* obj5
= 0 ;
7601 PyObject
* obj6
= 0 ;
7602 PyObject
* obj7
= 0 ;
7603 char * kwnames
[] = {
7604 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7612 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7614 if (!SWIG_IsOK(res2
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7617 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7620 if (!SWIG_IsOK(ecode3
)) {
7621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7623 arg3
= static_cast< int >(val3
);
7627 arg4
= wxString_in_helper(obj3
);
7628 if (arg4
== NULL
) SWIG_fail
;
7635 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7641 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7645 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7646 if (!SWIG_IsOK(ecode7
)) {
7647 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7649 arg7
= static_cast< long >(val7
);
7653 arg8
= wxString_in_helper(obj7
);
7654 if (arg8
== NULL
) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7689 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
= 0;
7691 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7692 SwigValueWrapper
<wxVisualAttributes
> result
;
7695 PyObject
* obj0
= 0 ;
7696 char * kwnames
[] = {
7697 (char *) "variant", NULL
7700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7703 if (!SWIG_IsOK(ecode1
)) {
7704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7706 arg1
= static_cast< wxWindowVariant
>(val1
);
7709 if (!wxPyCheckForApp()) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7722 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7725 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7726 return SWIG_Py_Void();
7729 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7730 return SWIG_Python_InitShadowInstance(args
);
7733 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
= 0;
7735 wxWindow
*arg1
= (wxWindow
*) 0 ;
7736 int arg2
= (int) -1 ;
7737 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7738 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7739 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7740 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7741 long arg5
= (long) wxLI_HORIZONTAL
;
7742 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7743 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7744 wxStaticLine
*result
= 0 ;
7753 bool temp6
= false ;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7756 PyObject
* obj2
= 0 ;
7757 PyObject
* obj3
= 0 ;
7758 PyObject
* obj4
= 0 ;
7759 PyObject
* obj5
= 0 ;
7760 char * kwnames
[] = {
7761 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7766 if (!SWIG_IsOK(res1
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7769 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7772 if (!SWIG_IsOK(ecode2
)) {
7773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7775 arg2
= static_cast< int >(val2
);
7780 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7786 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7790 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7791 if (!SWIG_IsOK(ecode5
)) {
7792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7794 arg5
= static_cast< long >(val5
);
7798 arg6
= wxString_in_helper(obj5
);
7799 if (arg6
== NULL
) SWIG_fail
;
7804 if (!wxPyCheckForApp()) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7825 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7826 PyObject
*resultobj
= 0;
7827 wxStaticLine
*result
= 0 ;
7829 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7831 if (!wxPyCheckForApp()) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (wxStaticLine
*)new wxStaticLine();
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7844 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
= 0;
7846 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7847 wxWindow
*arg2
= (wxWindow
*) 0 ;
7848 int arg3
= (int) -1 ;
7849 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7850 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7851 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7852 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7853 long arg6
= (long) wxLI_HORIZONTAL
;
7854 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7867 bool temp7
= false ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7870 PyObject
* obj2
= 0 ;
7871 PyObject
* obj3
= 0 ;
7872 PyObject
* obj4
= 0 ;
7873 PyObject
* obj5
= 0 ;
7874 PyObject
* obj6
= 0 ;
7875 char * kwnames
[] = {
7876 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7881 if (!SWIG_IsOK(res1
)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7884 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7885 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7886 if (!SWIG_IsOK(res2
)) {
7887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7889 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7892 if (!SWIG_IsOK(ecode3
)) {
7893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7895 arg3
= static_cast< int >(val3
);
7900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7910 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7911 if (!SWIG_IsOK(ecode6
)) {
7912 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7914 arg6
= static_cast< long >(val6
);
7918 arg7
= wxString_in_helper(obj6
);
7919 if (arg7
== NULL
) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7946 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7947 PyObject
*resultobj
= 0;
7948 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7952 PyObject
*swig_obj
[1] ;
7954 if (!args
) SWIG_fail
;
7956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7957 if (!SWIG_IsOK(res1
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7960 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7976 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7977 PyObject
*resultobj
= 0;
7980 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (int)wxStaticLine::GetDefaultSize();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_From_int(static_cast< int >(result
));
7994 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
= 0;
7996 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7997 SwigValueWrapper
<wxVisualAttributes
> result
;
8000 PyObject
* obj0
= 0 ;
8001 char * kwnames
[] = {
8002 (char *) "variant", NULL
8005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8008 if (!SWIG_IsOK(ecode1
)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8011 arg1
= static_cast< wxWindowVariant
>(val1
);
8014 if (!wxPyCheckForApp()) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8027 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8030 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8031 return SWIG_Py_Void();
8034 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8035 return SWIG_Python_InitShadowInstance(args
);
8038 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
= 0;
8040 wxWindow
*arg1
= (wxWindow
*) 0 ;
8041 int arg2
= (int) -1 ;
8042 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8043 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8044 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8045 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8046 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8047 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8048 long arg6
= (long) 0 ;
8049 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8050 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8051 wxStaticText
*result
= 0 ;
8056 bool temp3
= false ;
8061 bool temp7
= false ;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj1
= 0 ;
8064 PyObject
* obj2
= 0 ;
8065 PyObject
* obj3
= 0 ;
8066 PyObject
* obj4
= 0 ;
8067 PyObject
* obj5
= 0 ;
8068 PyObject
* obj6
= 0 ;
8069 char * kwnames
[] = {
8070 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8075 if (!SWIG_IsOK(res1
)) {
8076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8081 if (!SWIG_IsOK(ecode2
)) {
8082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8084 arg2
= static_cast< int >(val2
);
8088 arg3
= wxString_in_helper(obj2
);
8089 if (arg3
== NULL
) SWIG_fail
;
8096 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8102 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8106 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8107 if (!SWIG_IsOK(ecode6
)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8110 arg6
= static_cast< long >(val6
);
8114 arg7
= wxString_in_helper(obj6
);
8115 if (arg7
== NULL
) SWIG_fail
;
8120 if (!wxPyCheckForApp()) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8149 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8150 PyObject
*resultobj
= 0;
8151 wxStaticText
*result
= 0 ;
8153 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8155 if (!wxPyCheckForApp()) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 result
= (wxStaticText
*)new wxStaticText();
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8168 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
= 0;
8170 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8171 wxWindow
*arg2
= (wxWindow
*) 0 ;
8172 int arg3
= (int) -1 ;
8173 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8174 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8175 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8176 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8177 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8178 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8179 long arg7
= (long) 0 ;
8180 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8181 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8189 bool temp4
= false ;
8194 bool temp8
= false ;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8197 PyObject
* obj2
= 0 ;
8198 PyObject
* obj3
= 0 ;
8199 PyObject
* obj4
= 0 ;
8200 PyObject
* obj5
= 0 ;
8201 PyObject
* obj6
= 0 ;
8202 PyObject
* obj7
= 0 ;
8203 char * kwnames
[] = {
8204 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8209 if (!SWIG_IsOK(res1
)) {
8210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8212 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8214 if (!SWIG_IsOK(res2
)) {
8215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8217 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8220 if (!SWIG_IsOK(ecode3
)) {
8221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8223 arg3
= static_cast< int >(val3
);
8227 arg4
= wxString_in_helper(obj3
);
8228 if (arg4
== NULL
) SWIG_fail
;
8235 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8241 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8245 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8246 if (!SWIG_IsOK(ecode7
)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8249 arg7
= static_cast< long >(val7
);
8253 arg8
= wxString_in_helper(obj7
);
8254 if (arg8
== NULL
) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8289 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
= 0;
8291 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 char * kwnames
[] = {
8300 (char *) "self",(char *) "width", NULL
8303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8305 if (!SWIG_IsOK(res1
)) {
8306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8308 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8310 if (!SWIG_IsOK(ecode2
)) {
8311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8313 arg2
= static_cast< int >(val2
);
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= SWIG_Py_Void();
8327 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
= 0;
8329 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8330 SwigValueWrapper
<wxVisualAttributes
> result
;
8333 PyObject
* obj0
= 0 ;
8334 char * kwnames
[] = {
8335 (char *) "variant", NULL
8338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8340 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8341 if (!SWIG_IsOK(ecode1
)) {
8342 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8344 arg1
= static_cast< wxWindowVariant
>(val1
);
8347 if (!wxPyCheckForApp()) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8360 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8363 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8364 return SWIG_Py_Void();
8367 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8368 return SWIG_Python_InitShadowInstance(args
);
8371 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
*resultobj
= 0;
8373 wxWindow
*arg1
= (wxWindow
*) 0 ;
8374 int arg2
= (int) -1 ;
8375 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8376 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8381 long arg6
= (long) 0 ;
8382 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8383 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8384 wxStaticBitmap
*result
= 0 ;
8395 bool temp7
= false ;
8396 PyObject
* obj0
= 0 ;
8397 PyObject
* obj1
= 0 ;
8398 PyObject
* obj2
= 0 ;
8399 PyObject
* obj3
= 0 ;
8400 PyObject
* obj4
= 0 ;
8401 PyObject
* obj5
= 0 ;
8402 PyObject
* obj6
= 0 ;
8403 char * kwnames
[] = {
8404 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8409 if (!SWIG_IsOK(res1
)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8412 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8415 if (!SWIG_IsOK(ecode2
)) {
8416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8418 arg2
= static_cast< int >(val2
);
8421 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8422 if (!SWIG_IsOK(res3
)) {
8423 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8428 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8443 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8444 if (!SWIG_IsOK(ecode6
)) {
8445 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8447 arg6
= static_cast< long >(val6
);
8451 arg7
= wxString_in_helper(obj6
);
8452 if (arg7
== NULL
) SWIG_fail
;
8457 if (!wxPyCheckForApp()) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8478 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8479 PyObject
*resultobj
= 0;
8480 wxStaticBitmap
*result
= 0 ;
8482 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8484 if (!wxPyCheckForApp()) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8497 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
= 0;
8499 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8500 wxWindow
*arg2
= (wxWindow
*) 0 ;
8501 int arg3
= (int) -1 ;
8502 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8503 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8504 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8505 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8506 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8507 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8508 long arg7
= (long) 0 ;
8509 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8510 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8524 bool temp8
= false ;
8525 PyObject
* obj0
= 0 ;
8526 PyObject
* obj1
= 0 ;
8527 PyObject
* obj2
= 0 ;
8528 PyObject
* obj3
= 0 ;
8529 PyObject
* obj4
= 0 ;
8530 PyObject
* obj5
= 0 ;
8531 PyObject
* obj6
= 0 ;
8532 PyObject
* obj7
= 0 ;
8533 char * kwnames
[] = {
8534 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8539 if (!SWIG_IsOK(res1
)) {
8540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8542 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8544 if (!SWIG_IsOK(res2
)) {
8545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8547 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8550 if (!SWIG_IsOK(ecode3
)) {
8551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8553 arg3
= static_cast< int >(val3
);
8556 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8557 if (!SWIG_IsOK(res4
)) {
8558 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8563 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8568 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8574 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8579 if (!SWIG_IsOK(ecode7
)) {
8580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8582 arg7
= static_cast< long >(val7
);
8586 arg8
= wxString_in_helper(obj7
);
8587 if (arg8
== NULL
) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8614 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8615 PyObject
*resultobj
= 0;
8616 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8620 PyObject
*swig_obj
[1] ;
8622 if (!args
) SWIG_fail
;
8624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8625 if (!SWIG_IsOK(res1
)) {
8626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8628 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 result
= (arg1
)->GetBitmap();
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8642 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
= 0;
8644 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8645 wxBitmap
*arg2
= 0 ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8652 char * kwnames
[] = {
8653 (char *) "self",(char *) "bitmap", NULL
8656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8658 if (!SWIG_IsOK(res1
)) {
8659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8661 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8663 if (!SWIG_IsOK(res2
)) {
8664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8669 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8673 wxPyEndAllowThreads(__tstate
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8676 resultobj
= SWIG_Py_Void();
8683 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
= 0;
8685 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8693 char * kwnames
[] = {
8694 (char *) "self",(char *) "icon", NULL
8697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8699 if (!SWIG_IsOK(res1
)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8702 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8704 if (!SWIG_IsOK(res2
)) {
8705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8710 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= SWIG_Py_Void();
8724 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
= 0;
8726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8727 SwigValueWrapper
<wxVisualAttributes
> result
;
8730 PyObject
* obj0
= 0 ;
8731 char * kwnames
[] = {
8732 (char *) "variant", NULL
8735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8738 if (!SWIG_IsOK(ecode1
)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8741 arg1
= static_cast< wxWindowVariant
>(val1
);
8744 if (!wxPyCheckForApp()) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8757 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8760 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8761 return SWIG_Py_Void();
8764 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8765 return SWIG_Python_InitShadowInstance(args
);
8768 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8769 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8774 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8775 PyObject
*pyobj
= 0;
8779 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8781 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8788 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
= 0;
8790 wxWindow
*arg1
= (wxWindow
*) 0 ;
8791 int arg2
= (int) -1 ;
8792 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8793 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8794 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8795 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8796 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8797 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8798 long arg6
= (long) 0 ;
8799 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8800 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8801 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8802 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8803 wxListBox
*result
= 0 ;
8810 bool temp5
= false ;
8815 bool temp8
= false ;
8816 PyObject
* obj0
= 0 ;
8817 PyObject
* obj1
= 0 ;
8818 PyObject
* obj2
= 0 ;
8819 PyObject
* obj3
= 0 ;
8820 PyObject
* obj4
= 0 ;
8821 PyObject
* obj5
= 0 ;
8822 PyObject
* obj6
= 0 ;
8823 PyObject
* obj7
= 0 ;
8824 char * kwnames
[] = {
8825 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8833 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8836 if (!SWIG_IsOK(ecode2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8839 arg2
= static_cast< int >(val2
);
8844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8850 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8855 if (! PySequence_Check(obj4
)) {
8856 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8859 arg5
= new wxArrayString
;
8861 int i
, len
=PySequence_Length(obj4
);
8862 for (i
=0; i
<len
; i
++) {
8863 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8864 wxString
* s
= wxString_in_helper(item
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8873 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8874 if (!SWIG_IsOK(ecode6
)) {
8875 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8877 arg6
= static_cast< long >(val6
);
8880 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8881 if (!SWIG_IsOK(res7
)) {
8882 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8887 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8891 arg8
= wxString_in_helper(obj7
);
8892 if (arg8
== NULL
) SWIG_fail
;
8897 if (!wxPyCheckForApp()) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8905 if (temp5
) delete arg5
;
8914 if (temp5
) delete arg5
;
8924 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8925 PyObject
*resultobj
= 0;
8926 wxListBox
*result
= 0 ;
8928 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8930 if (!wxPyCheckForApp()) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (wxListBox
*)new wxListBox();
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8943 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
= 0;
8945 wxListBox
*arg1
= (wxListBox
*) 0 ;
8946 wxWindow
*arg2
= (wxWindow
*) 0 ;
8947 int arg3
= (int) -1 ;
8948 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8949 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8950 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8951 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8952 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8953 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8954 long arg7
= (long) 0 ;
8955 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8956 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8957 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8958 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8968 bool temp6
= false ;
8973 bool temp9
= false ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 PyObject
* obj2
= 0 ;
8977 PyObject
* obj3
= 0 ;
8978 PyObject
* obj4
= 0 ;
8979 PyObject
* obj5
= 0 ;
8980 PyObject
* obj6
= 0 ;
8981 PyObject
* obj7
= 0 ;
8982 PyObject
* obj8
= 0 ;
8983 char * kwnames
[] = {
8984 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8989 if (!SWIG_IsOK(res1
)) {
8990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8992 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8994 if (!SWIG_IsOK(res2
)) {
8995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8997 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9000 if (!SWIG_IsOK(ecode3
)) {
9001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9003 arg3
= static_cast< int >(val3
);
9008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9019 if (! PySequence_Check(obj5
)) {
9020 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9023 arg6
= new wxArrayString
;
9025 int i
, len
=PySequence_Length(obj5
);
9026 for (i
=0; i
<len
; i
++) {
9027 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9028 wxString
* s
= wxString_in_helper(item
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9037 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9038 if (!SWIG_IsOK(ecode7
)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9041 arg7
= static_cast< long >(val7
);
9044 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9045 if (!SWIG_IsOK(res8
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9051 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9055 arg9
= wxString_in_helper(obj8
);
9056 if (arg9
== NULL
) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9070 if (temp6
) delete arg6
;
9079 if (temp6
) delete arg6
;
9089 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
= 0;
9091 wxListBox
*arg1
= (wxListBox
*) 0 ;
9092 wxString
*arg2
= 0 ;
9094 PyObject
*arg4
= (PyObject
*) NULL
;
9097 bool temp2
= false ;
9100 PyObject
* obj0
= 0 ;
9101 PyObject
* obj1
= 0 ;
9102 PyObject
* obj2
= 0 ;
9103 PyObject
* obj3
= 0 ;
9104 char * kwnames
[] = {
9105 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9110 if (!SWIG_IsOK(res1
)) {
9111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9113 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9115 arg2
= wxString_in_helper(obj1
);
9116 if (arg2
== NULL
) SWIG_fail
;
9119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9120 if (!SWIG_IsOK(ecode3
)) {
9121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9123 arg3
= static_cast< int >(val3
);
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_Py_Void();
9148 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
= 0;
9150 wxListBox
*arg1
= (wxListBox
*) 0 ;
9151 wxArrayString
*arg2
= 0 ;
9155 bool temp2
= false ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9160 PyObject
* obj2
= 0 ;
9161 char * kwnames
[] = {
9162 (char *) "self",(char *) "items",(char *) "pos", NULL
9165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9167 if (!SWIG_IsOK(res1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9170 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9172 if (! PySequence_Check(obj1
)) {
9173 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9176 arg2
= new wxArrayString
;
9178 int i
, len
=PySequence_Length(obj1
);
9179 for (i
=0; i
<len
; i
++) {
9180 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9181 wxString
* s
= wxString_in_helper(item
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9188 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9189 if (!SWIG_IsOK(ecode3
)) {
9190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9192 arg3
= static_cast< unsigned int >(val3
);
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= SWIG_Py_Void();
9201 if (temp2
) delete arg2
;
9206 if (temp2
) delete arg2
;
9212 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
= 0;
9214 wxListBox
*arg1
= (wxListBox
*) 0 ;
9215 wxArrayString
*arg2
= 0 ;
9218 bool temp2
= false ;
9219 PyObject
* obj0
= 0 ;
9220 PyObject
* obj1
= 0 ;
9221 char * kwnames
[] = {
9222 (char *) "self",(char *) "items", NULL
9225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9227 if (!SWIG_IsOK(res1
)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9230 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9232 if (! PySequence_Check(obj1
)) {
9233 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9236 arg2
= new wxArrayString
;
9238 int i
, len
=PySequence_Length(obj1
);
9239 for (i
=0; i
<len
; i
++) {
9240 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9241 wxString
* s
= wxString_in_helper(item
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 (arg1
)->Set((wxArrayString
const &)*arg2
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= SWIG_Py_Void();
9256 if (temp2
) delete arg2
;
9261 if (temp2
) delete arg2
;
9267 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
= 0;
9269 wxListBox
*arg1
= (wxListBox
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9278 char * kwnames
[] = {
9279 (char *) "self",(char *) "n", NULL
9282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9284 if (!SWIG_IsOK(res1
)) {
9285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9287 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9289 if (!SWIG_IsOK(ecode2
)) {
9290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9292 arg2
= static_cast< int >(val2
);
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9308 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
= 0;
9310 wxListBox
*arg1
= (wxListBox
*) 0 ;
9312 bool arg3
= (bool) true ;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9321 PyObject
* obj2
= 0 ;
9322 char * kwnames
[] = {
9323 (char *) "self",(char *) "n",(char *) "select", NULL
9326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9328 if (!SWIG_IsOK(res1
)) {
9329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9331 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9333 if (!SWIG_IsOK(ecode2
)) {
9334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9336 arg2
= static_cast< int >(val2
);
9338 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9339 if (!SWIG_IsOK(ecode3
)) {
9340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9342 arg3
= static_cast< bool >(val3
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 (arg1
)->SetSelection(arg2
,arg3
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_Py_Void();
9357 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxListBox
*arg1
= (wxListBox
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 char * kwnames
[] = {
9368 (char *) "self",(char *) "n", NULL
9371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9373 if (!SWIG_IsOK(res1
)) {
9374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9376 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9378 if (!SWIG_IsOK(ecode2
)) {
9379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9381 arg2
= static_cast< int >(val2
);
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 (arg1
)->Select(arg2
);
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= SWIG_Py_Void();
9395 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
= 0;
9397 wxListBox
*arg1
= (wxListBox
*) 0 ;
9403 PyObject
* obj0
= 0 ;
9404 PyObject
* obj1
= 0 ;
9405 char * kwnames
[] = {
9406 (char *) "self",(char *) "n", NULL
9409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9411 if (!SWIG_IsOK(res1
)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9414 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9416 if (!SWIG_IsOK(ecode2
)) {
9417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9419 arg2
= static_cast< int >(val2
);
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 (arg1
)->Deselect(arg2
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_Py_Void();
9433 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
= 0;
9435 wxListBox
*arg1
= (wxListBox
*) 0 ;
9436 int arg2
= (int) -1 ;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9443 char * kwnames
[] = {
9444 (char *) "self",(char *) "itemToLeaveSelected", NULL
9447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9449 if (!SWIG_IsOK(res1
)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9452 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9455 if (!SWIG_IsOK(ecode2
)) {
9456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9458 arg2
= static_cast< int >(val2
);
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 (arg1
)->DeselectAll(arg2
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_Py_Void();
9473 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= 0;
9475 wxListBox
*arg1
= (wxListBox
*) 0 ;
9476 wxString
*arg2
= 0 ;
9477 bool arg3
= (bool) true ;
9481 bool temp2
= false ;
9484 PyObject
* obj0
= 0 ;
9485 PyObject
* obj1
= 0 ;
9486 PyObject
* obj2
= 0 ;
9487 char * kwnames
[] = {
9488 (char *) "self",(char *) "s",(char *) "select", NULL
9491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9493 if (!SWIG_IsOK(res1
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9496 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9498 arg2
= wxString_in_helper(obj1
);
9499 if (arg2
== NULL
) SWIG_fail
;
9503 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9504 if (!SWIG_IsOK(ecode3
)) {
9505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9507 arg3
= static_cast< bool >(val3
);
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9532 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9533 PyObject
*resultobj
= 0;
9534 wxListBox
*arg1
= (wxListBox
*) 0 ;
9535 PyObject
*result
= 0 ;
9538 PyObject
*swig_obj
[1] ;
9540 if (!args
) SWIG_fail
;
9542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9543 if (!SWIG_IsOK(res1
)) {
9544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9546 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9560 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
= 0;
9562 wxListBox
*arg1
= (wxListBox
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9570 char * kwnames
[] = {
9571 (char *) "self",(char *) "n", NULL
9574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9576 if (!SWIG_IsOK(res1
)) {
9577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9579 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9581 if (!SWIG_IsOK(ecode2
)) {
9582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9584 arg2
= static_cast< int >(val2
);
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 (arg1
)->SetFirstItem(arg2
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= SWIG_Py_Void();
9598 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
= 0;
9600 wxListBox
*arg1
= (wxListBox
*) 0 ;
9601 wxString
*arg2
= 0 ;
9604 bool temp2
= false ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 char * kwnames
[] = {
9608 (char *) "self",(char *) "s", NULL
9611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9613 if (!SWIG_IsOK(res1
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9616 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9618 arg2
= wxString_in_helper(obj1
);
9619 if (arg2
== NULL
) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 resultobj
= SWIG_Py_Void();
9643 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
= 0;
9645 wxListBox
*arg1
= (wxListBox
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9652 PyObject
* obj1
= 0 ;
9653 char * kwnames
[] = {
9654 (char *) "self",(char *) "n", NULL
9657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9659 if (!SWIG_IsOK(res1
)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9662 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9664 if (!SWIG_IsOK(ecode2
)) {
9665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9667 arg2
= static_cast< int >(val2
);
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 (arg1
)->EnsureVisible(arg2
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= SWIG_Py_Void();
9681 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
= 0;
9683 wxListBox
*arg1
= (wxListBox
*) 0 ;
9684 wxString
*arg2
= 0 ;
9687 bool temp2
= false ;
9688 PyObject
* obj0
= 0 ;
9689 PyObject
* obj1
= 0 ;
9690 char * kwnames
[] = {
9691 (char *) "self",(char *) "s", NULL
9694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9696 if (!SWIG_IsOK(res1
)) {
9697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9699 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9701 arg2
= wxString_in_helper(obj1
);
9702 if (arg2
== NULL
) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_Py_Void();
9726 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9727 PyObject
*resultobj
= 0;
9728 wxListBox
*arg1
= (wxListBox
*) 0 ;
9732 PyObject
*swig_obj
[1] ;
9734 if (!args
) SWIG_fail
;
9736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9737 if (!SWIG_IsOK(res1
)) {
9738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9740 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9756 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
= 0;
9758 wxListBox
*arg1
= (wxListBox
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9766 char * kwnames
[] = {
9767 (char *) "self",(char *) "pt", NULL
9770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9772 if (!SWIG_IsOK(res1
)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9775 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9778 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_From_int(static_cast< int >(result
));
9793 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
= 0;
9795 wxListBox
*arg1
= (wxListBox
*) 0 ;
9797 wxColour
*arg3
= 0 ;
9803 PyObject
* obj0
= 0 ;
9804 PyObject
* obj1
= 0 ;
9805 PyObject
* obj2
= 0 ;
9806 char * kwnames
[] = {
9807 (char *) "self",(char *) "item",(char *) "c", NULL
9810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9812 if (!SWIG_IsOK(res1
)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9815 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9817 if (!SWIG_IsOK(ecode2
)) {
9818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9820 arg2
= static_cast< int >(val2
);
9823 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= SWIG_Py_Void();
9838 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
= 0;
9840 wxListBox
*arg1
= (wxListBox
*) 0 ;
9842 wxColour
*arg3
= 0 ;
9848 PyObject
* obj0
= 0 ;
9849 PyObject
* obj1
= 0 ;
9850 PyObject
* obj2
= 0 ;
9851 char * kwnames
[] = {
9852 (char *) "self",(char *) "item",(char *) "c", NULL
9855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9857 if (!SWIG_IsOK(res1
)) {
9858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9860 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9862 if (!SWIG_IsOK(ecode2
)) {
9863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9865 arg2
= static_cast< int >(val2
);
9868 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= SWIG_Py_Void();
9883 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
= 0;
9885 wxListBox
*arg1
= (wxListBox
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9896 PyObject
* obj2
= 0 ;
9897 char * kwnames
[] = {
9898 (char *) "self",(char *) "item",(char *) "f", NULL
9901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9903 if (!SWIG_IsOK(res1
)) {
9904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9906 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9908 if (!SWIG_IsOK(ecode2
)) {
9909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9911 arg2
= static_cast< int >(val2
);
9912 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9913 if (!SWIG_IsOK(res3
)) {
9914 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9919 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_Py_Void();
9933 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
= 0;
9935 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9936 SwigValueWrapper
<wxVisualAttributes
> result
;
9939 PyObject
* obj0
= 0 ;
9940 char * kwnames
[] = {
9941 (char *) "variant", NULL
9944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9946 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9947 if (!SWIG_IsOK(ecode1
)) {
9948 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9950 arg1
= static_cast< wxWindowVariant
>(val1
);
9953 if (!wxPyCheckForApp()) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9966 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9969 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9970 return SWIG_Py_Void();
9973 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9974 return SWIG_Python_InitShadowInstance(args
);
9977 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
= 0;
9979 wxWindow
*arg1
= (wxWindow
*) 0 ;
9980 int arg2
= (int) -1 ;
9981 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9982 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9983 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9984 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9985 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9986 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9987 long arg6
= (long) 0 ;
9988 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9989 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9990 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9991 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9992 wxCheckListBox
*result
= 0 ;
9999 bool temp5
= false ;
10004 bool temp8
= false ;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 PyObject
* obj2
= 0 ;
10008 PyObject
* obj3
= 0 ;
10009 PyObject
* obj4
= 0 ;
10010 PyObject
* obj5
= 0 ;
10011 PyObject
* obj6
= 0 ;
10012 PyObject
* obj7
= 0 ;
10013 char * kwnames
[] = {
10014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10019 if (!SWIG_IsOK(res1
)) {
10020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10025 if (!SWIG_IsOK(ecode2
)) {
10026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10028 arg2
= static_cast< int >(val2
);
10033 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10039 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10044 if (! PySequence_Check(obj4
)) {
10045 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10048 arg5
= new wxArrayString
;
10050 int i
, len
=PySequence_Length(obj4
);
10051 for (i
=0; i
<len
; i
++) {
10052 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10053 wxString
* s
= wxString_in_helper(item
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10062 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10063 if (!SWIG_IsOK(ecode6
)) {
10064 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10066 arg6
= static_cast< long >(val6
);
10069 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10070 if (!SWIG_IsOK(res7
)) {
10071 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10076 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10080 arg8
= wxString_in_helper(obj7
);
10081 if (arg8
== NULL
) SWIG_fail
;
10086 if (!wxPyCheckForApp()) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10094 if (temp5
) delete arg5
;
10103 if (temp5
) delete arg5
;
10113 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10114 PyObject
*resultobj
= 0;
10115 wxCheckListBox
*result
= 0 ;
10117 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10119 if (!wxPyCheckForApp()) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 result
= (wxCheckListBox
*)new wxCheckListBox();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10132 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
= 0;
10134 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10135 wxWindow
*arg2
= (wxWindow
*) 0 ;
10136 int arg3
= (int) -1 ;
10137 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10138 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10139 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10140 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10141 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10142 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10143 long arg7
= (long) 0 ;
10144 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10145 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10146 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10147 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10157 bool temp6
= false ;
10162 bool temp9
= false ;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 PyObject
* obj2
= 0 ;
10166 PyObject
* obj3
= 0 ;
10167 PyObject
* obj4
= 0 ;
10168 PyObject
* obj5
= 0 ;
10169 PyObject
* obj6
= 0 ;
10170 PyObject
* obj7
= 0 ;
10171 PyObject
* obj8
= 0 ;
10172 char * kwnames
[] = {
10173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10178 if (!SWIG_IsOK(res1
)) {
10179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10181 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10182 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10183 if (!SWIG_IsOK(res2
)) {
10184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10186 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10189 if (!SWIG_IsOK(ecode3
)) {
10190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10192 arg3
= static_cast< int >(val3
);
10197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10208 if (! PySequence_Check(obj5
)) {
10209 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10212 arg6
= new wxArrayString
;
10214 int i
, len
=PySequence_Length(obj5
);
10215 for (i
=0; i
<len
; i
++) {
10216 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10217 wxString
* s
= wxString_in_helper(item
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10226 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10227 if (!SWIG_IsOK(ecode7
)) {
10228 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10230 arg7
= static_cast< long >(val7
);
10233 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10234 if (!SWIG_IsOK(res8
)) {
10235 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10240 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10244 arg9
= wxString_in_helper(obj8
);
10245 if (arg9
== NULL
) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10259 if (temp6
) delete arg6
;
10268 if (temp6
) delete arg6
;
10278 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
= 0;
10280 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10281 unsigned int arg2
;
10285 unsigned int val2
;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 char * kwnames
[] = {
10290 (char *) "self",(char *) "index", NULL
10293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10295 if (!SWIG_IsOK(res1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10298 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10299 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10300 if (!SWIG_IsOK(ecode2
)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10303 arg2
= static_cast< unsigned int >(val2
);
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (bool)(arg1
)->IsChecked(arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10319 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
= 0;
10321 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10322 unsigned int arg2
;
10323 int arg3
= (int) true ;
10326 unsigned int val2
;
10330 PyObject
* obj0
= 0 ;
10331 PyObject
* obj1
= 0 ;
10332 PyObject
* obj2
= 0 ;
10333 char * kwnames
[] = {
10334 (char *) "self",(char *) "index",(char *) "check", NULL
10337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10339 if (!SWIG_IsOK(res1
)) {
10340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10342 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10343 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10344 if (!SWIG_IsOK(ecode2
)) {
10345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10347 arg2
= static_cast< unsigned int >(val2
);
10349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10350 if (!SWIG_IsOK(ecode3
)) {
10351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10353 arg3
= static_cast< int >(val3
);
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 (arg1
)->Check(arg2
,arg3
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= SWIG_Py_Void();
10368 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10369 PyObject
*resultobj
= 0;
10370 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10374 PyObject
*swig_obj
[1] ;
10376 if (!args
) SWIG_fail
;
10377 swig_obj
[0] = args
;
10378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10379 if (!SWIG_IsOK(res1
)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10382 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (int)(arg1
)->GetItemHeight();
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_From_int(static_cast< int >(result
));
10396 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10399 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10400 return SWIG_Py_Void();
10403 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10404 return SWIG_Python_InitShadowInstance(args
);
10407 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10408 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10413 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10414 PyObject
*pyobj
= 0;
10418 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10420 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10427 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
= 0;
10429 wxColour
const &arg1_defvalue
= wxNullColour
;
10430 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10431 wxColour
const &arg2_defvalue
= wxNullColour
;
10432 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10433 wxFont
const &arg3_defvalue
= wxNullFont
;
10434 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10435 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10436 wxTextAttr
*result
= 0 ;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 PyObject
* obj2
= 0 ;
10446 PyObject
* obj3
= 0 ;
10447 char * kwnames
[] = {
10448 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10455 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10461 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10465 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10466 if (!SWIG_IsOK(res3
)) {
10467 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10472 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10475 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10476 if (!SWIG_IsOK(ecode4
)) {
10477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10479 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10494 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10495 PyObject
*resultobj
= 0;
10496 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10499 PyObject
*swig_obj
[1] ;
10501 if (!args
) SWIG_fail
;
10502 swig_obj
[0] = args
;
10503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10504 if (!SWIG_IsOK(res1
)) {
10505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10507 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 resultobj
= SWIG_Py_Void();
10522 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10523 PyObject
*resultobj
= 0;
10524 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10527 PyObject
*swig_obj
[1] ;
10529 if (!args
) SWIG_fail
;
10530 swig_obj
[0] = args
;
10531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10532 if (!SWIG_IsOK(res1
)) {
10533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10535 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= SWIG_Py_Void();
10549 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
= 0;
10551 wxTextAttr
*arg1
= 0 ;
10552 wxTextAttr
*arg2
= 0 ;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 char * kwnames
[] = {
10561 (char *) "base",(char *) "overlay", NULL
10564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10565 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10566 if (!SWIG_IsOK(res1
)) {
10567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10572 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10574 if (!SWIG_IsOK(res2
)) {
10575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10580 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10594 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
= 0;
10596 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10597 wxColour
*arg2
= 0 ;
10601 PyObject
* obj0
= 0 ;
10602 PyObject
* obj1
= 0 ;
10603 char * kwnames
[] = {
10604 (char *) "self",(char *) "colText", NULL
10607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10609 if (!SWIG_IsOK(res1
)) {
10610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10612 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10615 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= SWIG_Py_Void();
10630 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
= 0;
10632 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10633 wxColour
*arg2
= 0 ;
10637 PyObject
* obj0
= 0 ;
10638 PyObject
* obj1
= 0 ;
10639 char * kwnames
[] = {
10640 (char *) "self",(char *) "colBack", NULL
10643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10645 if (!SWIG_IsOK(res1
)) {
10646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10648 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_Py_Void();
10666 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= 0;
10668 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10670 long arg3
= (long) wxTEXT_ATTR_FONT
;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 PyObject
* obj2
= 0 ;
10680 char * kwnames
[] = {
10681 (char *) "self",(char *) "font",(char *) "flags", NULL
10684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10686 if (!SWIG_IsOK(res1
)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10689 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10691 if (!SWIG_IsOK(res2
)) {
10692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10697 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10699 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10700 if (!SWIG_IsOK(ecode3
)) {
10701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10703 arg3
= static_cast< long >(val3
);
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= SWIG_Py_Void();
10718 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
= 0;
10720 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10721 wxTextAttrAlignment arg2
;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 char * kwnames
[] = {
10729 (char *) "self",(char *) "alignment", NULL
10732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10734 if (!SWIG_IsOK(res1
)) {
10735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10737 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10739 if (!SWIG_IsOK(ecode2
)) {
10740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10742 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 (arg1
)->SetAlignment(arg2
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_Py_Void();
10756 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
= 0;
10758 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10759 wxArrayInt
*arg2
= 0 ;
10762 bool temp2
= false ;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 char * kwnames
[] = {
10766 (char *) "self",(char *) "tabs", NULL
10769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10771 if (!SWIG_IsOK(res1
)) {
10772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10774 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10776 if (! PySequence_Check(obj1
)) {
10777 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10780 arg2
= new wxArrayInt
;
10782 int i
, len
=PySequence_Length(obj1
);
10783 for (i
=0; i
<len
; i
++) {
10784 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10785 PyObject
* number
= PyNumber_Int(item
);
10787 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10790 arg2
->Add(PyInt_AS_LONG(number
));
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_Py_Void();
10803 if (temp2
) delete arg2
;
10808 if (temp2
) delete arg2
;
10814 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
= 0;
10816 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10818 int arg3
= (int) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 PyObject
* obj2
= 0 ;
10828 char * kwnames
[] = {
10829 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10834 if (!SWIG_IsOK(res1
)) {
10835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10837 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10839 if (!SWIG_IsOK(ecode2
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10842 arg2
= static_cast< int >(val2
);
10844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10845 if (!SWIG_IsOK(ecode3
)) {
10846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10848 arg3
= static_cast< int >(val3
);
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 (arg1
)->SetLeftIndent(arg2
,arg3
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= SWIG_Py_Void();
10863 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
= 0;
10865 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 char * kwnames
[] = {
10874 (char *) "self",(char *) "indent", NULL
10877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10882 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10884 if (!SWIG_IsOK(ecode2
)) {
10885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10887 arg2
= static_cast< int >(val2
);
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 (arg1
)->SetRightIndent(arg2
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= SWIG_Py_Void();
10901 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
= 0;
10903 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 char * kwnames
[] = {
10912 (char *) "self",(char *) "flags", NULL
10915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10920 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10922 if (!SWIG_IsOK(ecode2
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10925 arg2
= static_cast< long >(val2
);
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 (arg1
)->SetFlags(arg2
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_Py_Void();
10939 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10940 PyObject
*resultobj
= 0;
10941 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10945 PyObject
*swig_obj
[1] ;
10947 if (!args
) SWIG_fail
;
10948 swig_obj
[0] = args
;
10949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10950 if (!SWIG_IsOK(res1
)) {
10951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10953 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10969 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10970 PyObject
*resultobj
= 0;
10971 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10975 PyObject
*swig_obj
[1] ;
10977 if (!args
) SWIG_fail
;
10978 swig_obj
[0] = args
;
10979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10980 if (!SWIG_IsOK(res1
)) {
10981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10983 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10999 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11000 PyObject
*resultobj
= 0;
11001 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11005 PyObject
*swig_obj
[1] ;
11007 if (!args
) SWIG_fail
;
11008 swig_obj
[0] = args
;
11009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11013 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11029 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11030 PyObject
*resultobj
= 0;
11031 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11035 PyObject
*swig_obj
[1] ;
11037 if (!args
) SWIG_fail
;
11038 swig_obj
[0] = args
;
11039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11040 if (!SWIG_IsOK(res1
)) {
11041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11043 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11059 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11060 PyObject
*resultobj
= 0;
11061 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11065 PyObject
*swig_obj
[1] ;
11067 if (!args
) SWIG_fail
;
11068 swig_obj
[0] = args
;
11069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11070 if (!SWIG_IsOK(res1
)) {
11071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11073 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11089 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11090 PyObject
*resultobj
= 0;
11091 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11095 PyObject
*swig_obj
[1] ;
11097 if (!args
) SWIG_fail
;
11098 swig_obj
[0] = args
;
11099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11100 if (!SWIG_IsOK(res1
)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11103 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11119 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11120 PyObject
*resultobj
= 0;
11121 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11125 PyObject
*swig_obj
[1] ;
11127 if (!args
) SWIG_fail
;
11128 swig_obj
[0] = args
;
11129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11130 if (!SWIG_IsOK(res1
)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11133 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11149 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
= 0;
11151 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 char * kwnames
[] = {
11161 (char *) "self",(char *) "flag", NULL
11164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11166 if (!SWIG_IsOK(res1
)) {
11167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11169 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11171 if (!SWIG_IsOK(ecode2
)) {
11172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11174 arg2
= static_cast< long >(val2
);
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11190 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11191 PyObject
*resultobj
= 0;
11192 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11193 wxColour
*result
= 0 ;
11196 PyObject
*swig_obj
[1] ;
11198 if (!args
) SWIG_fail
;
11199 swig_obj
[0] = args
;
11200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11204 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11209 result
= (wxColour
*) &_result_ref
;
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11221 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11222 PyObject
*resultobj
= 0;
11223 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11224 wxColour
*result
= 0 ;
11227 PyObject
*swig_obj
[1] ;
11229 if (!args
) SWIG_fail
;
11230 swig_obj
[0] = args
;
11231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11232 if (!SWIG_IsOK(res1
)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11235 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11240 result
= (wxColour
*) &_result_ref
;
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11252 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11253 PyObject
*resultobj
= 0;
11254 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11255 wxFont
*result
= 0 ;
11258 PyObject
*swig_obj
[1] ;
11260 if (!args
) SWIG_fail
;
11261 swig_obj
[0] = args
;
11262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11263 if (!SWIG_IsOK(res1
)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11266 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11271 result
= (wxFont
*) &_result_ref
;
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 wxFont
* resultptr
= new wxFont(*result
);
11278 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11286 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11287 PyObject
*resultobj
= 0;
11288 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11289 wxTextAttrAlignment result
;
11292 PyObject
*swig_obj
[1] ;
11294 if (!args
) SWIG_fail
;
11295 swig_obj
[0] = args
;
11296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11300 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_From_int(static_cast< int >(result
));
11314 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11315 PyObject
*resultobj
= 0;
11316 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11317 wxArrayInt
*result
= 0 ;
11320 PyObject
*swig_obj
[1] ;
11322 if (!args
) SWIG_fail
;
11323 swig_obj
[0] = args
;
11324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11325 if (!SWIG_IsOK(res1
)) {
11326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11328 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11333 result
= (wxArrayInt
*) &_result_ref
;
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= wxArrayInt2PyList_helper(*result
);
11347 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11348 PyObject
*resultobj
= 0;
11349 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11353 PyObject
*swig_obj
[1] ;
11355 if (!args
) SWIG_fail
;
11356 swig_obj
[0] = args
;
11357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11358 if (!SWIG_IsOK(res1
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11361 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= SWIG_From_long(static_cast< long >(result
));
11375 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11376 PyObject
*resultobj
= 0;
11377 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11381 PyObject
*swig_obj
[1] ;
11383 if (!args
) SWIG_fail
;
11384 swig_obj
[0] = args
;
11385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11386 if (!SWIG_IsOK(res1
)) {
11387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11389 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_From_long(static_cast< long >(result
));
11403 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11404 PyObject
*resultobj
= 0;
11405 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11409 PyObject
*swig_obj
[1] ;
11411 if (!args
) SWIG_fail
;
11412 swig_obj
[0] = args
;
11413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11417 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= SWIG_From_long(static_cast< long >(result
));
11431 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11432 PyObject
*resultobj
= 0;
11433 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11437 PyObject
*swig_obj
[1] ;
11439 if (!args
) SWIG_fail
;
11440 swig_obj
[0] = args
;
11441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11442 if (!SWIG_IsOK(res1
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11445 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_From_long(static_cast< long >(result
));
11459 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11460 PyObject
*resultobj
= 0;
11461 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11465 PyObject
*swig_obj
[1] ;
11467 if (!args
) SWIG_fail
;
11468 swig_obj
[0] = args
;
11469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11470 if (!SWIG_IsOK(res1
)) {
11471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11473 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11489 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
= 0;
11491 wxTextAttr
*arg1
= 0 ;
11492 wxTextAttr
*arg2
= 0 ;
11493 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 char * kwnames
[] = {
11505 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11509 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11510 if (!SWIG_IsOK(res1
)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11516 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11518 if (!SWIG_IsOK(res2
)) {
11519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11524 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11525 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11526 if (!SWIG_IsOK(res3
)) {
11527 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11529 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11543 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11546 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11547 return SWIG_Py_Void();
11550 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11551 return SWIG_Python_InitShadowInstance(args
);
11554 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
= 0;
11556 wxWindow
*arg1
= (wxWindow
*) 0 ;
11557 int arg2
= (int) -1 ;
11558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11564 long arg6
= (long) 0 ;
11565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11567 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11569 wxTextCtrl
*result
= 0 ;
11574 bool temp3
= false ;
11581 bool temp8
= false ;
11582 PyObject
* obj0
= 0 ;
11583 PyObject
* obj1
= 0 ;
11584 PyObject
* obj2
= 0 ;
11585 PyObject
* obj3
= 0 ;
11586 PyObject
* obj4
= 0 ;
11587 PyObject
* obj5
= 0 ;
11588 PyObject
* obj6
= 0 ;
11589 PyObject
* obj7
= 0 ;
11590 char * kwnames
[] = {
11591 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11596 if (!SWIG_IsOK(res1
)) {
11597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11602 if (!SWIG_IsOK(ecode2
)) {
11603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11605 arg2
= static_cast< int >(val2
);
11609 arg3
= wxString_in_helper(obj2
);
11610 if (arg3
== NULL
) SWIG_fail
;
11617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11627 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11628 if (!SWIG_IsOK(ecode6
)) {
11629 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11631 arg6
= static_cast< long >(val6
);
11634 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11635 if (!SWIG_IsOK(res7
)) {
11636 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11641 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11645 arg8
= wxString_in_helper(obj7
);
11646 if (arg8
== NULL
) SWIG_fail
;
11651 if (!wxPyCheckForApp()) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11680 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11681 PyObject
*resultobj
= 0;
11682 wxTextCtrl
*result
= 0 ;
11684 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11686 if (!wxPyCheckForApp()) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (wxTextCtrl
*)new wxTextCtrl();
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11699 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
= 0;
11701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11702 wxWindow
*arg2
= (wxWindow
*) 0 ;
11703 int arg3
= (int) -1 ;
11704 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11705 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11706 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11707 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11708 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11709 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11710 long arg7
= (long) 0 ;
11711 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11712 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11713 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11714 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11722 bool temp4
= false ;
11729 bool temp9
= false ;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 PyObject
* obj2
= 0 ;
11733 PyObject
* obj3
= 0 ;
11734 PyObject
* obj4
= 0 ;
11735 PyObject
* obj5
= 0 ;
11736 PyObject
* obj6
= 0 ;
11737 PyObject
* obj7
= 0 ;
11738 PyObject
* obj8
= 0 ;
11739 char * kwnames
[] = {
11740 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11745 if (!SWIG_IsOK(res1
)) {
11746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11748 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11750 if (!SWIG_IsOK(res2
)) {
11751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11753 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11756 if (!SWIG_IsOK(ecode3
)) {
11757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11759 arg3
= static_cast< int >(val3
);
11763 arg4
= wxString_in_helper(obj3
);
11764 if (arg4
== NULL
) SWIG_fail
;
11771 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11777 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11781 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11782 if (!SWIG_IsOK(ecode7
)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11785 arg7
= static_cast< long >(val7
);
11788 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11789 if (!SWIG_IsOK(res8
)) {
11790 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11795 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11799 arg9
= wxString_in_helper(obj8
);
11800 if (arg9
== NULL
) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11835 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11836 PyObject
*resultobj
= 0;
11837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11841 PyObject
*swig_obj
[1] ;
11843 if (!args
) SWIG_fail
;
11844 swig_obj
[0] = args
;
11845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11846 if (!SWIG_IsOK(res1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11849 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11869 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
= 0;
11871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11872 wxString
*arg2
= 0 ;
11875 bool temp2
= false ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 char * kwnames
[] = {
11879 (char *) "self",(char *) "value", NULL
11882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11884 if (!SWIG_IsOK(res1
)) {
11885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11887 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11889 arg2
= wxString_in_helper(obj1
);
11890 if (arg2
== NULL
) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetValue((wxString
const &)*arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_Py_Void();
11914 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11915 PyObject
*resultobj
= 0;
11916 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11920 PyObject
*swig_obj
[1] ;
11922 if (!args
) SWIG_fail
;
11923 swig_obj
[0] = args
;
11924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11925 if (!SWIG_IsOK(res1
)) {
11926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11928 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11944 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
= 0;
11946 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11947 wxString
*arg2
= 0 ;
11950 bool temp2
= false ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 char * kwnames
[] = {
11954 (char *) "self",(char *) "value", NULL
11957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11959 if (!SWIG_IsOK(res1
)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11962 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11964 arg2
= wxString_in_helper(obj1
);
11965 if (arg2
== NULL
) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_Py_Void();
11989 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
= 0;
11991 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12001 PyObject
* obj0
= 0 ;
12002 PyObject
* obj1
= 0 ;
12003 PyObject
* obj2
= 0 ;
12004 char * kwnames
[] = {
12005 (char *) "self",(char *) "from",(char *) "to", NULL
12008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12013 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12014 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12015 if (!SWIG_IsOK(ecode2
)) {
12016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12018 arg2
= static_cast< long >(val2
);
12019 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12020 if (!SWIG_IsOK(ecode3
)) {
12021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12023 arg3
= static_cast< long >(val3
);
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12043 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
= 0;
12045 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char * kwnames
[] = {
12055 (char *) "self",(char *) "lineNo", NULL
12058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12060 if (!SWIG_IsOK(res1
)) {
12061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12063 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12064 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12065 if (!SWIG_IsOK(ecode2
)) {
12066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12068 arg2
= static_cast< long >(val2
);
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= SWIG_From_int(static_cast< int >(result
));
12082 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
= 0;
12084 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12091 PyObject
* obj0
= 0 ;
12092 PyObject
* obj1
= 0 ;
12093 char * kwnames
[] = {
12094 (char *) "self",(char *) "lineNo", NULL
12097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12099 if (!SWIG_IsOK(res1
)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12102 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12103 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12104 if (!SWIG_IsOK(ecode2
)) {
12105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12107 arg2
= static_cast< long >(val2
);
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12127 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12128 PyObject
*resultobj
= 0;
12129 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12133 PyObject
*swig_obj
[1] ;
12135 if (!args
) SWIG_fail
;
12136 swig_obj
[0] = args
;
12137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12138 if (!SWIG_IsOK(res1
)) {
12139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12141 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_From_int(static_cast< int >(result
));
12155 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12156 PyObject
*resultobj
= 0;
12157 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12161 PyObject
*swig_obj
[1] ;
12163 if (!args
) SWIG_fail
;
12164 swig_obj
[0] = args
;
12165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12166 if (!SWIG_IsOK(res1
)) {
12167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12169 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12185 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12186 PyObject
*resultobj
= 0;
12187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12191 PyObject
*swig_obj
[1] ;
12193 if (!args
) SWIG_fail
;
12194 swig_obj
[0] = args
;
12195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12196 if (!SWIG_IsOK(res1
)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12199 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12215 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12216 PyObject
*resultobj
= 0;
12217 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12221 PyObject
*swig_obj
[1] ;
12223 if (!args
) SWIG_fail
;
12224 swig_obj
[0] = args
;
12225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12226 if (!SWIG_IsOK(res1
)) {
12227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12229 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12245 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12246 PyObject
*resultobj
= 0;
12247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12251 PyObject
*swig_obj
[1] ;
12253 if (!args
) SWIG_fail
;
12254 swig_obj
[0] = args
;
12255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12256 if (!SWIG_IsOK(res1
)) {
12257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12259 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12275 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12276 PyObject
*resultobj
= 0;
12277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12278 long *arg2
= (long *) 0 ;
12279 long *arg3
= (long *) 0 ;
12283 int res2
= SWIG_TMPOBJ
;
12285 int res3
= SWIG_TMPOBJ
;
12286 PyObject
*swig_obj
[1] ;
12290 if (!args
) SWIG_fail
;
12291 swig_obj
[0] = args
;
12292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12293 if (!SWIG_IsOK(res1
)) {
12294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12296 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_Py_Void();
12304 if (SWIG_IsTmpObj(res2
)) {
12305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12307 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12310 if (SWIG_IsTmpObj(res3
)) {
12311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12313 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12322 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12328 PyObject
*swig_obj
[1] ;
12330 if (!args
) SWIG_fail
;
12331 swig_obj
[0] = args
;
12332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12333 if (!SWIG_IsOK(res1
)) {
12334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12336 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12356 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12357 PyObject
*resultobj
= 0;
12358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12361 PyObject
*swig_obj
[1] ;
12363 if (!args
) SWIG_fail
;
12364 swig_obj
[0] = args
;
12365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12366 if (!SWIG_IsOK(res1
)) {
12367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12369 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= SWIG_Py_Void();
12383 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
= 0;
12385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12388 wxString
*arg4
= 0 ;
12395 bool temp4
= false ;
12396 PyObject
* obj0
= 0 ;
12397 PyObject
* obj1
= 0 ;
12398 PyObject
* obj2
= 0 ;
12399 PyObject
* obj3
= 0 ;
12400 char * kwnames
[] = {
12401 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12406 if (!SWIG_IsOK(res1
)) {
12407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12409 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12410 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12411 if (!SWIG_IsOK(ecode2
)) {
12412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12414 arg2
= static_cast< long >(val2
);
12415 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12416 if (!SWIG_IsOK(ecode3
)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12419 arg3
= static_cast< long >(val3
);
12421 arg4
= wxString_in_helper(obj3
);
12422 if (arg4
== NULL
) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= SWIG_Py_Void();
12446 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
= 0;
12448 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12457 PyObject
* obj0
= 0 ;
12458 PyObject
* obj1
= 0 ;
12459 PyObject
* obj2
= 0 ;
12460 char * kwnames
[] = {
12461 (char *) "self",(char *) "from",(char *) "to", NULL
12464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12466 if (!SWIG_IsOK(res1
)) {
12467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12469 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12470 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12471 if (!SWIG_IsOK(ecode2
)) {
12472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12474 arg2
= static_cast< long >(val2
);
12475 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12476 if (!SWIG_IsOK(ecode3
)) {
12477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12479 arg3
= static_cast< long >(val3
);
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 (arg1
)->Remove(arg2
,arg3
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 resultobj
= SWIG_Py_Void();
12493 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
= 0;
12495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12496 wxString
*arg2
= 0 ;
12497 int arg3
= (int) wxTEXT_TYPE_ANY
;
12501 bool temp2
= false ;
12504 PyObject
* obj0
= 0 ;
12505 PyObject
* obj1
= 0 ;
12506 PyObject
* obj2
= 0 ;
12507 char * kwnames
[] = {
12508 (char *) "self",(char *) "file",(char *) "fileType", NULL
12511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12513 if (!SWIG_IsOK(res1
)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12516 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12518 arg2
= wxString_in_helper(obj1
);
12519 if (arg2
== NULL
) SWIG_fail
;
12523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12524 if (!SWIG_IsOK(ecode3
)) {
12525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12527 arg3
= static_cast< int >(val3
);
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12552 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
= 0;
12554 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12555 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12556 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12557 int arg3
= (int) wxTEXT_TYPE_ANY
;
12561 bool temp2
= false ;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 PyObject
* obj2
= 0 ;
12567 char * kwnames
[] = {
12568 (char *) "self",(char *) "file",(char *) "fileType", NULL
12571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12573 if (!SWIG_IsOK(res1
)) {
12574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12576 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12579 arg2
= wxString_in_helper(obj1
);
12580 if (arg2
== NULL
) SWIG_fail
;
12585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12586 if (!SWIG_IsOK(ecode3
)) {
12587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12589 arg3
= static_cast< int >(val3
);
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12614 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 PyObject
*resultobj
= 0;
12616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12619 PyObject
*swig_obj
[1] ;
12621 if (!args
) SWIG_fail
;
12622 swig_obj
[0] = args
;
12623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12627 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->MarkDirty();
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= SWIG_Py_Void();
12641 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12642 PyObject
*resultobj
= 0;
12643 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12646 PyObject
*swig_obj
[1] ;
12648 if (!args
) SWIG_fail
;
12649 swig_obj
[0] = args
;
12650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12651 if (!SWIG_IsOK(res1
)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12654 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->DiscardEdits();
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= SWIG_Py_Void();
12668 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
= 0;
12670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 char * kwnames
[] = {
12679 (char *) "self",(char *) "modified", NULL
12682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12684 if (!SWIG_IsOK(res1
)) {
12685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12687 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12688 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12689 if (!SWIG_IsOK(ecode2
)) {
12690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12692 arg2
= static_cast< bool >(val2
);
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->SetModified(arg2
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= SWIG_Py_Void();
12706 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
= 0;
12708 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12709 unsigned long arg2
;
12712 unsigned long val2
;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "len", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12725 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12726 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12727 if (!SWIG_IsOK(ecode2
)) {
12728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12730 arg2
= static_cast< unsigned long >(val2
);
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 (arg1
)->SetMaxLength(arg2
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= SWIG_Py_Void();
12744 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
= 0;
12746 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12747 wxString
*arg2
= 0 ;
12750 bool temp2
= false ;
12751 PyObject
* obj0
= 0 ;
12752 PyObject
* obj1
= 0 ;
12753 char * kwnames
[] = {
12754 (char *) "self",(char *) "text", NULL
12757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12759 if (!SWIG_IsOK(res1
)) {
12760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12762 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12764 arg2
= wxString_in_helper(obj1
);
12765 if (arg2
== NULL
) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 (arg1
)->WriteText((wxString
const &)*arg2
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_Py_Void();
12789 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= 0;
12791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12792 wxString
*arg2
= 0 ;
12795 bool temp2
= false ;
12796 PyObject
* obj0
= 0 ;
12797 PyObject
* obj1
= 0 ;
12798 char * kwnames
[] = {
12799 (char *) "self",(char *) "text", NULL
12802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12804 if (!SWIG_IsOK(res1
)) {
12805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12807 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12809 arg2
= wxString_in_helper(obj1
);
12810 if (arg2
== NULL
) SWIG_fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 (arg1
)->AppendText((wxString
const &)*arg2
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= SWIG_Py_Void();
12834 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
= 0;
12836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12837 wxKeyEvent
*arg2
= 0 ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char * kwnames
[] = {
12846 (char *) "self",(char *) "event", NULL
12849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12851 if (!SWIG_IsOK(res1
)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12854 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12856 if (!SWIG_IsOK(res2
)) {
12857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12862 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12878 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12879 PyObject
*resultobj
= 0;
12880 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12883 wxTextAttr
*arg4
= 0 ;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 PyObject
* obj2
= 0 ;
12896 PyObject
* obj3
= 0 ;
12897 char * kwnames
[] = {
12898 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12903 if (!SWIG_IsOK(res1
)) {
12904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12906 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12907 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12908 if (!SWIG_IsOK(ecode2
)) {
12909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12911 arg2
= static_cast< long >(val2
);
12912 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12913 if (!SWIG_IsOK(ecode3
)) {
12914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12916 arg3
= static_cast< long >(val3
);
12917 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12918 if (!SWIG_IsOK(res4
)) {
12919 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12924 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12940 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
= 0;
12942 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12944 wxTextAttr
*arg3
= 0 ;
12952 PyObject
* obj0
= 0 ;
12953 PyObject
* obj1
= 0 ;
12954 PyObject
* obj2
= 0 ;
12955 char * kwnames
[] = {
12956 (char *) "self",(char *) "position",(char *) "style", NULL
12959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12961 if (!SWIG_IsOK(res1
)) {
12962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12964 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12965 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12966 if (!SWIG_IsOK(ecode2
)) {
12967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12969 arg2
= static_cast< long >(val2
);
12970 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12971 if (!SWIG_IsOK(res3
)) {
12972 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12977 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12993 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
= 0;
12995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12996 wxTextAttr
*arg2
= 0 ;
13002 PyObject
* obj0
= 0 ;
13003 PyObject
* obj1
= 0 ;
13004 char * kwnames
[] = {
13005 (char *) "self",(char *) "style", NULL
13008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13010 if (!SWIG_IsOK(res1
)) {
13011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13013 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13015 if (!SWIG_IsOK(res2
)) {
13016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13021 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13037 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13038 PyObject
*resultobj
= 0;
13039 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13040 wxTextAttr
*result
= 0 ;
13043 PyObject
*swig_obj
[1] ;
13045 if (!args
) SWIG_fail
;
13046 swig_obj
[0] = args
;
13047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13048 if (!SWIG_IsOK(res1
)) {
13049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13051 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13056 result
= (wxTextAttr
*) &_result_ref
;
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13068 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
= 0;
13070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 PyObject
* obj2
= 0 ;
13083 char * kwnames
[] = {
13084 (char *) "self",(char *) "x",(char *) "y", NULL
13087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13089 if (!SWIG_IsOK(res1
)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13092 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13093 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13094 if (!SWIG_IsOK(ecode2
)) {
13095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13097 arg2
= static_cast< long >(val2
);
13098 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13099 if (!SWIG_IsOK(ecode3
)) {
13100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13102 arg3
= static_cast< long >(val3
);
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= SWIG_From_long(static_cast< long >(result
));
13116 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
= 0;
13118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13120 long *arg3
= (long *) 0 ;
13121 long *arg4
= (long *) 0 ;
13127 int res3
= SWIG_TMPOBJ
;
13129 int res4
= SWIG_TMPOBJ
;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 char * kwnames
[] = {
13133 (char *) "self",(char *) "pos", NULL
13138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13140 if (!SWIG_IsOK(res1
)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13143 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13144 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13145 if (!SWIG_IsOK(ecode2
)) {
13146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13148 arg2
= static_cast< long >(val2
);
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_Py_Void();
13156 if (SWIG_IsTmpObj(res3
)) {
13157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13159 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13162 if (SWIG_IsTmpObj(res4
)) {
13163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13165 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13174 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
= 0;
13176 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 char * kwnames
[] = {
13185 (char *) "self",(char *) "pos", NULL
13188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13190 if (!SWIG_IsOK(res1
)) {
13191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13193 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13194 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13195 if (!SWIG_IsOK(ecode2
)) {
13196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13198 arg2
= static_cast< long >(val2
);
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 (arg1
)->ShowPosition(arg2
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= SWIG_Py_Void();
13212 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
= 0;
13214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13215 wxPoint
*arg2
= 0 ;
13216 long *arg3
= (long *) 0 ;
13217 long *arg4
= (long *) 0 ;
13218 wxTextCtrlHitTestResult result
;
13223 int res3
= SWIG_TMPOBJ
;
13225 int res4
= SWIG_TMPOBJ
;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 char * kwnames
[] = {
13229 (char *) "self",(char *) "pt", NULL
13234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13236 if (!SWIG_IsOK(res1
)) {
13237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13239 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= SWIG_From_int(static_cast< int >(result
));
13251 if (SWIG_IsTmpObj(res3
)) {
13252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13254 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13257 if (SWIG_IsTmpObj(res4
)) {
13258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13260 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13269 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
= 0;
13271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13272 wxPoint
*arg2
= 0 ;
13273 long *arg3
= (long *) 0 ;
13274 wxTextCtrlHitTestResult result
;
13279 int res3
= SWIG_TMPOBJ
;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 char * kwnames
[] = {
13283 (char *) "self",(char *) "pt", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13292 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13295 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_From_int(static_cast< int >(result
));
13304 if (SWIG_IsTmpObj(res3
)) {
13305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13307 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13316 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13317 PyObject
*resultobj
= 0;
13318 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13321 PyObject
*swig_obj
[1] ;
13323 if (!args
) SWIG_fail
;
13324 swig_obj
[0] = args
;
13325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13326 if (!SWIG_IsOK(res1
)) {
13327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13329 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_Py_Void();
13343 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13344 PyObject
*resultobj
= 0;
13345 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13348 PyObject
*swig_obj
[1] ;
13350 if (!args
) SWIG_fail
;
13351 swig_obj
[0] = args
;
13352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13353 if (!SWIG_IsOK(res1
)) {
13354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13356 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= SWIG_Py_Void();
13370 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13371 PyObject
*resultobj
= 0;
13372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13375 PyObject
*swig_obj
[1] ;
13377 if (!args
) SWIG_fail
;
13378 swig_obj
[0] = args
;
13379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13380 if (!SWIG_IsOK(res1
)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13383 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= SWIG_Py_Void();
13397 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13398 PyObject
*resultobj
= 0;
13399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13403 PyObject
*swig_obj
[1] ;
13405 if (!args
) SWIG_fail
;
13406 swig_obj
[0] = args
;
13407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13408 if (!SWIG_IsOK(res1
)) {
13409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13411 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13427 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13428 PyObject
*resultobj
= 0;
13429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13433 PyObject
*swig_obj
[1] ;
13435 if (!args
) SWIG_fail
;
13436 swig_obj
[0] = args
;
13437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13438 if (!SWIG_IsOK(res1
)) {
13439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13441 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13457 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13458 PyObject
*resultobj
= 0;
13459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13463 PyObject
*swig_obj
[1] ;
13465 if (!args
) SWIG_fail
;
13466 swig_obj
[0] = args
;
13467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13468 if (!SWIG_IsOK(res1
)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13471 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13487 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13488 PyObject
*resultobj
= 0;
13489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13492 PyObject
*swig_obj
[1] ;
13494 if (!args
) SWIG_fail
;
13495 swig_obj
[0] = args
;
13496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13497 if (!SWIG_IsOK(res1
)) {
13498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13500 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= SWIG_Py_Void();
13514 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13515 PyObject
*resultobj
= 0;
13516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13519 PyObject
*swig_obj
[1] ;
13521 if (!args
) SWIG_fail
;
13522 swig_obj
[0] = args
;
13523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13527 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= SWIG_Py_Void();
13541 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13542 PyObject
*resultobj
= 0;
13543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13547 PyObject
*swig_obj
[1] ;
13549 if (!args
) SWIG_fail
;
13550 swig_obj
[0] = args
;
13551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13552 if (!SWIG_IsOK(res1
)) {
13553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13555 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13571 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13572 PyObject
*resultobj
= 0;
13573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13577 PyObject
*swig_obj
[1] ;
13579 if (!args
) SWIG_fail
;
13580 swig_obj
[0] = args
;
13581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13582 if (!SWIG_IsOK(res1
)) {
13583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13585 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13601 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
= 0;
13603 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 PyObject
* obj1
= 0 ;
13611 char * kwnames
[] = {
13612 (char *) "self",(char *) "pos", NULL
13615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13617 if (!SWIG_IsOK(res1
)) {
13618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13620 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13621 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13622 if (!SWIG_IsOK(ecode2
)) {
13623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13625 arg2
= static_cast< long >(val2
);
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 (arg1
)->SetInsertionPoint(arg2
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= SWIG_Py_Void();
13639 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13640 PyObject
*resultobj
= 0;
13641 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13644 PyObject
*swig_obj
[1] ;
13646 if (!args
) SWIG_fail
;
13647 swig_obj
[0] = args
;
13648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13649 if (!SWIG_IsOK(res1
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13652 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 (arg1
)->SetInsertionPointEnd();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= SWIG_Py_Void();
13666 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13667 PyObject
*resultobj
= 0;
13668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13672 PyObject
*swig_obj
[1] ;
13674 if (!args
) SWIG_fail
;
13675 swig_obj
[0] = args
;
13676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13677 if (!SWIG_IsOK(res1
)) {
13678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13680 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= SWIG_From_long(static_cast< long >(result
));
13694 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13695 PyObject
*resultobj
= 0;
13696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13700 PyObject
*swig_obj
[1] ;
13702 if (!args
) SWIG_fail
;
13703 swig_obj
[0] = args
;
13704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13705 if (!SWIG_IsOK(res1
)) {
13706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13708 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= SWIG_From_long(static_cast< long >(result
));
13722 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
= 0;
13724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 PyObject
* obj2
= 0 ;
13736 char * kwnames
[] = {
13737 (char *) "self",(char *) "from",(char *) "to", NULL
13740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13742 if (!SWIG_IsOK(res1
)) {
13743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13745 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13746 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13747 if (!SWIG_IsOK(ecode2
)) {
13748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13750 arg2
= static_cast< long >(val2
);
13751 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13752 if (!SWIG_IsOK(ecode3
)) {
13753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13755 arg3
= static_cast< long >(val3
);
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 (arg1
)->SetSelection(arg2
,arg3
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_Py_Void();
13769 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13770 PyObject
*resultobj
= 0;
13771 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13774 PyObject
*swig_obj
[1] ;
13776 if (!args
) SWIG_fail
;
13777 swig_obj
[0] = args
;
13778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13779 if (!SWIG_IsOK(res1
)) {
13780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13782 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 (arg1
)->SelectAll();
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= SWIG_Py_Void();
13796 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13797 PyObject
*resultobj
= 0;
13798 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 char * kwnames
[] = {
13807 (char *) "self",(char *) "editable", NULL
13810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13812 if (!SWIG_IsOK(res1
)) {
13813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13815 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13817 if (!SWIG_IsOK(ecode2
)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13820 arg2
= static_cast< bool >(val2
);
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 (arg1
)->SetEditable(arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= SWIG_Py_Void();
13834 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13835 PyObject
*resultobj
= 0;
13836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13839 PyObject
*swig_obj
[1] ;
13841 if (!args
) SWIG_fail
;
13842 swig_obj
[0] = args
;
13843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13844 if (!SWIG_IsOK(res1
)) {
13845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13847 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 (arg1
)->SendTextUpdatedEvent();
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_Py_Void();
13861 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
= 0;
13863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13864 wxString
*arg2
= 0 ;
13867 bool temp2
= false ;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 char * kwnames
[] = {
13871 (char *) "self",(char *) "text", NULL
13874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13876 if (!SWIG_IsOK(res1
)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13879 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13881 arg2
= wxString_in_helper(obj1
);
13882 if (arg2
== NULL
) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_Py_Void();
13906 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
= 0;
13908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 PyObject
* obj1
= 0 ;
13920 PyObject
* obj2
= 0 ;
13921 char * kwnames
[] = {
13922 (char *) "self",(char *) "from",(char *) "to", NULL
13925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13927 if (!SWIG_IsOK(res1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13930 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13931 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13932 if (!SWIG_IsOK(ecode2
)) {
13933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13935 arg2
= static_cast< long >(val2
);
13936 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13937 if (!SWIG_IsOK(ecode3
)) {
13938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13940 arg3
= static_cast< long >(val3
);
13942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13943 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13960 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
= 0;
13962 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13963 SwigValueWrapper
<wxVisualAttributes
> result
;
13966 PyObject
* obj0
= 0 ;
13967 char * kwnames
[] = {
13968 (char *) "variant", NULL
13971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13973 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13974 if (!SWIG_IsOK(ecode1
)) {
13975 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13977 arg1
= static_cast< wxWindowVariant
>(val1
);
13980 if (!wxPyCheckForApp()) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13993 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13996 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13997 return SWIG_Py_Void();
14000 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14001 return SWIG_Python_InitShadowInstance(args
);
14004 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
= 0;
14007 wxMouseEvent
*arg2
= 0 ;
14010 wxTextUrlEvent
*result
= 0 ;
14019 PyObject
* obj0
= 0 ;
14020 PyObject
* obj1
= 0 ;
14021 PyObject
* obj2
= 0 ;
14022 PyObject
* obj3
= 0 ;
14023 char * kwnames
[] = {
14024 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14028 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14029 if (!SWIG_IsOK(ecode1
)) {
14030 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14032 arg1
= static_cast< int >(val1
);
14033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14034 if (!SWIG_IsOK(res2
)) {
14035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14040 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14041 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14042 if (!SWIG_IsOK(ecode3
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14045 arg3
= static_cast< long >(val3
);
14046 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14047 if (!SWIG_IsOK(ecode4
)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14050 arg4
= static_cast< long >(val4
);
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14064 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14065 PyObject
*resultobj
= 0;
14066 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14067 wxMouseEvent
*result
= 0 ;
14070 PyObject
*swig_obj
[1] ;
14072 if (!args
) SWIG_fail
;
14073 swig_obj
[0] = args
;
14074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14075 if (!SWIG_IsOK(res1
)) {
14076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14078 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14083 result
= (wxMouseEvent
*) &_result_ref
;
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14095 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14096 PyObject
*resultobj
= 0;
14097 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14101 PyObject
*swig_obj
[1] ;
14103 if (!args
) SWIG_fail
;
14104 swig_obj
[0] = args
;
14105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14106 if (!SWIG_IsOK(res1
)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14109 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= SWIG_From_long(static_cast< long >(result
));
14123 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14124 PyObject
*resultobj
= 0;
14125 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14129 PyObject
*swig_obj
[1] ;
14131 if (!args
) SWIG_fail
;
14132 swig_obj
[0] = args
;
14133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14134 if (!SWIG_IsOK(res1
)) {
14135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14137 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= SWIG_From_long(static_cast< long >(result
));
14151 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14154 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14155 return SWIG_Py_Void();
14158 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14159 return SWIG_Python_InitShadowInstance(args
);
14162 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14163 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14168 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14169 PyObject
*pyobj
= 0;
14173 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14175 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14182 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
= 0;
14184 wxWindow
*arg1
= (wxWindow
*) 0 ;
14185 int arg2
= (int) -1 ;
14186 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14187 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14188 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14189 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14190 long arg5
= (long) wxSB_HORIZONTAL
;
14191 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14192 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14193 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14194 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14195 wxScrollBar
*result
= 0 ;
14206 bool temp7
= false ;
14207 PyObject
* obj0
= 0 ;
14208 PyObject
* obj1
= 0 ;
14209 PyObject
* obj2
= 0 ;
14210 PyObject
* obj3
= 0 ;
14211 PyObject
* obj4
= 0 ;
14212 PyObject
* obj5
= 0 ;
14213 PyObject
* obj6
= 0 ;
14214 char * kwnames
[] = {
14215 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14220 if (!SWIG_IsOK(res1
)) {
14221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14226 if (!SWIG_IsOK(ecode2
)) {
14227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14229 arg2
= static_cast< int >(val2
);
14234 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14240 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14244 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14245 if (!SWIG_IsOK(ecode5
)) {
14246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14248 arg5
= static_cast< long >(val5
);
14251 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14252 if (!SWIG_IsOK(res6
)) {
14253 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14258 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14262 arg7
= wxString_in_helper(obj6
);
14263 if (arg7
== NULL
) SWIG_fail
;
14268 if (!wxPyCheckForApp()) SWIG_fail
;
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14289 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14290 PyObject
*resultobj
= 0;
14291 wxScrollBar
*result
= 0 ;
14293 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14295 if (!wxPyCheckForApp()) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (wxScrollBar
*)new wxScrollBar();
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14308 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
= 0;
14310 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14311 wxWindow
*arg2
= (wxWindow
*) 0 ;
14312 int arg3
= (int) -1 ;
14313 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14314 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14315 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14316 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14317 long arg6
= (long) wxSB_HORIZONTAL
;
14318 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14319 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14320 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14321 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14335 bool temp8
= false ;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 PyObject
* obj2
= 0 ;
14339 PyObject
* obj3
= 0 ;
14340 PyObject
* obj4
= 0 ;
14341 PyObject
* obj5
= 0 ;
14342 PyObject
* obj6
= 0 ;
14343 PyObject
* obj7
= 0 ;
14344 char * kwnames
[] = {
14345 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14350 if (!SWIG_IsOK(res1
)) {
14351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14353 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14354 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14355 if (!SWIG_IsOK(res2
)) {
14356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14358 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14361 if (!SWIG_IsOK(ecode3
)) {
14362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14364 arg3
= static_cast< int >(val3
);
14369 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14375 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14379 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14380 if (!SWIG_IsOK(ecode6
)) {
14381 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14383 arg6
= static_cast< long >(val6
);
14386 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14387 if (!SWIG_IsOK(res7
)) {
14388 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14393 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14397 arg8
= wxString_in_helper(obj7
);
14398 if (arg8
== NULL
) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14425 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14426 PyObject
*resultobj
= 0;
14427 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14431 PyObject
*swig_obj
[1] ;
14433 if (!args
) SWIG_fail
;
14434 swig_obj
[0] = args
;
14435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14436 if (!SWIG_IsOK(res1
)) {
14437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14439 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= SWIG_From_int(static_cast< int >(result
));
14453 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14454 PyObject
*resultobj
= 0;
14455 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14459 PyObject
*swig_obj
[1] ;
14461 if (!args
) SWIG_fail
;
14462 swig_obj
[0] = args
;
14463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14464 if (!SWIG_IsOK(res1
)) {
14465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14467 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= SWIG_From_int(static_cast< int >(result
));
14481 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14482 PyObject
*resultobj
= 0;
14483 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14487 PyObject
*swig_obj
[1] ;
14489 if (!args
) SWIG_fail
;
14490 swig_obj
[0] = args
;
14491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14492 if (!SWIG_IsOK(res1
)) {
14493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14495 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_From_int(static_cast< int >(result
));
14509 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14510 PyObject
*resultobj
= 0;
14511 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14515 PyObject
*swig_obj
[1] ;
14517 if (!args
) SWIG_fail
;
14518 swig_obj
[0] = args
;
14519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14520 if (!SWIG_IsOK(res1
)) {
14521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14523 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= SWIG_From_int(static_cast< int >(result
));
14537 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14538 PyObject
*resultobj
= 0;
14539 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14543 PyObject
*swig_obj
[1] ;
14545 if (!args
) SWIG_fail
;
14546 swig_obj
[0] = args
;
14547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14548 if (!SWIG_IsOK(res1
)) {
14549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14551 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14567 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
= 0;
14569 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14575 PyObject
* obj0
= 0 ;
14576 PyObject
* obj1
= 0 ;
14577 char * kwnames
[] = {
14578 (char *) "self",(char *) "viewStart", NULL
14581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14583 if (!SWIG_IsOK(res1
)) {
14584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14586 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14588 if (!SWIG_IsOK(ecode2
)) {
14589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14591 arg2
= static_cast< int >(val2
);
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 (arg1
)->SetThumbPosition(arg2
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= SWIG_Py_Void();
14605 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
= 0;
14607 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14608 SwigValueWrapper
<wxVisualAttributes
> result
;
14611 PyObject
* obj0
= 0 ;
14612 char * kwnames
[] = {
14613 (char *) "variant", NULL
14616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14618 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14619 if (!SWIG_IsOK(ecode1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14622 arg1
= static_cast< wxWindowVariant
>(val1
);
14625 if (!wxPyCheckForApp()) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14638 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14641 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14642 return SWIG_Py_Void();
14645 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14646 return SWIG_Python_InitShadowInstance(args
);
14649 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14650 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14655 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14656 PyObject
*pyobj
= 0;
14660 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14662 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14669 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14670 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14675 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14676 PyObject
*pyobj
= 0;
14680 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14682 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14689 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
= 0;
14691 wxWindow
*arg1
= (wxWindow
*) 0 ;
14692 int arg2
= (int) -1 ;
14693 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14694 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14695 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14696 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14697 long arg5
= (long) wxSP_HORIZONTAL
;
14698 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14699 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14700 wxSpinButton
*result
= 0 ;
14709 bool temp6
= false ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 PyObject
* obj2
= 0 ;
14713 PyObject
* obj3
= 0 ;
14714 PyObject
* obj4
= 0 ;
14715 PyObject
* obj5
= 0 ;
14716 char * kwnames
[] = {
14717 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14722 if (!SWIG_IsOK(res1
)) {
14723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14725 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14728 if (!SWIG_IsOK(ecode2
)) {
14729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14731 arg2
= static_cast< int >(val2
);
14736 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14742 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14746 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14747 if (!SWIG_IsOK(ecode5
)) {
14748 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14750 arg5
= static_cast< long >(val5
);
14754 arg6
= wxString_in_helper(obj5
);
14755 if (arg6
== NULL
) SWIG_fail
;
14760 if (!wxPyCheckForApp()) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14781 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14782 PyObject
*resultobj
= 0;
14783 wxSpinButton
*result
= 0 ;
14785 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14787 if (!wxPyCheckForApp()) SWIG_fail
;
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 result
= (wxSpinButton
*)new wxSpinButton();
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14800 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
= 0;
14802 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14803 wxWindow
*arg2
= (wxWindow
*) 0 ;
14804 int arg3
= (int) -1 ;
14805 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14806 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14807 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14808 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14809 long arg6
= (long) wxSP_HORIZONTAL
;
14810 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14811 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14823 bool temp7
= false ;
14824 PyObject
* obj0
= 0 ;
14825 PyObject
* obj1
= 0 ;
14826 PyObject
* obj2
= 0 ;
14827 PyObject
* obj3
= 0 ;
14828 PyObject
* obj4
= 0 ;
14829 PyObject
* obj5
= 0 ;
14830 PyObject
* obj6
= 0 ;
14831 char * kwnames
[] = {
14832 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14837 if (!SWIG_IsOK(res1
)) {
14838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14840 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14842 if (!SWIG_IsOK(res2
)) {
14843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14845 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14848 if (!SWIG_IsOK(ecode3
)) {
14849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14851 arg3
= static_cast< int >(val3
);
14856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14866 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14867 if (!SWIG_IsOK(ecode6
)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14870 arg6
= static_cast< long >(val6
);
14874 arg7
= wxString_in_helper(obj6
);
14875 if (arg7
== NULL
) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14902 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14903 PyObject
*resultobj
= 0;
14904 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14908 PyObject
*swig_obj
[1] ;
14910 if (!args
) SWIG_fail
;
14911 swig_obj
[0] = args
;
14912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14913 if (!SWIG_IsOK(res1
)) {
14914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14916 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_From_int(static_cast< int >(result
));
14930 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14931 PyObject
*resultobj
= 0;
14932 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14936 PyObject
*swig_obj
[1] ;
14938 if (!args
) SWIG_fail
;
14939 swig_obj
[0] = args
;
14940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14941 if (!SWIG_IsOK(res1
)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14944 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_From_int(static_cast< int >(result
));
14958 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14959 PyObject
*resultobj
= 0;
14960 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14964 PyObject
*swig_obj
[1] ;
14966 if (!args
) SWIG_fail
;
14967 swig_obj
[0] = args
;
14968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14969 if (!SWIG_IsOK(res1
)) {
14970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14972 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= SWIG_From_int(static_cast< int >(result
));
14986 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
= 0;
14988 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14994 PyObject
* obj0
= 0 ;
14995 PyObject
* obj1
= 0 ;
14996 char * kwnames
[] = {
14997 (char *) "self",(char *) "val", NULL
15000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15002 if (!SWIG_IsOK(res1
)) {
15003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15005 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15007 if (!SWIG_IsOK(ecode2
)) {
15008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15010 arg2
= static_cast< int >(val2
);
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 (arg1
)->SetValue(arg2
);
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= SWIG_Py_Void();
15024 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
= 0;
15026 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15032 PyObject
* obj0
= 0 ;
15033 PyObject
* obj1
= 0 ;
15034 char * kwnames
[] = {
15035 (char *) "self",(char *) "minVal", NULL
15038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15040 if (!SWIG_IsOK(res1
)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15043 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15045 if (!SWIG_IsOK(ecode2
)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15048 arg2
= static_cast< int >(val2
);
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 (arg1
)->SetMin(arg2
);
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= SWIG_Py_Void();
15062 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
= 0;
15064 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 PyObject
* obj1
= 0 ;
15072 char * kwnames
[] = {
15073 (char *) "self",(char *) "maxVal", NULL
15076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15078 if (!SWIG_IsOK(res1
)) {
15079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15081 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15083 if (!SWIG_IsOK(ecode2
)) {
15084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15086 arg2
= static_cast< int >(val2
);
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 (arg1
)->SetMax(arg2
);
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= SWIG_Py_Void();
15100 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
= 0;
15102 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15111 PyObject
* obj0
= 0 ;
15112 PyObject
* obj1
= 0 ;
15113 PyObject
* obj2
= 0 ;
15114 char * kwnames
[] = {
15115 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15120 if (!SWIG_IsOK(res1
)) {
15121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15123 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15125 if (!SWIG_IsOK(ecode2
)) {
15126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15128 arg2
= static_cast< int >(val2
);
15129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15130 if (!SWIG_IsOK(ecode3
)) {
15131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15133 arg3
= static_cast< int >(val3
);
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 (arg1
)->SetRange(arg2
,arg3
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_Py_Void();
15147 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15148 PyObject
*resultobj
= 0;
15149 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15153 PyObject
*swig_obj
[1] ;
15155 if (!args
) SWIG_fail
;
15156 swig_obj
[0] = args
;
15157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15158 if (!SWIG_IsOK(res1
)) {
15159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15161 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15177 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
= 0;
15179 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15180 SwigValueWrapper
<wxVisualAttributes
> result
;
15183 PyObject
* obj0
= 0 ;
15184 char * kwnames
[] = {
15185 (char *) "variant", NULL
15188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15191 if (!SWIG_IsOK(ecode1
)) {
15192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15194 arg1
= static_cast< wxWindowVariant
>(val1
);
15197 if (!wxPyCheckForApp()) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15210 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15212 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15213 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15214 return SWIG_Py_Void();
15217 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15218 return SWIG_Python_InitShadowInstance(args
);
15221 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
= 0;
15223 wxWindow
*arg1
= (wxWindow
*) 0 ;
15224 int arg2
= (int) -1 ;
15225 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15226 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15227 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15228 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15229 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15230 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15231 long arg6
= (long) wxSP_ARROW_KEYS
;
15232 int arg7
= (int) 0 ;
15233 int arg8
= (int) 100 ;
15234 int arg9
= (int) 0 ;
15235 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15236 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15237 wxSpinCtrl
*result
= 0 ;
15242 bool temp3
= false ;
15253 bool temp10
= false ;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 PyObject
* obj2
= 0 ;
15257 PyObject
* obj3
= 0 ;
15258 PyObject
* obj4
= 0 ;
15259 PyObject
* obj5
= 0 ;
15260 PyObject
* obj6
= 0 ;
15261 PyObject
* obj7
= 0 ;
15262 PyObject
* obj8
= 0 ;
15263 PyObject
* obj9
= 0 ;
15264 char * kwnames
[] = {
15265 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15270 if (!SWIG_IsOK(res1
)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15273 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15276 if (!SWIG_IsOK(ecode2
)) {
15277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15279 arg2
= static_cast< int >(val2
);
15283 arg3
= wxString_in_helper(obj2
);
15284 if (arg3
== NULL
) SWIG_fail
;
15291 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15297 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15301 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15302 if (!SWIG_IsOK(ecode6
)) {
15303 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15305 arg6
= static_cast< long >(val6
);
15308 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15309 if (!SWIG_IsOK(ecode7
)) {
15310 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15312 arg7
= static_cast< int >(val7
);
15315 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15316 if (!SWIG_IsOK(ecode8
)) {
15317 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15319 arg8
= static_cast< int >(val8
);
15322 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15323 if (!SWIG_IsOK(ecode9
)) {
15324 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15326 arg9
= static_cast< int >(val9
);
15330 arg10
= wxString_in_helper(obj9
);
15331 if (arg10
== NULL
) SWIG_fail
;
15336 if (!wxPyCheckForApp()) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15365 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15366 PyObject
*resultobj
= 0;
15367 wxSpinCtrl
*result
= 0 ;
15369 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15371 if (!wxPyCheckForApp()) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15384 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
= 0;
15386 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15387 wxWindow
*arg2
= (wxWindow
*) 0 ;
15388 int arg3
= (int) -1 ;
15389 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15390 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15395 long arg7
= (long) wxSP_ARROW_KEYS
;
15396 int arg8
= (int) 0 ;
15397 int arg9
= (int) 100 ;
15398 int arg10
= (int) 0 ;
15399 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15400 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15408 bool temp4
= false ;
15419 bool temp11
= false ;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 PyObject
* obj2
= 0 ;
15423 PyObject
* obj3
= 0 ;
15424 PyObject
* obj4
= 0 ;
15425 PyObject
* obj5
= 0 ;
15426 PyObject
* obj6
= 0 ;
15427 PyObject
* obj7
= 0 ;
15428 PyObject
* obj8
= 0 ;
15429 PyObject
* obj9
= 0 ;
15430 PyObject
* obj10
= 0 ;
15431 char * kwnames
[] = {
15432 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15437 if (!SWIG_IsOK(res1
)) {
15438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15440 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15442 if (!SWIG_IsOK(res2
)) {
15443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15445 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15448 if (!SWIG_IsOK(ecode3
)) {
15449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15451 arg3
= static_cast< int >(val3
);
15455 arg4
= wxString_in_helper(obj3
);
15456 if (arg4
== NULL
) SWIG_fail
;
15463 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15469 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15473 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15474 if (!SWIG_IsOK(ecode7
)) {
15475 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15477 arg7
= static_cast< long >(val7
);
15480 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15481 if (!SWIG_IsOK(ecode8
)) {
15482 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15484 arg8
= static_cast< int >(val8
);
15487 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15488 if (!SWIG_IsOK(ecode9
)) {
15489 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15491 arg9
= static_cast< int >(val9
);
15494 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15495 if (!SWIG_IsOK(ecode10
)) {
15496 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15498 arg10
= static_cast< int >(val10
);
15502 arg11
= wxString_in_helper(obj10
);
15503 if (arg11
== NULL
) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15538 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15539 PyObject
*resultobj
= 0;
15540 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15544 PyObject
*swig_obj
[1] ;
15546 if (!args
) SWIG_fail
;
15547 swig_obj
[0] = args
;
15548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15549 if (!SWIG_IsOK(res1
)) {
15550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15552 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= SWIG_From_int(static_cast< int >(result
));
15566 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
= 0;
15568 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 char * kwnames
[] = {
15577 (char *) "self",(char *) "value", NULL
15580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15582 if (!SWIG_IsOK(res1
)) {
15583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15585 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15587 if (!SWIG_IsOK(ecode2
)) {
15588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15590 arg2
= static_cast< int >(val2
);
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 (arg1
)->SetValue(arg2
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_Py_Void();
15604 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
= 0;
15606 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15607 wxString
*arg2
= 0 ;
15610 bool temp2
= false ;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 char * kwnames
[] = {
15614 (char *) "self",(char *) "text", NULL
15617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15619 if (!SWIG_IsOK(res1
)) {
15620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15622 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15624 arg2
= wxString_in_helper(obj1
);
15625 if (arg2
== NULL
) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 (arg1
)->SetValue((wxString
const &)*arg2
);
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= SWIG_Py_Void();
15649 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
= 0;
15651 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15660 PyObject
* obj0
= 0 ;
15661 PyObject
* obj1
= 0 ;
15662 PyObject
* obj2
= 0 ;
15663 char * kwnames
[] = {
15664 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15669 if (!SWIG_IsOK(res1
)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15672 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15674 if (!SWIG_IsOK(ecode2
)) {
15675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15677 arg2
= static_cast< int >(val2
);
15678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15679 if (!SWIG_IsOK(ecode3
)) {
15680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15682 arg3
= static_cast< int >(val3
);
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 (arg1
)->SetRange(arg2
,arg3
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= SWIG_Py_Void();
15696 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15697 PyObject
*resultobj
= 0;
15698 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15702 PyObject
*swig_obj
[1] ;
15704 if (!args
) SWIG_fail
;
15705 swig_obj
[0] = args
;
15706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15707 if (!SWIG_IsOK(res1
)) {
15708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15710 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_From_int(static_cast< int >(result
));
15724 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15725 PyObject
*resultobj
= 0;
15726 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15730 PyObject
*swig_obj
[1] ;
15732 if (!args
) SWIG_fail
;
15733 swig_obj
[0] = args
;
15734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15735 if (!SWIG_IsOK(res1
)) {
15736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15738 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 resultobj
= SWIG_From_int(static_cast< int >(result
));
15752 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
= 0;
15754 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 PyObject
* obj1
= 0 ;
15765 PyObject
* obj2
= 0 ;
15766 char * kwnames
[] = {
15767 (char *) "self",(char *) "from",(char *) "to", NULL
15770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15772 if (!SWIG_IsOK(res1
)) {
15773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15775 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15776 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15777 if (!SWIG_IsOK(ecode2
)) {
15778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15780 arg2
= static_cast< long >(val2
);
15781 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15782 if (!SWIG_IsOK(ecode3
)) {
15783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15785 arg3
= static_cast< long >(val3
);
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 (arg1
)->SetSelection(arg2
,arg3
);
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= SWIG_Py_Void();
15799 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
= 0;
15801 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15802 SwigValueWrapper
<wxVisualAttributes
> result
;
15805 PyObject
* obj0
= 0 ;
15806 char * kwnames
[] = {
15807 (char *) "variant", NULL
15810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15812 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15813 if (!SWIG_IsOK(ecode1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15816 arg1
= static_cast< wxWindowVariant
>(val1
);
15819 if (!wxPyCheckForApp()) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15832 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15835 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15836 return SWIG_Py_Void();
15839 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 return SWIG_Python_InitShadowInstance(args
);
15843 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
= 0;
15845 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15846 int arg2
= (int) 0 ;
15847 wxSpinEvent
*result
= 0 ;
15852 PyObject
* obj0
= 0 ;
15853 PyObject
* obj1
= 0 ;
15854 char * kwnames
[] = {
15855 (char *) "commandType",(char *) "winid", NULL
15858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15860 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15861 if (!SWIG_IsOK(ecode1
)) {
15862 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15864 arg1
= static_cast< wxEventType
>(val1
);
15867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15868 if (!SWIG_IsOK(ecode2
)) {
15869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15871 arg2
= static_cast< int >(val2
);
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15886 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15887 PyObject
*resultobj
= 0;
15888 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15892 PyObject
*swig_obj
[1] ;
15894 if (!args
) SWIG_fail
;
15895 swig_obj
[0] = args
;
15896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15897 if (!SWIG_IsOK(res1
)) {
15898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15900 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15907 resultobj
= SWIG_From_int(static_cast< int >(result
));
15914 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
= 0;
15916 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 PyObject
* obj1
= 0 ;
15924 char * kwnames
[] = {
15925 (char *) "self",(char *) "pos", NULL
15928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15930 if (!SWIG_IsOK(res1
)) {
15931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15933 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15935 if (!SWIG_IsOK(ecode2
)) {
15936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15938 arg2
= static_cast< int >(val2
);
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 (arg1
)->SetPosition(arg2
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= SWIG_Py_Void();
15952 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15955 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15956 return SWIG_Py_Void();
15959 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15960 return SWIG_Python_InitShadowInstance(args
);
15963 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15964 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15969 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15970 PyObject
*pyobj
= 0;
15974 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15976 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15983 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15984 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15989 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15990 PyObject
*pyobj
= 0;
15994 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15996 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16003 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
= 0;
16005 wxWindow
*arg1
= (wxWindow
*) 0 ;
16006 int arg2
= (int) -1 ;
16007 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16008 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16009 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16010 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16011 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16012 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16013 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16014 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16015 int arg7
= (int) 0 ;
16016 long arg8
= (long) wxRA_HORIZONTAL
;
16017 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16018 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16019 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16020 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16021 wxRadioBox
*result
= 0 ;
16026 bool temp3
= false ;
16029 bool temp6
= false ;
16036 bool temp10
= false ;
16037 PyObject
* obj0
= 0 ;
16038 PyObject
* obj1
= 0 ;
16039 PyObject
* obj2
= 0 ;
16040 PyObject
* obj3
= 0 ;
16041 PyObject
* obj4
= 0 ;
16042 PyObject
* obj5
= 0 ;
16043 PyObject
* obj6
= 0 ;
16044 PyObject
* obj7
= 0 ;
16045 PyObject
* obj8
= 0 ;
16046 PyObject
* obj9
= 0 ;
16047 char * kwnames
[] = {
16048 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16053 if (!SWIG_IsOK(res1
)) {
16054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16056 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16059 if (!SWIG_IsOK(ecode2
)) {
16060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16062 arg2
= static_cast< int >(val2
);
16066 arg3
= wxString_in_helper(obj2
);
16067 if (arg3
== NULL
) SWIG_fail
;
16074 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16080 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16085 if (! PySequence_Check(obj5
)) {
16086 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16089 arg6
= new wxArrayString
;
16091 int i
, len
=PySequence_Length(obj5
);
16092 for (i
=0; i
<len
; i
++) {
16093 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16094 wxString
* s
= wxString_in_helper(item
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16103 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16104 if (!SWIG_IsOK(ecode7
)) {
16105 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16107 arg7
= static_cast< int >(val7
);
16110 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16111 if (!SWIG_IsOK(ecode8
)) {
16112 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16114 arg8
= static_cast< long >(val8
);
16117 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16118 if (!SWIG_IsOK(res9
)) {
16119 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16124 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16128 arg10
= wxString_in_helper(obj9
);
16129 if (arg10
== NULL
) SWIG_fail
;
16134 if (!wxPyCheckForApp()) SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 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
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16146 if (temp6
) delete arg6
;
16159 if (temp6
) delete arg6
;
16169 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16170 PyObject
*resultobj
= 0;
16171 wxRadioBox
*result
= 0 ;
16173 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16175 if (!wxPyCheckForApp()) SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= (wxRadioBox
*)new wxRadioBox();
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16188 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
= 0;
16190 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16191 wxWindow
*arg2
= (wxWindow
*) 0 ;
16192 int arg3
= (int) -1 ;
16193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16199 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16200 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16201 int arg8
= (int) 0 ;
16202 long arg9
= (long) wxRA_HORIZONTAL
;
16203 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16204 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16205 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16206 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16214 bool temp4
= false ;
16217 bool temp7
= false ;
16224 bool temp11
= false ;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 PyObject
* obj2
= 0 ;
16228 PyObject
* obj3
= 0 ;
16229 PyObject
* obj4
= 0 ;
16230 PyObject
* obj5
= 0 ;
16231 PyObject
* obj6
= 0 ;
16232 PyObject
* obj7
= 0 ;
16233 PyObject
* obj8
= 0 ;
16234 PyObject
* obj9
= 0 ;
16235 PyObject
* obj10
= 0 ;
16236 char * kwnames
[] = {
16237 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16242 if (!SWIG_IsOK(res1
)) {
16243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16245 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16247 if (!SWIG_IsOK(res2
)) {
16248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16250 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16253 if (!SWIG_IsOK(ecode3
)) {
16254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16256 arg3
= static_cast< int >(val3
);
16260 arg4
= wxString_in_helper(obj3
);
16261 if (arg4
== NULL
) SWIG_fail
;
16268 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16274 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16279 if (! PySequence_Check(obj6
)) {
16280 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16283 arg7
= new wxArrayString
;
16285 int i
, len
=PySequence_Length(obj6
);
16286 for (i
=0; i
<len
; i
++) {
16287 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16288 wxString
* s
= wxString_in_helper(item
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16297 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16298 if (!SWIG_IsOK(ecode8
)) {
16299 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16301 arg8
= static_cast< int >(val8
);
16304 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16305 if (!SWIG_IsOK(ecode9
)) {
16306 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16308 arg9
= static_cast< long >(val9
);
16311 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16312 if (!SWIG_IsOK(res10
)) {
16313 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16318 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16322 arg11
= wxString_in_helper(obj10
);
16323 if (arg11
== NULL
) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 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
);
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16341 if (temp7
) delete arg7
;
16354 if (temp7
) delete arg7
;
16364 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
= 0;
16366 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 char * kwnames
[] = {
16375 (char *) "self",(char *) "n", NULL
16378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16380 if (!SWIG_IsOK(res1
)) {
16381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16383 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16385 if (!SWIG_IsOK(ecode2
)) {
16386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16388 arg2
= static_cast< int >(val2
);
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 (arg1
)->SetSelection(arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= SWIG_Py_Void();
16402 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16403 PyObject
*resultobj
= 0;
16404 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16408 PyObject
*swig_obj
[1] ;
16410 if (!args
) SWIG_fail
;
16411 swig_obj
[0] = args
;
16412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16413 if (!SWIG_IsOK(res1
)) {
16414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16416 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= SWIG_From_int(static_cast< int >(result
));
16430 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16431 PyObject
*resultobj
= 0;
16432 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16436 PyObject
*swig_obj
[1] ;
16438 if (!args
) SWIG_fail
;
16439 swig_obj
[0] = args
;
16440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16441 if (!SWIG_IsOK(res1
)) {
16442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16444 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16464 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
= 0;
16466 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16467 wxString
*arg2
= 0 ;
16471 bool temp2
= false ;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 char * kwnames
[] = {
16475 (char *) "self",(char *) "s", NULL
16478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16480 if (!SWIG_IsOK(res1
)) {
16481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16483 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16485 arg2
= wxString_in_helper(obj1
);
16486 if (arg2
== NULL
) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16512 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16513 PyObject
*resultobj
= 0;
16514 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16518 PyObject
*swig_obj
[1] ;
16520 if (!args
) SWIG_fail
;
16521 swig_obj
[0] = args
;
16522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16523 if (!SWIG_IsOK(res1
)) {
16524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16526 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16540 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
= 0;
16542 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16543 wxString
*arg2
= 0 ;
16547 bool temp2
= false ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 char * kwnames
[] = {
16551 (char *) "self",(char *) "s", NULL
16554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16556 if (!SWIG_IsOK(res1
)) {
16557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16559 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16561 arg2
= wxString_in_helper(obj1
);
16562 if (arg2
== NULL
) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 resultobj
= SWIG_From_int(static_cast< int >(result
));
16586 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
= 0;
16588 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16595 PyObject
* obj0
= 0 ;
16596 PyObject
* obj1
= 0 ;
16597 char * kwnames
[] = {
16598 (char *) "self",(char *) "n", NULL
16601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16603 if (!SWIG_IsOK(res1
)) {
16604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16606 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16608 if (!SWIG_IsOK(ecode2
)) {
16609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16611 arg2
= static_cast< int >(val2
);
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16631 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
= 0;
16633 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16635 wxString
*arg3
= 0 ;
16640 bool temp3
= false ;
16641 PyObject
* obj0
= 0 ;
16642 PyObject
* obj1
= 0 ;
16643 PyObject
* obj2
= 0 ;
16644 char * kwnames
[] = {
16645 (char *) "self",(char *) "n",(char *) "label", NULL
16648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16650 if (!SWIG_IsOK(res1
)) {
16651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16653 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16655 if (!SWIG_IsOK(ecode2
)) {
16656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16658 arg2
= static_cast< int >(val2
);
16660 arg3
= wxString_in_helper(obj2
);
16661 if (arg3
== NULL
) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= SWIG_Py_Void();
16685 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
= 0;
16687 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16688 unsigned int arg2
;
16689 bool arg3
= (bool) true ;
16692 unsigned int val2
;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 PyObject
* obj2
= 0 ;
16699 char * kwnames
[] = {
16700 (char *) "self",(char *) "n",(char *) "enable", NULL
16703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16705 if (!SWIG_IsOK(res1
)) {
16706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16708 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16709 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16710 if (!SWIG_IsOK(ecode2
)) {
16711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16713 arg2
= static_cast< unsigned int >(val2
);
16715 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16716 if (!SWIG_IsOK(ecode3
)) {
16717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16719 arg3
= static_cast< bool >(val3
);
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 (arg1
)->Enable(arg2
,arg3
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= SWIG_Py_Void();
16734 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
= 0;
16736 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16737 unsigned int arg2
;
16738 bool arg3
= (bool) true ;
16741 unsigned int val2
;
16745 PyObject
* obj0
= 0 ;
16746 PyObject
* obj1
= 0 ;
16747 PyObject
* obj2
= 0 ;
16748 char * kwnames
[] = {
16749 (char *) "self",(char *) "n",(char *) "show", NULL
16752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16754 if (!SWIG_IsOK(res1
)) {
16755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16757 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16758 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16759 if (!SWIG_IsOK(ecode2
)) {
16760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16762 arg2
= static_cast< unsigned int >(val2
);
16764 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16765 if (!SWIG_IsOK(ecode3
)) {
16766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16768 arg3
= static_cast< bool >(val3
);
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 (arg1
)->Show(arg2
,arg3
);
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= SWIG_Py_Void();
16783 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
= 0;
16785 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16786 unsigned int arg2
;
16790 unsigned int val2
;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 char * kwnames
[] = {
16795 (char *) "self",(char *) "n", NULL
16798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16800 if (!SWIG_IsOK(res1
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16803 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16804 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16805 if (!SWIG_IsOK(ecode2
)) {
16806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16808 arg2
= static_cast< unsigned int >(val2
);
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16824 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
= 0;
16826 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16827 unsigned int arg2
;
16831 unsigned int val2
;
16833 PyObject
* obj0
= 0 ;
16834 PyObject
* obj1
= 0 ;
16835 char * kwnames
[] = {
16836 (char *) "self",(char *) "n", NULL
16839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16841 if (!SWIG_IsOK(res1
)) {
16842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16844 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16845 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16846 if (!SWIG_IsOK(ecode2
)) {
16847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16849 arg2
= static_cast< unsigned int >(val2
);
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16865 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16866 PyObject
*resultobj
= 0;
16867 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16868 unsigned int result
;
16871 PyObject
*swig_obj
[1] ;
16873 if (!args
) SWIG_fail
;
16874 swig_obj
[0] = args
;
16875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16876 if (!SWIG_IsOK(res1
)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16879 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16893 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16894 PyObject
*resultobj
= 0;
16895 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16896 unsigned int result
;
16899 PyObject
*swig_obj
[1] ;
16901 if (!args
) SWIG_fail
;
16902 swig_obj
[0] = args
;
16903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16904 if (!SWIG_IsOK(res1
)) {
16905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16907 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16910 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16921 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
= 0;
16923 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16936 PyObject
* obj0
= 0 ;
16937 PyObject
* obj1
= 0 ;
16938 PyObject
* obj2
= 0 ;
16939 PyObject
* obj3
= 0 ;
16940 char * kwnames
[] = {
16941 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16946 if (!SWIG_IsOK(res1
)) {
16947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16949 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16951 if (!SWIG_IsOK(ecode2
)) {
16952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16954 arg2
= static_cast< int >(val2
);
16955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16956 if (!SWIG_IsOK(ecode3
)) {
16957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16959 arg3
= static_cast< wxDirection
>(val3
);
16960 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16961 if (!SWIG_IsOK(ecode4
)) {
16962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16964 arg4
= static_cast< long >(val4
);
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= SWIG_From_int(static_cast< int >(result
));
16978 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
= 0;
16980 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16981 unsigned int arg2
;
16982 wxString
*arg3
= 0 ;
16985 unsigned int val2
;
16987 bool temp3
= false ;
16988 PyObject
* obj0
= 0 ;
16989 PyObject
* obj1
= 0 ;
16990 PyObject
* obj2
= 0 ;
16991 char * kwnames
[] = {
16992 (char *) "self",(char *) "item",(char *) "text", NULL
16995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16997 if (!SWIG_IsOK(res1
)) {
16998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17000 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17001 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17002 if (!SWIG_IsOK(ecode2
)) {
17003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17005 arg2
= static_cast< unsigned int >(val2
);
17007 arg3
= wxString_in_helper(obj2
);
17008 if (arg3
== NULL
) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= SWIG_Py_Void();
17032 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
= 0;
17034 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17035 unsigned int arg2
;
17036 wxToolTip
*result
= 0 ;
17039 unsigned int val2
;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 char * kwnames
[] = {
17044 (char *) "self",(char *) "item", NULL
17047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17049 if (!SWIG_IsOK(res1
)) {
17050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17052 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17053 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17054 if (!SWIG_IsOK(ecode2
)) {
17055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17057 arg2
= static_cast< unsigned int >(val2
);
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17073 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
= 0;
17075 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17076 unsigned int arg2
;
17077 wxString
*arg3
= 0 ;
17080 unsigned int val2
;
17082 bool temp3
= false ;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 PyObject
* obj2
= 0 ;
17086 char * kwnames
[] = {
17087 (char *) "self",(char *) "n",(char *) "helpText", NULL
17090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17092 if (!SWIG_IsOK(res1
)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17095 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17096 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17097 if (!SWIG_IsOK(ecode2
)) {
17098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17100 arg2
= static_cast< unsigned int >(val2
);
17102 arg3
= wxString_in_helper(obj2
);
17103 if (arg3
== NULL
) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= SWIG_Py_Void();
17127 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
= 0;
17129 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17130 unsigned int arg2
;
17134 unsigned int val2
;
17136 PyObject
* obj0
= 0 ;
17137 PyObject
* obj1
= 0 ;
17138 char * kwnames
[] = {
17139 (char *) "self",(char *) "n", NULL
17142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17144 if (!SWIG_IsOK(res1
)) {
17145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17147 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17148 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17149 if (!SWIG_IsOK(ecode2
)) {
17150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17152 arg2
= static_cast< unsigned int >(val2
);
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17172 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
= 0;
17174 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17175 SwigValueWrapper
<wxVisualAttributes
> result
;
17178 PyObject
* obj0
= 0 ;
17179 char * kwnames
[] = {
17180 (char *) "variant", NULL
17183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17186 if (!SWIG_IsOK(ecode1
)) {
17187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17189 arg1
= static_cast< wxWindowVariant
>(val1
);
17192 if (!wxPyCheckForApp()) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17205 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17208 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17209 return SWIG_Py_Void();
17212 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17213 return SWIG_Python_InitShadowInstance(args
);
17216 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
= 0;
17218 wxWindow
*arg1
= (wxWindow
*) 0 ;
17219 int arg2
= (int) -1 ;
17220 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17221 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17226 long arg6
= (long) 0 ;
17227 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17228 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17229 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17230 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17231 wxRadioButton
*result
= 0 ;
17236 bool temp3
= false ;
17243 bool temp8
= false ;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 PyObject
* obj2
= 0 ;
17247 PyObject
* obj3
= 0 ;
17248 PyObject
* obj4
= 0 ;
17249 PyObject
* obj5
= 0 ;
17250 PyObject
* obj6
= 0 ;
17251 PyObject
* obj7
= 0 ;
17252 char * kwnames
[] = {
17253 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17258 if (!SWIG_IsOK(res1
)) {
17259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17261 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17264 if (!SWIG_IsOK(ecode2
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17267 arg2
= static_cast< int >(val2
);
17271 arg3
= wxString_in_helper(obj2
);
17272 if (arg3
== NULL
) SWIG_fail
;
17279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17285 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17289 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17290 if (!SWIG_IsOK(ecode6
)) {
17291 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17293 arg6
= static_cast< long >(val6
);
17296 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17297 if (!SWIG_IsOK(res7
)) {
17298 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17303 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17307 arg8
= wxString_in_helper(obj7
);
17308 if (arg8
== NULL
) SWIG_fail
;
17313 if (!wxPyCheckForApp()) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17342 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17343 PyObject
*resultobj
= 0;
17344 wxRadioButton
*result
= 0 ;
17346 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17348 if (!wxPyCheckForApp()) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 result
= (wxRadioButton
*)new wxRadioButton();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17361 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
= 0;
17363 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17364 wxWindow
*arg2
= (wxWindow
*) 0 ;
17365 int arg3
= (int) -1 ;
17366 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17367 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17368 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17369 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17370 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17371 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17372 long arg7
= (long) 0 ;
17373 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17374 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17375 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17376 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17384 bool temp4
= false ;
17391 bool temp9
= false ;
17392 PyObject
* obj0
= 0 ;
17393 PyObject
* obj1
= 0 ;
17394 PyObject
* obj2
= 0 ;
17395 PyObject
* obj3
= 0 ;
17396 PyObject
* obj4
= 0 ;
17397 PyObject
* obj5
= 0 ;
17398 PyObject
* obj6
= 0 ;
17399 PyObject
* obj7
= 0 ;
17400 PyObject
* obj8
= 0 ;
17401 char * kwnames
[] = {
17402 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17407 if (!SWIG_IsOK(res1
)) {
17408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17410 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17412 if (!SWIG_IsOK(res2
)) {
17413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17415 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17418 if (!SWIG_IsOK(ecode3
)) {
17419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17421 arg3
= static_cast< int >(val3
);
17425 arg4
= wxString_in_helper(obj3
);
17426 if (arg4
== NULL
) SWIG_fail
;
17433 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17439 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17443 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17444 if (!SWIG_IsOK(ecode7
)) {
17445 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17447 arg7
= static_cast< long >(val7
);
17450 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17451 if (!SWIG_IsOK(res8
)) {
17452 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17457 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17461 arg9
= wxString_in_helper(obj8
);
17462 if (arg9
== NULL
) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17497 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17498 PyObject
*resultobj
= 0;
17499 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17503 PyObject
*swig_obj
[1] ;
17505 if (!args
) SWIG_fail
;
17506 swig_obj
[0] = args
;
17507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17508 if (!SWIG_IsOK(res1
)) {
17509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17511 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (bool)(arg1
)->GetValue();
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17527 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char * kwnames
[] = {
17538 (char *) "self",(char *) "value", NULL
17541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17543 if (!SWIG_IsOK(res1
)) {
17544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17546 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17547 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17548 if (!SWIG_IsOK(ecode2
)) {
17549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17551 arg2
= static_cast< bool >(val2
);
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 (arg1
)->SetValue(arg2
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= SWIG_Py_Void();
17565 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
= 0;
17567 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17568 SwigValueWrapper
<wxVisualAttributes
> result
;
17571 PyObject
* obj0
= 0 ;
17572 char * kwnames
[] = {
17573 (char *) "variant", NULL
17576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17578 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17579 if (!SWIG_IsOK(ecode1
)) {
17580 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17582 arg1
= static_cast< wxWindowVariant
>(val1
);
17585 if (!wxPyCheckForApp()) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17598 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17601 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17602 return SWIG_Py_Void();
17605 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17606 return SWIG_Python_InitShadowInstance(args
);
17609 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17610 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17615 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17616 PyObject
*pyobj
= 0;
17620 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17622 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17629 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
= 0;
17631 wxWindow
*arg1
= (wxWindow
*) 0 ;
17632 int arg2
= (int) -1 ;
17633 int arg3
= (int) 0 ;
17634 int arg4
= (int) 0 ;
17635 int arg5
= (int) 100 ;
17636 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17637 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17638 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17639 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17640 long arg8
= (long) wxSL_HORIZONTAL
;
17641 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17642 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17643 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17644 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17645 wxSlider
*result
= 0 ;
17662 bool temp10
= false ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 PyObject
* obj2
= 0 ;
17666 PyObject
* obj3
= 0 ;
17667 PyObject
* obj4
= 0 ;
17668 PyObject
* obj5
= 0 ;
17669 PyObject
* obj6
= 0 ;
17670 PyObject
* obj7
= 0 ;
17671 PyObject
* obj8
= 0 ;
17672 PyObject
* obj9
= 0 ;
17673 char * kwnames
[] = {
17674 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17679 if (!SWIG_IsOK(res1
)) {
17680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17682 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17685 if (!SWIG_IsOK(ecode2
)) {
17686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17688 arg2
= static_cast< int >(val2
);
17691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17692 if (!SWIG_IsOK(ecode3
)) {
17693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17695 arg3
= static_cast< int >(val3
);
17698 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17699 if (!SWIG_IsOK(ecode4
)) {
17700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17702 arg4
= static_cast< int >(val4
);
17705 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17706 if (!SWIG_IsOK(ecode5
)) {
17707 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17709 arg5
= static_cast< int >(val5
);
17714 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17720 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17724 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17725 if (!SWIG_IsOK(ecode8
)) {
17726 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17728 arg8
= static_cast< long >(val8
);
17731 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17732 if (!SWIG_IsOK(res9
)) {
17733 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17738 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17742 arg10
= wxString_in_helper(obj9
);
17743 if (arg10
== NULL
) SWIG_fail
;
17748 if (!wxPyCheckForApp()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17769 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17770 PyObject
*resultobj
= 0;
17771 wxSlider
*result
= 0 ;
17773 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17775 if (!wxPyCheckForApp()) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 result
= (wxSlider
*)new wxSlider();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17788 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
= 0;
17790 wxSlider
*arg1
= (wxSlider
*) 0 ;
17791 wxWindow
*arg2
= (wxWindow
*) 0 ;
17792 int arg3
= (int) -1 ;
17793 int arg4
= (int) 0 ;
17794 int arg5
= (int) 0 ;
17795 int arg6
= (int) 100 ;
17796 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17797 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17798 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17799 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17800 long arg9
= (long) wxSL_HORIZONTAL
;
17801 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17802 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17803 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17804 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17824 bool temp11
= false ;
17825 PyObject
* obj0
= 0 ;
17826 PyObject
* obj1
= 0 ;
17827 PyObject
* obj2
= 0 ;
17828 PyObject
* obj3
= 0 ;
17829 PyObject
* obj4
= 0 ;
17830 PyObject
* obj5
= 0 ;
17831 PyObject
* obj6
= 0 ;
17832 PyObject
* obj7
= 0 ;
17833 PyObject
* obj8
= 0 ;
17834 PyObject
* obj9
= 0 ;
17835 PyObject
* obj10
= 0 ;
17836 char * kwnames
[] = {
17837 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17842 if (!SWIG_IsOK(res1
)) {
17843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17845 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17846 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17847 if (!SWIG_IsOK(res2
)) {
17848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17850 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17853 if (!SWIG_IsOK(ecode3
)) {
17854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17856 arg3
= static_cast< int >(val3
);
17859 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17860 if (!SWIG_IsOK(ecode4
)) {
17861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17863 arg4
= static_cast< int >(val4
);
17866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17867 if (!SWIG_IsOK(ecode5
)) {
17868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17870 arg5
= static_cast< int >(val5
);
17873 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17874 if (!SWIG_IsOK(ecode6
)) {
17875 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17877 arg6
= static_cast< int >(val6
);
17882 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17888 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17892 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17893 if (!SWIG_IsOK(ecode9
)) {
17894 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17896 arg9
= static_cast< long >(val9
);
17899 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17900 if (!SWIG_IsOK(res10
)) {
17901 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17906 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17910 arg11
= wxString_in_helper(obj10
);
17911 if (arg11
== NULL
) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17938 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17939 PyObject
*resultobj
= 0;
17940 wxSlider
*arg1
= (wxSlider
*) 0 ;
17944 PyObject
*swig_obj
[1] ;
17946 if (!args
) SWIG_fail
;
17947 swig_obj
[0] = args
;
17948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17952 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= SWIG_From_int(static_cast< int >(result
));
17966 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
= 0;
17968 wxSlider
*arg1
= (wxSlider
*) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 PyObject
* obj1
= 0 ;
17976 char * kwnames
[] = {
17977 (char *) "self",(char *) "value", NULL
17980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17982 if (!SWIG_IsOK(res1
)) {
17983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17985 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17987 if (!SWIG_IsOK(ecode2
)) {
17988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17990 arg2
= static_cast< int >(val2
);
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 (arg1
)->SetValue(arg2
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= SWIG_Py_Void();
18004 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
= 0;
18006 wxSlider
*arg1
= (wxSlider
*) 0 ;
18015 PyObject
* obj0
= 0 ;
18016 PyObject
* obj1
= 0 ;
18017 PyObject
* obj2
= 0 ;
18018 char * kwnames
[] = {
18019 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18024 if (!SWIG_IsOK(res1
)) {
18025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18027 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18029 if (!SWIG_IsOK(ecode2
)) {
18030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18032 arg2
= static_cast< int >(val2
);
18033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18034 if (!SWIG_IsOK(ecode3
)) {
18035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18037 arg3
= static_cast< int >(val3
);
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 (arg1
)->SetRange(arg2
,arg3
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= SWIG_Py_Void();
18051 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18052 PyObject
*resultobj
= 0;
18053 wxSlider
*arg1
= (wxSlider
*) 0 ;
18057 PyObject
*swig_obj
[1] ;
18059 if (!args
) SWIG_fail
;
18060 swig_obj
[0] = args
;
18061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18062 if (!SWIG_IsOK(res1
)) {
18063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18065 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_From_int(static_cast< int >(result
));
18079 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18080 PyObject
*resultobj
= 0;
18081 wxSlider
*arg1
= (wxSlider
*) 0 ;
18085 PyObject
*swig_obj
[1] ;
18087 if (!args
) SWIG_fail
;
18088 swig_obj
[0] = args
;
18089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18090 if (!SWIG_IsOK(res1
)) {
18091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18093 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= SWIG_From_int(static_cast< int >(result
));
18107 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
= 0;
18109 wxSlider
*arg1
= (wxSlider
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char * kwnames
[] = {
18118 (char *) "self",(char *) "minValue", NULL
18121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18123 if (!SWIG_IsOK(res1
)) {
18124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18126 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18128 if (!SWIG_IsOK(ecode2
)) {
18129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18131 arg2
= static_cast< int >(val2
);
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 (arg1
)->SetMin(arg2
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_Py_Void();
18145 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
= 0;
18147 wxSlider
*arg1
= (wxSlider
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 char * kwnames
[] = {
18156 (char *) "self",(char *) "maxValue", NULL
18159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18164 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18166 if (!SWIG_IsOK(ecode2
)) {
18167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18169 arg2
= static_cast< int >(val2
);
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 (arg1
)->SetMax(arg2
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 resultobj
= SWIG_Py_Void();
18183 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
= 0;
18185 wxSlider
*arg1
= (wxSlider
*) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 char * kwnames
[] = {
18194 (char *) "self",(char *) "lineSize", NULL
18197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18199 if (!SWIG_IsOK(res1
)) {
18200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18202 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18204 if (!SWIG_IsOK(ecode2
)) {
18205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18207 arg2
= static_cast< int >(val2
);
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 (arg1
)->SetLineSize(arg2
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= SWIG_Py_Void();
18221 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
= 0;
18223 wxSlider
*arg1
= (wxSlider
*) 0 ;
18229 PyObject
* obj0
= 0 ;
18230 PyObject
* obj1
= 0 ;
18231 char * kwnames
[] = {
18232 (char *) "self",(char *) "pageSize", NULL
18235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18237 if (!SWIG_IsOK(res1
)) {
18238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18240 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18242 if (!SWIG_IsOK(ecode2
)) {
18243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18245 arg2
= static_cast< int >(val2
);
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 (arg1
)->SetPageSize(arg2
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_Py_Void();
18259 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18260 PyObject
*resultobj
= 0;
18261 wxSlider
*arg1
= (wxSlider
*) 0 ;
18265 PyObject
*swig_obj
[1] ;
18267 if (!args
) SWIG_fail
;
18268 swig_obj
[0] = args
;
18269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18270 if (!SWIG_IsOK(res1
)) {
18271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18273 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 resultobj
= SWIG_From_int(static_cast< int >(result
));
18287 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18288 PyObject
*resultobj
= 0;
18289 wxSlider
*arg1
= (wxSlider
*) 0 ;
18293 PyObject
*swig_obj
[1] ;
18295 if (!args
) SWIG_fail
;
18296 swig_obj
[0] = args
;
18297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18298 if (!SWIG_IsOK(res1
)) {
18299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18301 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= SWIG_From_int(static_cast< int >(result
));
18315 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
= 0;
18317 wxSlider
*arg1
= (wxSlider
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 char * kwnames
[] = {
18326 (char *) "self",(char *) "lenPixels", NULL
18329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18331 if (!SWIG_IsOK(res1
)) {
18332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18334 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18336 if (!SWIG_IsOK(ecode2
)) {
18337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18339 arg2
= static_cast< int >(val2
);
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 (arg1
)->SetThumbLength(arg2
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= SWIG_Py_Void();
18353 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18354 PyObject
*resultobj
= 0;
18355 wxSlider
*arg1
= (wxSlider
*) 0 ;
18359 PyObject
*swig_obj
[1] ;
18361 if (!args
) SWIG_fail
;
18362 swig_obj
[0] = args
;
18363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18364 if (!SWIG_IsOK(res1
)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18367 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 resultobj
= SWIG_From_int(static_cast< int >(result
));
18381 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
= 0;
18383 wxSlider
*arg1
= (wxSlider
*) 0 ;
18385 int arg3
= (int) 1 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 PyObject
* obj2
= 0 ;
18395 char * kwnames
[] = {
18396 (char *) "self",(char *) "n",(char *) "pos", NULL
18399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18401 if (!SWIG_IsOK(res1
)) {
18402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18404 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18406 if (!SWIG_IsOK(ecode2
)) {
18407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18409 arg2
= static_cast< int >(val2
);
18411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18412 if (!SWIG_IsOK(ecode3
)) {
18413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18415 arg3
= static_cast< int >(val3
);
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 (arg1
)->SetTickFreq(arg2
,arg3
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_Py_Void();
18430 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18431 PyObject
*resultobj
= 0;
18432 wxSlider
*arg1
= (wxSlider
*) 0 ;
18436 PyObject
*swig_obj
[1] ;
18438 if (!args
) SWIG_fail
;
18439 swig_obj
[0] = args
;
18440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18441 if (!SWIG_IsOK(res1
)) {
18442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18444 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= SWIG_From_int(static_cast< int >(result
));
18458 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18459 PyObject
*resultobj
= 0;
18460 wxSlider
*arg1
= (wxSlider
*) 0 ;
18463 PyObject
*swig_obj
[1] ;
18465 if (!args
) SWIG_fail
;
18466 swig_obj
[0] = args
;
18467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18468 if (!SWIG_IsOK(res1
)) {
18469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18471 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 (arg1
)->ClearTicks();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= SWIG_Py_Void();
18485 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
= 0;
18487 wxSlider
*arg1
= (wxSlider
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 char * kwnames
[] = {
18496 (char *) "self",(char *) "tickPos", NULL
18499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18501 if (!SWIG_IsOK(res1
)) {
18502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18504 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18506 if (!SWIG_IsOK(ecode2
)) {
18507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18509 arg2
= static_cast< int >(val2
);
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 (arg1
)->SetTick(arg2
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_Py_Void();
18523 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18524 PyObject
*resultobj
= 0;
18525 wxSlider
*arg1
= (wxSlider
*) 0 ;
18528 PyObject
*swig_obj
[1] ;
18530 if (!args
) SWIG_fail
;
18531 swig_obj
[0] = args
;
18532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18533 if (!SWIG_IsOK(res1
)) {
18534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18536 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 (arg1
)->ClearSel();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= SWIG_Py_Void();
18550 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18551 PyObject
*resultobj
= 0;
18552 wxSlider
*arg1
= (wxSlider
*) 0 ;
18556 PyObject
*swig_obj
[1] ;
18558 if (!args
) SWIG_fail
;
18559 swig_obj
[0] = args
;
18560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18561 if (!SWIG_IsOK(res1
)) {
18562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18564 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_From_int(static_cast< int >(result
));
18578 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18579 PyObject
*resultobj
= 0;
18580 wxSlider
*arg1
= (wxSlider
*) 0 ;
18584 PyObject
*swig_obj
[1] ;
18586 if (!args
) SWIG_fail
;
18587 swig_obj
[0] = args
;
18588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18589 if (!SWIG_IsOK(res1
)) {
18590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18592 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_From_int(static_cast< int >(result
));
18606 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
= 0;
18608 wxSlider
*arg1
= (wxSlider
*) 0 ;
18617 PyObject
* obj0
= 0 ;
18618 PyObject
* obj1
= 0 ;
18619 PyObject
* obj2
= 0 ;
18620 char * kwnames
[] = {
18621 (char *) "self",(char *) "min",(char *) "max", NULL
18624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18626 if (!SWIG_IsOK(res1
)) {
18627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18629 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18631 if (!SWIG_IsOK(ecode2
)) {
18632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18634 arg2
= static_cast< int >(val2
);
18635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18636 if (!SWIG_IsOK(ecode3
)) {
18637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18639 arg3
= static_cast< int >(val3
);
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 (arg1
)->SetSelection(arg2
,arg3
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_Py_Void();
18653 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
= 0;
18655 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18656 SwigValueWrapper
<wxVisualAttributes
> result
;
18659 PyObject
* obj0
= 0 ;
18660 char * kwnames
[] = {
18661 (char *) "variant", NULL
18664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18666 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18667 if (!SWIG_IsOK(ecode1
)) {
18668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18670 arg1
= static_cast< wxWindowVariant
>(val1
);
18673 if (!wxPyCheckForApp()) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18686 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18689 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18690 return SWIG_Py_Void();
18693 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18694 return SWIG_Python_InitShadowInstance(args
);
18697 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18698 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18703 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18704 PyObject
*pyobj
= 0;
18708 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18710 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18717 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
= 0;
18719 wxWindow
*arg1
= (wxWindow
*) 0 ;
18720 int arg2
= (int) -1 ;
18721 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18722 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18723 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18724 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18725 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18726 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18727 long arg6
= (long) 0 ;
18728 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18729 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18730 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18731 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18732 wxToggleButton
*result
= 0 ;
18737 bool temp3
= false ;
18744 bool temp8
= false ;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 PyObject
* obj2
= 0 ;
18748 PyObject
* obj3
= 0 ;
18749 PyObject
* obj4
= 0 ;
18750 PyObject
* obj5
= 0 ;
18751 PyObject
* obj6
= 0 ;
18752 PyObject
* obj7
= 0 ;
18753 char * kwnames
[] = {
18754 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18759 if (!SWIG_IsOK(res1
)) {
18760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18762 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18765 if (!SWIG_IsOK(ecode2
)) {
18766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18768 arg2
= static_cast< int >(val2
);
18772 arg3
= wxString_in_helper(obj2
);
18773 if (arg3
== NULL
) SWIG_fail
;
18780 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18786 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18790 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18791 if (!SWIG_IsOK(ecode6
)) {
18792 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18794 arg6
= static_cast< long >(val6
);
18797 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18798 if (!SWIG_IsOK(res7
)) {
18799 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18804 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18808 arg8
= wxString_in_helper(obj7
);
18809 if (arg8
== NULL
) SWIG_fail
;
18814 if (!wxPyCheckForApp()) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18843 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18844 PyObject
*resultobj
= 0;
18845 wxToggleButton
*result
= 0 ;
18847 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18849 if (!wxPyCheckForApp()) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 result
= (wxToggleButton
*)new wxToggleButton();
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18862 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
= 0;
18864 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18865 wxWindow
*arg2
= (wxWindow
*) 0 ;
18866 int arg3
= (int) -1 ;
18867 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18868 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18869 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18870 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18871 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18872 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18873 long arg7
= (long) 0 ;
18874 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18875 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18876 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18877 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18885 bool temp4
= false ;
18892 bool temp9
= false ;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 PyObject
* obj2
= 0 ;
18896 PyObject
* obj3
= 0 ;
18897 PyObject
* obj4
= 0 ;
18898 PyObject
* obj5
= 0 ;
18899 PyObject
* obj6
= 0 ;
18900 PyObject
* obj7
= 0 ;
18901 PyObject
* obj8
= 0 ;
18902 char * kwnames
[] = {
18903 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18908 if (!SWIG_IsOK(res1
)) {
18909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18911 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18913 if (!SWIG_IsOK(res2
)) {
18914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18919 if (!SWIG_IsOK(ecode3
)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18922 arg3
= static_cast< int >(val3
);
18926 arg4
= wxString_in_helper(obj3
);
18927 if (arg4
== NULL
) SWIG_fail
;
18934 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18940 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18944 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18945 if (!SWIG_IsOK(ecode7
)) {
18946 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18948 arg7
= static_cast< long >(val7
);
18951 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18952 if (!SWIG_IsOK(res8
)) {
18953 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18958 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18962 arg9
= wxString_in_helper(obj8
);
18963 if (arg9
== NULL
) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18998 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
= 0;
19000 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char * kwnames
[] = {
19009 (char *) "self",(char *) "value", NULL
19012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19014 if (!SWIG_IsOK(res1
)) {
19015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19017 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19018 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19019 if (!SWIG_IsOK(ecode2
)) {
19020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19022 arg2
= static_cast< bool >(val2
);
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 (arg1
)->SetValue(arg2
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= SWIG_Py_Void();
19036 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19037 PyObject
*resultobj
= 0;
19038 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19042 PyObject
*swig_obj
[1] ;
19044 if (!args
) SWIG_fail
;
19045 swig_obj
[0] = args
;
19046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19047 if (!SWIG_IsOK(res1
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19050 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19066 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
= 0;
19068 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19069 SwigValueWrapper
<wxVisualAttributes
> result
;
19072 PyObject
* obj0
= 0 ;
19073 char * kwnames
[] = {
19074 (char *) "variant", NULL
19077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19079 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19080 if (!SWIG_IsOK(ecode1
)) {
19081 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19083 arg1
= static_cast< wxWindowVariant
>(val1
);
19086 if (!wxPyCheckForApp()) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19099 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19102 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19103 return SWIG_Py_Void();
19106 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19107 return SWIG_Python_InitShadowInstance(args
);
19110 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19111 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19116 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19117 PyObject
*pyobj
= 0;
19121 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19123 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19130 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19131 PyObject
*resultobj
= 0;
19132 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19136 PyObject
*swig_obj
[1] ;
19138 if (!args
) SWIG_fail
;
19139 swig_obj
[0] = args
;
19140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19141 if (!SWIG_IsOK(res1
)) {
19142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19144 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19158 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
= 0;
19160 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19162 wxWindow
*result
= 0 ;
19167 PyObject
* obj0
= 0 ;
19168 PyObject
* obj1
= 0 ;
19169 char * kwnames
[] = {
19170 (char *) "self",(char *) "n", NULL
19173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19175 if (!SWIG_IsOK(res1
)) {
19176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19178 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19179 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19180 if (!SWIG_IsOK(ecode2
)) {
19181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19183 arg2
= static_cast< size_t >(val2
);
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19191 resultobj
= wxPyMake_wxObject(result
, 0);
19199 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19200 PyObject
*resultobj
= 0;
19201 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19202 wxWindow
*result
= 0 ;
19205 PyObject
*swig_obj
[1] ;
19207 if (!args
) SWIG_fail
;
19208 swig_obj
[0] = args
;
19209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19210 if (!SWIG_IsOK(res1
)) {
19211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19213 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= wxPyMake_wxObject(result
, 0);
19229 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19230 PyObject
*resultobj
= 0;
19231 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19235 PyObject
*swig_obj
[1] ;
19237 if (!args
) SWIG_fail
;
19238 swig_obj
[0] = args
;
19239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19240 if (!SWIG_IsOK(res1
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19243 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_From_int(static_cast< int >(result
));
19257 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
= 0;
19259 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19261 wxString
*arg3
= 0 ;
19267 bool temp3
= false ;
19268 PyObject
* obj0
= 0 ;
19269 PyObject
* obj1
= 0 ;
19270 PyObject
* obj2
= 0 ;
19271 char * kwnames
[] = {
19272 (char *) "self",(char *) "n",(char *) "strText", NULL
19275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19277 if (!SWIG_IsOK(res1
)) {
19278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19280 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19281 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19282 if (!SWIG_IsOK(ecode2
)) {
19283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19285 arg2
= static_cast< size_t >(val2
);
19287 arg3
= wxString_in_helper(obj2
);
19288 if (arg3
== NULL
) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19314 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
= 0;
19316 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 char * kwnames
[] = {
19326 (char *) "self",(char *) "n", NULL
19329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19331 if (!SWIG_IsOK(res1
)) {
19332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19334 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19335 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19336 if (!SWIG_IsOK(ecode2
)) {
19337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19339 arg2
= static_cast< size_t >(val2
);
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19359 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
= 0;
19361 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19362 wxImageList
*arg2
= (wxImageList
*) 0 ;
19367 PyObject
* obj0
= 0 ;
19368 PyObject
* obj1
= 0 ;
19369 char * kwnames
[] = {
19370 (char *) "self",(char *) "imageList", NULL
19373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19375 if (!SWIG_IsOK(res1
)) {
19376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19378 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19380 if (!SWIG_IsOK(res2
)) {
19381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19383 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 (arg1
)->SetImageList(arg2
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_Py_Void();
19397 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
= 0;
19399 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19400 wxImageList
*arg2
= (wxImageList
*) 0 ;
19404 PyObject
* obj0
= 0 ;
19405 PyObject
* obj1
= 0 ;
19406 char * kwnames
[] = {
19407 (char *) "self",(char *) "imageList", NULL
19410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19412 if (!SWIG_IsOK(res1
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19415 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19416 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19417 if (!SWIG_IsOK(res2
)) {
19418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 (arg1
)->AssignImageList(arg2
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= SWIG_Py_Void();
19433 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19434 PyObject
*resultobj
= 0;
19435 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19436 wxImageList
*result
= 0 ;
19439 PyObject
*swig_obj
[1] ;
19441 if (!args
) SWIG_fail
;
19442 swig_obj
[0] = args
;
19443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19444 if (!SWIG_IsOK(res1
)) {
19445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19447 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19463 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
= 0;
19465 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char * kwnames
[] = {
19475 (char *) "self",(char *) "n", NULL
19478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19480 if (!SWIG_IsOK(res1
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19483 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19484 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19485 if (!SWIG_IsOK(ecode2
)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19488 arg2
= static_cast< size_t >(val2
);
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= SWIG_From_int(static_cast< int >(result
));
19502 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
= 0;
19504 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19514 PyObject
* obj0
= 0 ;
19515 PyObject
* obj1
= 0 ;
19516 PyObject
* obj2
= 0 ;
19517 char * kwnames
[] = {
19518 (char *) "self",(char *) "n",(char *) "imageId", NULL
19521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19523 if (!SWIG_IsOK(res1
)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19526 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19527 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19528 if (!SWIG_IsOK(ecode2
)) {
19529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19531 arg2
= static_cast< size_t >(val2
);
19532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19533 if (!SWIG_IsOK(ecode3
)) {
19534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19536 arg3
= static_cast< int >(val3
);
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19552 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
= 0;
19554 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 char * kwnames
[] = {
19562 (char *) "self",(char *) "size", NULL
19565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19567 if (!SWIG_IsOK(res1
)) {
19568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19570 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19573 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= SWIG_Py_Void();
19588 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
= 0;
19590 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19596 PyObject
* obj0
= 0 ;
19597 PyObject
* obj1
= 0 ;
19598 char * kwnames
[] = {
19599 (char *) "self",(char *) "sizePage", NULL
19602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19604 if (!SWIG_IsOK(res1
)) {
19605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19607 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19610 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19625 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19626 PyObject
*resultobj
= 0;
19627 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19628 unsigned int result
;
19631 PyObject
*swig_obj
[1] ;
19633 if (!args
) SWIG_fail
;
19634 swig_obj
[0] = args
;
19635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19636 if (!SWIG_IsOK(res1
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19639 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19653 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
= 0;
19655 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19656 unsigned int arg2
;
19659 unsigned int val2
;
19661 PyObject
* obj0
= 0 ;
19662 PyObject
* obj1
= 0 ;
19663 char * kwnames
[] = {
19664 (char *) "self",(char *) "internalBorder", NULL
19667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19669 if (!SWIG_IsOK(res1
)) {
19670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19672 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19673 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19674 if (!SWIG_IsOK(ecode2
)) {
19675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19677 arg2
= static_cast< unsigned int >(val2
);
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 (arg1
)->SetInternalBorder(arg2
);
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= SWIG_Py_Void();
19691 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19692 PyObject
*resultobj
= 0;
19693 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19697 PyObject
*swig_obj
[1] ;
19699 if (!args
) SWIG_fail
;
19700 swig_obj
[0] = args
;
19701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19702 if (!SWIG_IsOK(res1
)) {
19703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19705 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19721 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
= 0;
19723 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 PyObject
* obj1
= 0 ;
19731 char * kwnames
[] = {
19732 (char *) "self",(char *) "margin", NULL
19735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19737 if (!SWIG_IsOK(res1
)) {
19738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19740 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19742 if (!SWIG_IsOK(ecode2
)) {
19743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19745 arg2
= static_cast< int >(val2
);
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 (arg1
)->SetControlMargin(arg2
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= SWIG_Py_Void();
19759 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19760 PyObject
*resultobj
= 0;
19761 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19765 PyObject
*swig_obj
[1] ;
19767 if (!args
) SWIG_fail
;
19768 swig_obj
[0] = args
;
19769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19770 if (!SWIG_IsOK(res1
)) {
19771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19773 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19780 resultobj
= SWIG_From_int(static_cast< int >(result
));
19787 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
= 0;
19789 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19795 PyObject
* obj0
= 0 ;
19796 PyObject
* obj1
= 0 ;
19797 char * kwnames
[] = {
19798 (char *) "self",(char *) "fit", NULL
19801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19803 if (!SWIG_IsOK(res1
)) {
19804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19806 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19807 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19808 if (!SWIG_IsOK(ecode2
)) {
19809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19811 arg2
= static_cast< bool >(val2
);
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 (arg1
)->SetFitToCurrentPage(arg2
);
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= SWIG_Py_Void();
19825 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19826 PyObject
*resultobj
= 0;
19827 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19831 PyObject
*swig_obj
[1] ;
19833 if (!args
) SWIG_fail
;
19834 swig_obj
[0] = args
;
19835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19836 if (!SWIG_IsOK(res1
)) {
19837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19839 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19855 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19856 PyObject
*resultobj
= 0;
19857 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19858 wxSizer
*result
= 0 ;
19861 PyObject
*swig_obj
[1] ;
19863 if (!args
) SWIG_fail
;
19864 swig_obj
[0] = args
;
19865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19866 if (!SWIG_IsOK(res1
)) {
19867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19869 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19885 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
= 0;
19887 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 char * kwnames
[] = {
19897 (char *) "self",(char *) "n", NULL
19900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19902 if (!SWIG_IsOK(res1
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19905 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19906 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19907 if (!SWIG_IsOK(ecode2
)) {
19908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19910 arg2
= static_cast< size_t >(val2
);
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 result
= (bool)(arg1
)->DeletePage(arg2
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19926 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
= 0;
19928 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char * kwnames
[] = {
19938 (char *) "self",(char *) "n", NULL
19941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19943 if (!SWIG_IsOK(res1
)) {
19944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19946 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19947 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19948 if (!SWIG_IsOK(ecode2
)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19951 arg2
= static_cast< size_t >(val2
);
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)(arg1
)->RemovePage(arg2
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19968 PyObject
*resultobj
= 0;
19969 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19973 PyObject
*swig_obj
[1] ;
19975 if (!args
) SWIG_fail
;
19976 swig_obj
[0] = args
;
19977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19978 if (!SWIG_IsOK(res1
)) {
19979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19981 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 result
= (bool)(arg1
)->DeleteAllPages();
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19997 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
= 0;
19999 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20000 wxWindow
*arg2
= (wxWindow
*) 0 ;
20001 wxString
*arg3
= 0 ;
20002 bool arg4
= (bool) false ;
20003 int arg5
= (int) -1 ;
20009 bool temp3
= false ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 PyObject
* obj2
= 0 ;
20017 PyObject
* obj3
= 0 ;
20018 PyObject
* obj4
= 0 ;
20019 char * kwnames
[] = {
20020 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20025 if (!SWIG_IsOK(res1
)) {
20026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20028 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20029 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20030 if (!SWIG_IsOK(res2
)) {
20031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20033 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20035 arg3
= wxString_in_helper(obj2
);
20036 if (arg3
== NULL
) SWIG_fail
;
20040 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20041 if (!SWIG_IsOK(ecode4
)) {
20042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20044 arg4
= static_cast< bool >(val4
);
20047 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20048 if (!SWIG_IsOK(ecode5
)) {
20049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20051 arg5
= static_cast< int >(val5
);
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20076 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
= 0;
20078 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20080 wxWindow
*arg3
= (wxWindow
*) 0 ;
20081 wxString
*arg4
= 0 ;
20082 bool arg5
= (bool) false ;
20083 int arg6
= (int) -1 ;
20091 bool temp4
= false ;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 PyObject
* obj2
= 0 ;
20099 PyObject
* obj3
= 0 ;
20100 PyObject
* obj4
= 0 ;
20101 PyObject
* obj5
= 0 ;
20102 char * kwnames
[] = {
20103 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20108 if (!SWIG_IsOK(res1
)) {
20109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20111 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20112 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20113 if (!SWIG_IsOK(ecode2
)) {
20114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20116 arg2
= static_cast< size_t >(val2
);
20117 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20118 if (!SWIG_IsOK(res3
)) {
20119 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20121 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20123 arg4
= wxString_in_helper(obj3
);
20124 if (arg4
== NULL
) SWIG_fail
;
20128 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20129 if (!SWIG_IsOK(ecode5
)) {
20130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20132 arg5
= static_cast< bool >(val5
);
20135 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20136 if (!SWIG_IsOK(ecode6
)) {
20137 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20139 arg6
= static_cast< int >(val6
);
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20164 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
= 0;
20166 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20173 PyObject
* obj0
= 0 ;
20174 PyObject
* obj1
= 0 ;
20175 char * kwnames
[] = {
20176 (char *) "self",(char *) "n", NULL
20179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20181 if (!SWIG_IsOK(res1
)) {
20182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20184 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20185 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20186 if (!SWIG_IsOK(ecode2
)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20189 arg2
= static_cast< size_t >(val2
);
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 result
= (int)(arg1
)->SetSelection(arg2
);
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= SWIG_From_int(static_cast< int >(result
));
20203 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
= 0;
20205 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 char * kwnames
[] = {
20215 (char *) "self",(char *) "n", NULL
20218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20220 if (!SWIG_IsOK(res1
)) {
20221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20223 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20224 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20225 if (!SWIG_IsOK(ecode2
)) {
20226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20228 arg2
= static_cast< size_t >(val2
);
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 result
= (int)(arg1
)->ChangeSelection(arg2
);
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= SWIG_From_int(static_cast< int >(result
));
20242 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
= 0;
20244 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20245 bool arg2
= (bool) true ;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 char * kwnames
[] = {
20253 (char *) "self",(char *) "forward", NULL
20256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20258 if (!SWIG_IsOK(res1
)) {
20259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20261 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20263 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20264 if (!SWIG_IsOK(ecode2
)) {
20265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20267 arg2
= static_cast< bool >(val2
);
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 (arg1
)->AdvanceSelection(arg2
);
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20275 resultobj
= SWIG_Py_Void();
20282 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20283 PyObject
*resultobj
= 0;
20284 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20285 wxPoint
*arg2
= 0 ;
20286 long *arg3
= (long *) 0 ;
20292 int res3
= SWIG_TMPOBJ
;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 char * kwnames
[] = {
20296 (char *) "self",(char *) "pt", NULL
20300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20302 if (!SWIG_IsOK(res1
)) {
20303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20305 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= SWIG_From_int(static_cast< int >(result
));
20317 if (SWIG_IsTmpObj(res3
)) {
20318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20320 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20329 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
= 0;
20331 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20332 SwigValueWrapper
<wxVisualAttributes
> result
;
20335 PyObject
* obj0
= 0 ;
20336 char * kwnames
[] = {
20337 (char *) "variant", NULL
20340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20342 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20343 if (!SWIG_IsOK(ecode1
)) {
20344 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20346 arg1
= static_cast< wxWindowVariant
>(val1
);
20349 if (!wxPyCheckForApp()) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20362 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20365 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20366 return SWIG_Py_Void();
20369 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
= 0;
20371 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20372 int arg2
= (int) 0 ;
20373 int arg3
= (int) -1 ;
20374 int arg4
= (int) -1 ;
20375 wxBookCtrlBaseEvent
*result
= 0 ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 PyObject
* obj2
= 0 ;
20387 PyObject
* obj3
= 0 ;
20388 char * kwnames
[] = {
20389 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20394 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20395 if (!SWIG_IsOK(ecode1
)) {
20396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20398 arg1
= static_cast< wxEventType
>(val1
);
20401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20402 if (!SWIG_IsOK(ecode2
)) {
20403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20405 arg2
= static_cast< int >(val2
);
20408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20409 if (!SWIG_IsOK(ecode3
)) {
20410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20412 arg3
= static_cast< int >(val3
);
20415 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20416 if (!SWIG_IsOK(ecode4
)) {
20417 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20419 arg4
= static_cast< int >(val4
);
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20434 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20435 PyObject
*resultobj
= 0;
20436 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20440 PyObject
*swig_obj
[1] ;
20442 if (!args
) SWIG_fail
;
20443 swig_obj
[0] = args
;
20444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20445 if (!SWIG_IsOK(res1
)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20448 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= SWIG_From_int(static_cast< int >(result
));
20462 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
= 0;
20464 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20472 char * kwnames
[] = {
20473 (char *) "self",(char *) "nSel", NULL
20476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20478 if (!SWIG_IsOK(res1
)) {
20479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20481 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20483 if (!SWIG_IsOK(ecode2
)) {
20484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20486 arg2
= static_cast< int >(val2
);
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 (arg1
)->SetSelection(arg2
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 resultobj
= SWIG_Py_Void();
20500 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20501 PyObject
*resultobj
= 0;
20502 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20506 PyObject
*swig_obj
[1] ;
20508 if (!args
) SWIG_fail
;
20509 swig_obj
[0] = args
;
20510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20511 if (!SWIG_IsOK(res1
)) {
20512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20514 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= SWIG_From_int(static_cast< int >(result
));
20528 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
= 0;
20530 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 PyObject
* obj1
= 0 ;
20538 char * kwnames
[] = {
20539 (char *) "self",(char *) "nOldSel", NULL
20542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20544 if (!SWIG_IsOK(res1
)) {
20545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20547 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20549 if (!SWIG_IsOK(ecode2
)) {
20550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20552 arg2
= static_cast< int >(val2
);
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 (arg1
)->SetOldSelection(arg2
);
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= SWIG_Py_Void();
20566 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20569 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20570 return SWIG_Py_Void();
20573 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20574 return SWIG_Python_InitShadowInstance(args
);
20577 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
= 0;
20579 wxWindow
*arg1
= (wxWindow
*) 0 ;
20580 int arg2
= (int) -1 ;
20581 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20582 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20583 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20584 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20585 long arg5
= (long) 0 ;
20586 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20587 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20588 wxNotebook
*result
= 0 ;
20597 bool temp6
= false ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 PyObject
* obj2
= 0 ;
20601 PyObject
* obj3
= 0 ;
20602 PyObject
* obj4
= 0 ;
20603 PyObject
* obj5
= 0 ;
20604 char * kwnames
[] = {
20605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20610 if (!SWIG_IsOK(res1
)) {
20611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20613 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20616 if (!SWIG_IsOK(ecode2
)) {
20617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20619 arg2
= static_cast< int >(val2
);
20624 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20630 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20634 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20635 if (!SWIG_IsOK(ecode5
)) {
20636 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20638 arg5
= static_cast< long >(val5
);
20642 arg6
= wxString_in_helper(obj5
);
20643 if (arg6
== NULL
) SWIG_fail
;
20648 if (!wxPyCheckForApp()) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20669 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20670 PyObject
*resultobj
= 0;
20671 wxNotebook
*result
= 0 ;
20673 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20675 if (!wxPyCheckForApp()) SWIG_fail
;
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 result
= (wxNotebook
*)new wxNotebook();
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20688 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
= 0;
20690 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20691 wxWindow
*arg2
= (wxWindow
*) 0 ;
20692 int arg3
= (int) -1 ;
20693 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20694 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20695 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20696 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20697 long arg6
= (long) 0 ;
20698 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20699 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20711 bool temp7
= false ;
20712 PyObject
* obj0
= 0 ;
20713 PyObject
* obj1
= 0 ;
20714 PyObject
* obj2
= 0 ;
20715 PyObject
* obj3
= 0 ;
20716 PyObject
* obj4
= 0 ;
20717 PyObject
* obj5
= 0 ;
20718 PyObject
* obj6
= 0 ;
20719 char * kwnames
[] = {
20720 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20725 if (!SWIG_IsOK(res1
)) {
20726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20728 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20730 if (!SWIG_IsOK(res2
)) {
20731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20733 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20736 if (!SWIG_IsOK(ecode3
)) {
20737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20739 arg3
= static_cast< int >(val3
);
20744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20754 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20755 if (!SWIG_IsOK(ecode6
)) {
20756 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20758 arg6
= static_cast< long >(val6
);
20762 arg7
= wxString_in_helper(obj6
);
20763 if (arg7
== NULL
) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20790 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20791 PyObject
*resultobj
= 0;
20792 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20796 PyObject
*swig_obj
[1] ;
20798 if (!args
) SWIG_fail
;
20799 swig_obj
[0] = args
;
20800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20801 if (!SWIG_IsOK(res1
)) {
20802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20804 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_From_int(static_cast< int >(result
));
20818 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
= 0;
20820 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 char * kwnames
[] = {
20828 (char *) "self",(char *) "padding", NULL
20831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20833 if (!SWIG_IsOK(res1
)) {
20834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20836 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20839 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_Py_Void();
20854 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
= 0;
20856 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 PyObject
* obj1
= 0 ;
20863 char * kwnames
[] = {
20864 (char *) "self",(char *) "sz", NULL
20867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20869 if (!SWIG_IsOK(res1
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20872 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20875 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_Py_Void();
20890 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20891 PyObject
*resultobj
= 0;
20892 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20896 PyObject
*swig_obj
[1] ;
20898 if (!args
) SWIG_fail
;
20899 swig_obj
[0] = args
;
20900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20901 if (!SWIG_IsOK(res1
)) {
20902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20904 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20918 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
= 0;
20920 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20921 SwigValueWrapper
<wxVisualAttributes
> result
;
20924 PyObject
* obj0
= 0 ;
20925 char * kwnames
[] = {
20926 (char *) "variant", NULL
20929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20931 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20932 if (!SWIG_IsOK(ecode1
)) {
20933 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20935 arg1
= static_cast< wxWindowVariant
>(val1
);
20938 if (!wxPyCheckForApp()) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20951 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
= 0;
20953 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20960 PyObject
* obj0
= 0 ;
20961 PyObject
* obj1
= 0 ;
20962 char * kwnames
[] = {
20963 (char *) "self",(char *) "nPage", NULL
20966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20968 if (!SWIG_IsOK(res1
)) {
20969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20971 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20973 if (!SWIG_IsOK(ecode2
)) {
20974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
20976 arg2
= static_cast< int >(val2
);
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20992 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
= 0;
20994 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20996 int arg3
= (int) -1 ;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 PyObject
* obj2
= 0 ;
21006 char * kwnames
[] = {
21007 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21012 if (!SWIG_IsOK(res1
)) {
21013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21015 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21017 if (!SWIG_IsOK(ecode2
)) {
21018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21020 arg2
= static_cast< int >(val2
);
21022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21023 if (!SWIG_IsOK(ecode3
)) {
21024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21026 arg3
= static_cast< int >(val3
);
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= SWIG_Py_Void();
21041 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21044 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21045 return SWIG_Py_Void();
21048 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21049 return SWIG_Python_InitShadowInstance(args
);
21052 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
= 0;
21054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21055 int arg2
= (int) 0 ;
21056 int arg3
= (int) -1 ;
21057 int arg4
= (int) -1 ;
21058 wxNotebookEvent
*result
= 0 ;
21067 PyObject
* obj0
= 0 ;
21068 PyObject
* obj1
= 0 ;
21069 PyObject
* obj2
= 0 ;
21070 PyObject
* obj3
= 0 ;
21071 char * kwnames
[] = {
21072 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21077 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21078 if (!SWIG_IsOK(ecode1
)) {
21079 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21081 arg1
= static_cast< wxEventType
>(val1
);
21084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21085 if (!SWIG_IsOK(ecode2
)) {
21086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21088 arg2
= static_cast< int >(val2
);
21091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21092 if (!SWIG_IsOK(ecode3
)) {
21093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21095 arg3
= static_cast< int >(val3
);
21098 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21099 if (!SWIG_IsOK(ecode4
)) {
21100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21102 arg4
= static_cast< int >(val4
);
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21107 wxPyEndAllowThreads(__tstate
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21117 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21120 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21121 return SWIG_Py_Void();
21124 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21125 return SWIG_Python_InitShadowInstance(args
);
21128 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
= 0;
21130 wxWindow
*arg1
= (wxWindow
*) 0 ;
21131 int arg2
= (int) -1 ;
21132 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21133 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21134 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21135 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21136 long arg5
= (long) 0 ;
21137 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21138 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21139 wxListbook
*result
= 0 ;
21148 bool temp6
= false ;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 PyObject
* obj2
= 0 ;
21152 PyObject
* obj3
= 0 ;
21153 PyObject
* obj4
= 0 ;
21154 PyObject
* obj5
= 0 ;
21155 char * kwnames
[] = {
21156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21161 if (!SWIG_IsOK(res1
)) {
21162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21167 if (!SWIG_IsOK(ecode2
)) {
21168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21170 arg2
= static_cast< int >(val2
);
21175 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21181 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21185 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21186 if (!SWIG_IsOK(ecode5
)) {
21187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21189 arg5
= static_cast< long >(val5
);
21193 arg6
= wxString_in_helper(obj5
);
21194 if (arg6
== NULL
) SWIG_fail
;
21199 if (!wxPyCheckForApp()) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21220 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21221 PyObject
*resultobj
= 0;
21222 wxListbook
*result
= 0 ;
21224 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21226 if (!wxPyCheckForApp()) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 result
= (wxListbook
*)new wxListbook();
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21239 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
= 0;
21241 wxListbook
*arg1
= (wxListbook
*) 0 ;
21242 wxWindow
*arg2
= (wxWindow
*) 0 ;
21243 int arg3
= (int) -1 ;
21244 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21245 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21246 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21247 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21248 long arg6
= (long) 0 ;
21249 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21250 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21262 bool temp7
= false ;
21263 PyObject
* obj0
= 0 ;
21264 PyObject
* obj1
= 0 ;
21265 PyObject
* obj2
= 0 ;
21266 PyObject
* obj3
= 0 ;
21267 PyObject
* obj4
= 0 ;
21268 PyObject
* obj5
= 0 ;
21269 PyObject
* obj6
= 0 ;
21270 char * kwnames
[] = {
21271 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21276 if (!SWIG_IsOK(res1
)) {
21277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21279 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21281 if (!SWIG_IsOK(res2
)) {
21282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21284 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21287 if (!SWIG_IsOK(ecode3
)) {
21288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21290 arg3
= static_cast< int >(val3
);
21295 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21301 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21305 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21306 if (!SWIG_IsOK(ecode6
)) {
21307 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21309 arg6
= static_cast< long >(val6
);
21313 arg7
= wxString_in_helper(obj6
);
21314 if (arg7
== NULL
) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21341 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21342 PyObject
*resultobj
= 0;
21343 wxListbook
*arg1
= (wxListbook
*) 0 ;
21344 wxListView
*result
= 0 ;
21347 PyObject
*swig_obj
[1] ;
21349 if (!args
) SWIG_fail
;
21350 swig_obj
[0] = args
;
21351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21352 if (!SWIG_IsOK(res1
)) {
21353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21355 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 result
= (wxListView
*)(arg1
)->GetListView();
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21369 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21372 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21373 return SWIG_Py_Void();
21376 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21377 return SWIG_Python_InitShadowInstance(args
);
21380 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
= 0;
21382 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21383 int arg2
= (int) 0 ;
21384 int arg3
= (int) -1 ;
21385 int arg4
= (int) -1 ;
21386 wxListbookEvent
*result
= 0 ;
21395 PyObject
* obj0
= 0 ;
21396 PyObject
* obj1
= 0 ;
21397 PyObject
* obj2
= 0 ;
21398 PyObject
* obj3
= 0 ;
21399 char * kwnames
[] = {
21400 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21406 if (!SWIG_IsOK(ecode1
)) {
21407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21409 arg1
= static_cast< wxEventType
>(val1
);
21412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21413 if (!SWIG_IsOK(ecode2
)) {
21414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21416 arg2
= static_cast< int >(val2
);
21419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21420 if (!SWIG_IsOK(ecode3
)) {
21421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21423 arg3
= static_cast< int >(val3
);
21426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21427 if (!SWIG_IsOK(ecode4
)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21430 arg4
= static_cast< int >(val4
);
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21445 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21448 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21449 return SWIG_Py_Void();
21452 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21453 return SWIG_Python_InitShadowInstance(args
);
21456 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
= 0;
21458 wxWindow
*arg1
= (wxWindow
*) 0 ;
21460 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21461 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21462 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21463 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21464 long arg5
= (long) 0 ;
21465 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21466 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21467 wxChoicebook
*result
= 0 ;
21476 bool temp6
= false ;
21477 PyObject
* obj0
= 0 ;
21478 PyObject
* obj1
= 0 ;
21479 PyObject
* obj2
= 0 ;
21480 PyObject
* obj3
= 0 ;
21481 PyObject
* obj4
= 0 ;
21482 PyObject
* obj5
= 0 ;
21483 char * kwnames
[] = {
21484 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21492 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21494 if (!SWIG_IsOK(ecode2
)) {
21495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21497 arg2
= static_cast< int >(val2
);
21501 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21507 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21511 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21512 if (!SWIG_IsOK(ecode5
)) {
21513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21515 arg5
= static_cast< long >(val5
);
21519 arg6
= wxString_in_helper(obj5
);
21520 if (arg6
== NULL
) SWIG_fail
;
21525 if (!wxPyCheckForApp()) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21546 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21547 PyObject
*resultobj
= 0;
21548 wxChoicebook
*result
= 0 ;
21550 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21552 if (!wxPyCheckForApp()) SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= (wxChoicebook
*)new wxChoicebook();
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21565 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
= 0;
21567 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21568 wxWindow
*arg2
= (wxWindow
*) 0 ;
21570 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21571 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21572 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21573 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21574 long arg6
= (long) 0 ;
21575 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21576 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21588 bool temp7
= false ;
21589 PyObject
* obj0
= 0 ;
21590 PyObject
* obj1
= 0 ;
21591 PyObject
* obj2
= 0 ;
21592 PyObject
* obj3
= 0 ;
21593 PyObject
* obj4
= 0 ;
21594 PyObject
* obj5
= 0 ;
21595 PyObject
* obj6
= 0 ;
21596 char * kwnames
[] = {
21597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21602 if (!SWIG_IsOK(res1
)) {
21603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21605 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21607 if (!SWIG_IsOK(res2
)) {
21608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21612 if (!SWIG_IsOK(ecode3
)) {
21613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21615 arg3
= static_cast< int >(val3
);
21619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21629 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21630 if (!SWIG_IsOK(ecode6
)) {
21631 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21633 arg6
= static_cast< long >(val6
);
21637 arg7
= wxString_in_helper(obj6
);
21638 if (arg7
== NULL
) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21665 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21666 PyObject
*resultobj
= 0;
21667 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21668 wxChoice
*result
= 0 ;
21671 PyObject
*swig_obj
[1] ;
21673 if (!args
) SWIG_fail
;
21674 swig_obj
[0] = args
;
21675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21676 if (!SWIG_IsOK(res1
)) {
21677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21679 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21693 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21696 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21697 return SWIG_Py_Void();
21700 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21701 return SWIG_Python_InitShadowInstance(args
);
21704 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
= 0;
21706 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21707 int arg2
= (int) 0 ;
21708 int arg3
= (int) -1 ;
21709 int arg4
= (int) -1 ;
21710 wxChoicebookEvent
*result
= 0 ;
21719 PyObject
* obj0
= 0 ;
21720 PyObject
* obj1
= 0 ;
21721 PyObject
* obj2
= 0 ;
21722 PyObject
* obj3
= 0 ;
21723 char * kwnames
[] = {
21724 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21730 if (!SWIG_IsOK(ecode1
)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21733 arg1
= static_cast< wxEventType
>(val1
);
21736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21737 if (!SWIG_IsOK(ecode2
)) {
21738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21740 arg2
= static_cast< int >(val2
);
21743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21744 if (!SWIG_IsOK(ecode3
)) {
21745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21747 arg3
= static_cast< int >(val3
);
21750 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21751 if (!SWIG_IsOK(ecode4
)) {
21752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21754 arg4
= static_cast< int >(val4
);
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21769 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21772 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21773 return SWIG_Py_Void();
21776 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21777 return SWIG_Python_InitShadowInstance(args
);
21780 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
= 0;
21782 wxWindow
*arg1
= (wxWindow
*) 0 ;
21784 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21785 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21786 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21787 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21788 long arg5
= (long) wxBK_DEFAULT
;
21789 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21790 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21791 wxTreebook
*result
= 0 ;
21800 bool temp6
= false ;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21803 PyObject
* obj2
= 0 ;
21804 PyObject
* obj3
= 0 ;
21805 PyObject
* obj4
= 0 ;
21806 PyObject
* obj5
= 0 ;
21807 char * kwnames
[] = {
21808 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21813 if (!SWIG_IsOK(res1
)) {
21814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21816 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21818 if (!SWIG_IsOK(ecode2
)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21821 arg2
= static_cast< int >(val2
);
21825 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21831 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21835 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21836 if (!SWIG_IsOK(ecode5
)) {
21837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21839 arg5
= static_cast< long >(val5
);
21843 arg6
= wxString_in_helper(obj5
);
21844 if (arg6
== NULL
) SWIG_fail
;
21849 if (!wxPyCheckForApp()) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21870 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21871 PyObject
*resultobj
= 0;
21872 wxTreebook
*result
= 0 ;
21874 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21876 if (!wxPyCheckForApp()) SWIG_fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= (wxTreebook
*)new wxTreebook();
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21889 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
= 0;
21891 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21892 wxWindow
*arg2
= (wxWindow
*) 0 ;
21894 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21895 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21896 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21897 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21898 long arg6
= (long) wxBK_DEFAULT
;
21899 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21900 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21912 bool temp7
= false ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 PyObject
* obj2
= 0 ;
21916 PyObject
* obj3
= 0 ;
21917 PyObject
* obj4
= 0 ;
21918 PyObject
* obj5
= 0 ;
21919 PyObject
* obj6
= 0 ;
21920 char * kwnames
[] = {
21921 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21926 if (!SWIG_IsOK(res1
)) {
21927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21929 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21930 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21931 if (!SWIG_IsOK(res2
)) {
21932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21934 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21936 if (!SWIG_IsOK(ecode3
)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21939 arg3
= static_cast< int >(val3
);
21943 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21949 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21953 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21954 if (!SWIG_IsOK(ecode6
)) {
21955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21957 arg6
= static_cast< long >(val6
);
21961 arg7
= wxString_in_helper(obj6
);
21962 if (arg7
== NULL
) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21989 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
= 0;
21991 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21993 wxWindow
*arg3
= (wxWindow
*) 0 ;
21994 wxString
*arg4
= 0 ;
21995 bool arg5
= (bool) false ;
21996 int arg6
= (int) wxNOT_FOUND
;
22004 bool temp4
= false ;
22009 PyObject
* obj0
= 0 ;
22010 PyObject
* obj1
= 0 ;
22011 PyObject
* obj2
= 0 ;
22012 PyObject
* obj3
= 0 ;
22013 PyObject
* obj4
= 0 ;
22014 PyObject
* obj5
= 0 ;
22015 char * kwnames
[] = {
22016 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22021 if (!SWIG_IsOK(res1
)) {
22022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22024 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22025 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22026 if (!SWIG_IsOK(ecode2
)) {
22027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22029 arg2
= static_cast< size_t >(val2
);
22030 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22031 if (!SWIG_IsOK(res3
)) {
22032 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22034 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22036 arg4
= wxString_in_helper(obj3
);
22037 if (arg4
== NULL
) SWIG_fail
;
22041 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22042 if (!SWIG_IsOK(ecode5
)) {
22043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22045 arg5
= static_cast< bool >(val5
);
22048 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22049 if (!SWIG_IsOK(ecode6
)) {
22050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22052 arg6
= static_cast< int >(val6
);
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22077 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
= 0;
22079 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22080 wxWindow
*arg2
= (wxWindow
*) 0 ;
22081 wxString
*arg3
= 0 ;
22082 bool arg4
= (bool) false ;
22083 int arg5
= (int) wxNOT_FOUND
;
22089 bool temp3
= false ;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 PyObject
* obj2
= 0 ;
22097 PyObject
* obj3
= 0 ;
22098 PyObject
* obj4
= 0 ;
22099 char * kwnames
[] = {
22100 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22105 if (!SWIG_IsOK(res1
)) {
22106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22108 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22110 if (!SWIG_IsOK(res2
)) {
22111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22113 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22115 arg3
= wxString_in_helper(obj2
);
22116 if (arg3
== NULL
) SWIG_fail
;
22120 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22121 if (!SWIG_IsOK(ecode4
)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22124 arg4
= static_cast< bool >(val4
);
22127 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22128 if (!SWIG_IsOK(ecode5
)) {
22129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22131 arg5
= static_cast< int >(val5
);
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22156 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
= 0;
22158 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 char * kwnames
[] = {
22168 (char *) "self",(char *) "pos", NULL
22171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22173 if (!SWIG_IsOK(res1
)) {
22174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22176 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22177 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22178 if (!SWIG_IsOK(ecode2
)) {
22179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22181 arg2
= static_cast< size_t >(val2
);
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22197 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
= 0;
22199 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22201 bool arg3
= (bool) true ;
22209 PyObject
* obj0
= 0 ;
22210 PyObject
* obj1
= 0 ;
22211 PyObject
* obj2
= 0 ;
22212 char * kwnames
[] = {
22213 (char *) "self",(char *) "pos",(char *) "expand", NULL
22216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22218 if (!SWIG_IsOK(res1
)) {
22219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22221 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22222 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22223 if (!SWIG_IsOK(ecode2
)) {
22224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22226 arg2
= static_cast< size_t >(val2
);
22228 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22229 if (!SWIG_IsOK(ecode3
)) {
22230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22232 arg3
= static_cast< bool >(val3
);
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22249 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
= 0;
22251 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 char * kwnames
[] = {
22261 (char *) "self",(char *) "pos", NULL
22264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22266 if (!SWIG_IsOK(res1
)) {
22267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22269 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22270 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22271 if (!SWIG_IsOK(ecode2
)) {
22272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22274 arg2
= static_cast< size_t >(val2
);
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= (bool)(arg1
)->CollapseNode(arg2
);
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22290 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
= 0;
22292 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 char * kwnames
[] = {
22302 (char *) "self",(char *) "pos", NULL
22305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22307 if (!SWIG_IsOK(res1
)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22310 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22311 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22312 if (!SWIG_IsOK(ecode2
)) {
22313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22315 arg2
= static_cast< size_t >(val2
);
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_From_int(static_cast< int >(result
));
22329 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22330 PyObject
*resultobj
= 0;
22331 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22332 wxPyTreeCtrl
*result
= 0 ;
22335 PyObject
*swig_obj
[1] ;
22337 if (!args
) SWIG_fail
;
22338 swig_obj
[0] = args
;
22339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22340 if (!SWIG_IsOK(res1
)) {
22341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22343 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22359 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22362 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22363 return SWIG_Py_Void();
22366 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22367 return SWIG_Python_InitShadowInstance(args
);
22370 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
= 0;
22372 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22373 int arg2
= (int) 0 ;
22374 int arg3
= (int) wxNOT_FOUND
;
22375 int arg4
= (int) wxNOT_FOUND
;
22376 wxTreebookEvent
*result
= 0 ;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 PyObject
* obj2
= 0 ;
22388 PyObject
* obj3
= 0 ;
22389 char * kwnames
[] = {
22390 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22395 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22396 if (!SWIG_IsOK(ecode1
)) {
22397 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22399 arg1
= static_cast< wxEventType
>(val1
);
22402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22403 if (!SWIG_IsOK(ecode2
)) {
22404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22406 arg2
= static_cast< int >(val2
);
22409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22410 if (!SWIG_IsOK(ecode3
)) {
22411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22413 arg3
= static_cast< int >(val3
);
22416 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22417 if (!SWIG_IsOK(ecode4
)) {
22418 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22420 arg4
= static_cast< int >(val4
);
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22435 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22438 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22439 return SWIG_Py_Void();
22442 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22443 return SWIG_Python_InitShadowInstance(args
);
22446 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
= 0;
22448 wxWindow
*arg1
= (wxWindow
*) 0 ;
22450 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22451 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22452 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22453 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22454 long arg5
= (long) wxBK_DEFAULT
;
22455 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22456 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22457 wxToolbook
*result
= 0 ;
22466 bool temp6
= false ;
22467 PyObject
* obj0
= 0 ;
22468 PyObject
* obj1
= 0 ;
22469 PyObject
* obj2
= 0 ;
22470 PyObject
* obj3
= 0 ;
22471 PyObject
* obj4
= 0 ;
22472 PyObject
* obj5
= 0 ;
22473 char * kwnames
[] = {
22474 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22479 if (!SWIG_IsOK(res1
)) {
22480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22484 if (!SWIG_IsOK(ecode2
)) {
22485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22487 arg2
= static_cast< int >(val2
);
22491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22497 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22501 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22502 if (!SWIG_IsOK(ecode5
)) {
22503 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22505 arg5
= static_cast< long >(val5
);
22509 arg6
= wxString_in_helper(obj5
);
22510 if (arg6
== NULL
) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22535 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22536 PyObject
*resultobj
= 0;
22537 wxToolbook
*result
= 0 ;
22539 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (wxToolbook
*)new wxToolbook();
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22553 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
= 0;
22555 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22556 wxWindow
*arg2
= (wxWindow
*) 0 ;
22558 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22559 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22560 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22561 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22562 long arg6
= (long) 0 ;
22563 wxString
const &arg7_defvalue
= wxEmptyString
;
22564 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22576 bool temp7
= false ;
22577 PyObject
* obj0
= 0 ;
22578 PyObject
* obj1
= 0 ;
22579 PyObject
* obj2
= 0 ;
22580 PyObject
* obj3
= 0 ;
22581 PyObject
* obj4
= 0 ;
22582 PyObject
* obj5
= 0 ;
22583 PyObject
* obj6
= 0 ;
22584 char * kwnames
[] = {
22585 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22590 if (!SWIG_IsOK(res1
)) {
22591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22593 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22595 if (!SWIG_IsOK(res2
)) {
22596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22600 if (!SWIG_IsOK(ecode3
)) {
22601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22603 arg3
= static_cast< int >(val3
);
22607 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22613 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22617 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22618 if (!SWIG_IsOK(ecode6
)) {
22619 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22621 arg6
= static_cast< long >(val6
);
22625 arg7
= wxString_in_helper(obj6
);
22626 if (arg7
== NULL
) SWIG_fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22653 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22654 PyObject
*resultobj
= 0;
22655 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22656 wxToolBarBase
*result
= 0 ;
22659 PyObject
*swig_obj
[1] ;
22661 if (!args
) SWIG_fail
;
22662 swig_obj
[0] = args
;
22663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22664 if (!SWIG_IsOK(res1
)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22667 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22683 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22684 PyObject
*resultobj
= 0;
22685 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22688 PyObject
*swig_obj
[1] ;
22690 if (!args
) SWIG_fail
;
22691 swig_obj
[0] = args
;
22692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22693 if (!SWIG_IsOK(res1
)) {
22694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22696 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= SWIG_Py_Void();
22710 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22713 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22714 return SWIG_Py_Void();
22717 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22718 return SWIG_Python_InitShadowInstance(args
);
22721 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
= 0;
22723 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22724 int arg2
= (int) 0 ;
22725 int arg3
= (int) wxNOT_FOUND
;
22726 int arg4
= (int) wxNOT_FOUND
;
22727 wxToolbookEvent
*result
= 0 ;
22736 PyObject
* obj0
= 0 ;
22737 PyObject
* obj1
= 0 ;
22738 PyObject
* obj2
= 0 ;
22739 PyObject
* obj3
= 0 ;
22740 char * kwnames
[] = {
22741 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22747 if (!SWIG_IsOK(ecode1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22750 arg1
= static_cast< wxEventType
>(val1
);
22753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22754 if (!SWIG_IsOK(ecode2
)) {
22755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22757 arg2
= static_cast< int >(val2
);
22760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22761 if (!SWIG_IsOK(ecode3
)) {
22762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22764 arg3
= static_cast< int >(val3
);
22767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22768 if (!SWIG_IsOK(ecode4
)) {
22769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22771 arg4
= static_cast< int >(val4
);
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22786 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22789 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22790 return SWIG_Py_Void();
22793 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22794 return SWIG_Python_InitShadowInstance(args
);
22797 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22798 PyObject
*resultobj
= 0;
22799 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22803 PyObject
*swig_obj
[1] ;
22805 if (!args
) SWIG_fail
;
22806 swig_obj
[0] = args
;
22807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22808 if (!SWIG_IsOK(res1
)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22811 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (int)(arg1
)->GetId();
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= SWIG_From_int(static_cast< int >(result
));
22825 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 PyObject
*resultobj
= 0;
22827 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22828 wxControl
*result
= 0 ;
22831 PyObject
*swig_obj
[1] ;
22833 if (!args
) SWIG_fail
;
22834 swig_obj
[0] = args
;
22835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22836 if (!SWIG_IsOK(res1
)) {
22837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22839 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= (wxControl
*)(arg1
)->GetControl();
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22847 resultobj
= wxPyMake_wxObject(result
, 0);
22855 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22856 PyObject
*resultobj
= 0;
22857 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22858 wxToolBarBase
*result
= 0 ;
22861 PyObject
*swig_obj
[1] ;
22863 if (!args
) SWIG_fail
;
22864 swig_obj
[0] = args
;
22865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22866 if (!SWIG_IsOK(res1
)) {
22867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22869 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22885 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22886 PyObject
*resultobj
= 0;
22887 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22891 PyObject
*swig_obj
[1] ;
22893 if (!args
) SWIG_fail
;
22894 swig_obj
[0] = args
;
22895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22896 if (!SWIG_IsOK(res1
)) {
22897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22899 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 result
= (int)(arg1
)->IsButton();
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= SWIG_From_int(static_cast< int >(result
));
22913 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22914 PyObject
*resultobj
= 0;
22915 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22919 PyObject
*swig_obj
[1] ;
22921 if (!args
) SWIG_fail
;
22922 swig_obj
[0] = args
;
22923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22924 if (!SWIG_IsOK(res1
)) {
22925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22927 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (int)(arg1
)->IsControl();
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= SWIG_From_int(static_cast< int >(result
));
22941 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22942 PyObject
*resultobj
= 0;
22943 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22947 PyObject
*swig_obj
[1] ;
22949 if (!args
) SWIG_fail
;
22950 swig_obj
[0] = args
;
22951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22952 if (!SWIG_IsOK(res1
)) {
22953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22955 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= (int)(arg1
)->IsSeparator();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_From_int(static_cast< int >(result
));
22969 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22970 PyObject
*resultobj
= 0;
22971 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22975 PyObject
*swig_obj
[1] ;
22977 if (!args
) SWIG_fail
;
22978 swig_obj
[0] = args
;
22979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22980 if (!SWIG_IsOK(res1
)) {
22981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22983 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 result
= (int)(arg1
)->GetStyle();
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 resultobj
= SWIG_From_int(static_cast< int >(result
));
22997 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22998 PyObject
*resultobj
= 0;
22999 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23003 PyObject
*swig_obj
[1] ;
23005 if (!args
) SWIG_fail
;
23006 swig_obj
[0] = args
;
23007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23008 if (!SWIG_IsOK(res1
)) {
23009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23011 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 result
= (wxItemKind
)(arg1
)->GetKind();
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 resultobj
= SWIG_From_int(static_cast< int >(result
));
23025 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23026 PyObject
*resultobj
= 0;
23027 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23031 PyObject
*swig_obj
[1] ;
23033 if (!args
) SWIG_fail
;
23034 swig_obj
[0] = args
;
23035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23039 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (bool)(arg1
)->IsEnabled();
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23055 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23056 PyObject
*resultobj
= 0;
23057 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23061 PyObject
*swig_obj
[1] ;
23063 if (!args
) SWIG_fail
;
23064 swig_obj
[0] = args
;
23065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23066 if (!SWIG_IsOK(res1
)) {
23067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23069 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (bool)(arg1
)->IsToggled();
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23085 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23086 PyObject
*resultobj
= 0;
23087 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23091 PyObject
*swig_obj
[1] ;
23093 if (!args
) SWIG_fail
;
23094 swig_obj
[0] = args
;
23095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23096 if (!SWIG_IsOK(res1
)) {
23097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23099 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (bool)(arg1
)->CanBeToggled();
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23115 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23116 PyObject
*resultobj
= 0;
23117 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23118 wxBitmap
*result
= 0 ;
23121 PyObject
*swig_obj
[1] ;
23123 if (!args
) SWIG_fail
;
23124 swig_obj
[0] = args
;
23125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23126 if (!SWIG_IsOK(res1
)) {
23127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23129 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23134 result
= (wxBitmap
*) &_result_ref
;
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23140 wxBitmap
* resultptr
= new wxBitmap(*result
);
23141 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23149 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23150 PyObject
*resultobj
= 0;
23151 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23152 wxBitmap
*result
= 0 ;
23155 PyObject
*swig_obj
[1] ;
23157 if (!args
) SWIG_fail
;
23158 swig_obj
[0] = args
;
23159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23160 if (!SWIG_IsOK(res1
)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23163 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23168 result
= (wxBitmap
*) &_result_ref
;
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23174 wxBitmap
* resultptr
= new wxBitmap(*result
);
23175 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23183 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23184 PyObject
*resultobj
= 0;
23185 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23189 PyObject
*swig_obj
[1] ;
23191 if (!args
) SWIG_fail
;
23192 swig_obj
[0] = args
;
23193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23194 if (!SWIG_IsOK(res1
)) {
23195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23197 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 result
= (arg1
)->GetBitmap();
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23211 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23212 PyObject
*resultobj
= 0;
23213 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23217 PyObject
*swig_obj
[1] ;
23219 if (!args
) SWIG_fail
;
23220 swig_obj
[0] = args
;
23221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23222 if (!SWIG_IsOK(res1
)) {
23223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23225 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (arg1
)->GetLabel();
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23245 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23246 PyObject
*resultobj
= 0;
23247 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23251 PyObject
*swig_obj
[1] ;
23253 if (!args
) SWIG_fail
;
23254 swig_obj
[0] = args
;
23255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23256 if (!SWIG_IsOK(res1
)) {
23257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23259 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 result
= (arg1
)->GetShortHelp();
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23279 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23280 PyObject
*resultobj
= 0;
23281 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23285 PyObject
*swig_obj
[1] ;
23287 if (!args
) SWIG_fail
;
23288 swig_obj
[0] = args
;
23289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23290 if (!SWIG_IsOK(res1
)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23293 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (arg1
)->GetLongHelp();
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23313 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
= 0;
23315 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23322 PyObject
* obj0
= 0 ;
23323 PyObject
* obj1
= 0 ;
23324 char * kwnames
[] = {
23325 (char *) "self",(char *) "enable", NULL
23328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23330 if (!SWIG_IsOK(res1
)) {
23331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23333 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23334 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23335 if (!SWIG_IsOK(ecode2
)) {
23336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23338 arg2
= static_cast< bool >(val2
);
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= (bool)(arg1
)->Enable(arg2
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23354 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23355 PyObject
*resultobj
= 0;
23356 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23359 PyObject
*swig_obj
[1] ;
23361 if (!args
) SWIG_fail
;
23362 swig_obj
[0] = args
;
23363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23364 if (!SWIG_IsOK(res1
)) {
23365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23367 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_Py_Void();
23381 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
= 0;
23383 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 char * kwnames
[] = {
23393 (char *) "self",(char *) "toggle", NULL
23396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23401 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23402 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23403 if (!SWIG_IsOK(ecode2
)) {
23404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23406 arg2
= static_cast< bool >(val2
);
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (bool)(arg1
)->SetToggle(arg2
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23422 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
= 0;
23424 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23425 wxString
*arg2
= 0 ;
23429 bool temp2
= false ;
23430 PyObject
* obj0
= 0 ;
23431 PyObject
* obj1
= 0 ;
23432 char * kwnames
[] = {
23433 (char *) "self",(char *) "help", NULL
23436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23438 if (!SWIG_IsOK(res1
)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23441 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23443 arg2
= wxString_in_helper(obj1
);
23444 if (arg2
== NULL
) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23470 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
= 0;
23472 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23473 wxString
*arg2
= 0 ;
23477 bool temp2
= false ;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23480 char * kwnames
[] = {
23481 (char *) "self",(char *) "help", NULL
23484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23486 if (!SWIG_IsOK(res1
)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23489 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23491 arg2
= wxString_in_helper(obj1
);
23492 if (arg2
== NULL
) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23518 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
= 0;
23520 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23521 wxBitmap
*arg2
= 0 ;
23526 PyObject
* obj0
= 0 ;
23527 PyObject
* obj1
= 0 ;
23528 char * kwnames
[] = {
23529 (char *) "self",(char *) "bmp", NULL
23532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23534 if (!SWIG_IsOK(res1
)) {
23535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23537 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23539 if (!SWIG_IsOK(res2
)) {
23540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23545 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= SWIG_Py_Void();
23559 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
= 0;
23561 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23562 wxBitmap
*arg2
= 0 ;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 char * kwnames
[] = {
23570 (char *) "self",(char *) "bmp", NULL
23573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23575 if (!SWIG_IsOK(res1
)) {
23576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23578 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23580 if (!SWIG_IsOK(res2
)) {
23581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23586 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23593 resultobj
= SWIG_Py_Void();
23600 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
= 0;
23602 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23603 wxString
*arg2
= 0 ;
23606 bool temp2
= false ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 char * kwnames
[] = {
23610 (char *) "self",(char *) "label", NULL
23613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23615 if (!SWIG_IsOK(res1
)) {
23616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23618 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23620 arg2
= wxString_in_helper(obj1
);
23621 if (arg2
== NULL
) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 (arg1
)->SetLabel((wxString
const &)*arg2
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= SWIG_Py_Void();
23645 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23646 PyObject
*resultobj
= 0;
23647 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23650 PyObject
*swig_obj
[1] ;
23652 if (!args
) SWIG_fail
;
23653 swig_obj
[0] = args
;
23654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23658 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_Py_Void();
23672 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
= 0;
23674 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23675 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 char * kwnames
[] = {
23683 (char *) "self",(char *) "tbar", NULL
23686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23688 if (!SWIG_IsOK(res1
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23691 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23693 if (!SWIG_IsOK(res2
)) {
23694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23696 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 (arg1
)->Attach(arg2
);
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= SWIG_Py_Void();
23710 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23711 PyObject
*resultobj
= 0;
23712 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23713 PyObject
*result
= 0 ;
23716 PyObject
*swig_obj
[1] ;
23718 if (!args
) SWIG_fail
;
23719 swig_obj
[0] = args
;
23720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23721 if (!SWIG_IsOK(res1
)) {
23722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23724 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= result
;
23738 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
= 0;
23740 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23741 PyObject
*arg2
= (PyObject
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 PyObject
* obj1
= 0 ;
23746 char * kwnames
[] = {
23747 (char *) "self",(char *) "clientData", NULL
23750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23752 if (!SWIG_IsOK(res1
)) {
23753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23755 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 resultobj
= SWIG_Py_Void();
23770 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23773 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23774 return SWIG_Py_Void();
23777 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
= 0;
23779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23781 wxString
*arg3
= 0 ;
23782 wxBitmap
*arg4
= 0 ;
23783 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23784 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23785 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23786 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23787 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23788 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23789 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23790 PyObject
*arg9
= (PyObject
*) NULL
;
23791 wxToolBarToolBase
*result
= 0 ;
23796 bool temp3
= false ;
23803 bool temp7
= false ;
23804 bool temp8
= false ;
23805 PyObject
* obj0
= 0 ;
23806 PyObject
* obj1
= 0 ;
23807 PyObject
* obj2
= 0 ;
23808 PyObject
* obj3
= 0 ;
23809 PyObject
* obj4
= 0 ;
23810 PyObject
* obj5
= 0 ;
23811 PyObject
* obj6
= 0 ;
23812 PyObject
* obj7
= 0 ;
23813 PyObject
* obj8
= 0 ;
23814 char * kwnames
[] = {
23815 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23820 if (!SWIG_IsOK(res1
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23823 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23825 if (!SWIG_IsOK(ecode2
)) {
23826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23828 arg2
= static_cast< int >(val2
);
23830 arg3
= wxString_in_helper(obj2
);
23831 if (arg3
== NULL
) SWIG_fail
;
23834 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23835 if (!SWIG_IsOK(res4
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23841 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23843 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23844 if (!SWIG_IsOK(res5
)) {
23845 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23850 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23853 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23854 if (!SWIG_IsOK(ecode6
)) {
23855 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23857 arg6
= static_cast< wxItemKind
>(val6
);
23861 arg7
= wxString_in_helper(obj6
);
23862 if (arg7
== NULL
) SWIG_fail
;
23868 arg8
= wxString_in_helper(obj7
);
23869 if (arg8
== NULL
) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23915 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
= 0;
23917 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23920 wxString
*arg4
= 0 ;
23921 wxBitmap
*arg5
= 0 ;
23922 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23923 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23924 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23925 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23926 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23927 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23928 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23929 PyObject
*arg10
= (PyObject
*) NULL
;
23930 wxToolBarToolBase
*result
= 0 ;
23937 bool temp4
= false ;
23944 bool temp8
= false ;
23945 bool temp9
= false ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 PyObject
* obj2
= 0 ;
23949 PyObject
* obj3
= 0 ;
23950 PyObject
* obj4
= 0 ;
23951 PyObject
* obj5
= 0 ;
23952 PyObject
* obj6
= 0 ;
23953 PyObject
* obj7
= 0 ;
23954 PyObject
* obj8
= 0 ;
23955 PyObject
* obj9
= 0 ;
23956 char * kwnames
[] = {
23957 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23962 if (!SWIG_IsOK(res1
)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23965 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23966 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23967 if (!SWIG_IsOK(ecode2
)) {
23968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23970 arg2
= static_cast< size_t >(val2
);
23971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23972 if (!SWIG_IsOK(ecode3
)) {
23973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23975 arg3
= static_cast< int >(val3
);
23977 arg4
= wxString_in_helper(obj3
);
23978 if (arg4
== NULL
) SWIG_fail
;
23981 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23982 if (!SWIG_IsOK(res5
)) {
23983 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23988 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23990 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23991 if (!SWIG_IsOK(res6
)) {
23992 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23997 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24000 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24001 if (!SWIG_IsOK(ecode7
)) {
24002 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24004 arg7
= static_cast< wxItemKind
>(val7
);
24008 arg8
= wxString_in_helper(obj7
);
24009 if (arg8
== NULL
) SWIG_fail
;
24015 arg9
= wxString_in_helper(obj8
);
24016 if (arg9
== NULL
) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24062 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
= 0;
24064 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24065 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24066 wxToolBarToolBase
*result
= 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 char * kwnames
[] = {
24074 (char *) "self",(char *) "tool", NULL
24077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24079 if (!SWIG_IsOK(res1
)) {
24080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24082 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24084 if (!SWIG_IsOK(res2
)) {
24085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24087 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24103 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
= 0;
24105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24107 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24108 wxToolBarToolBase
*result
= 0 ;
24115 PyObject
* obj0
= 0 ;
24116 PyObject
* obj1
= 0 ;
24117 PyObject
* obj2
= 0 ;
24118 char * kwnames
[] = {
24119 (char *) "self",(char *) "pos",(char *) "tool", NULL
24122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24124 if (!SWIG_IsOK(res1
)) {
24125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24127 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24128 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24129 if (!SWIG_IsOK(ecode2
)) {
24130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24132 arg2
= static_cast< size_t >(val2
);
24133 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24134 if (!SWIG_IsOK(res3
)) {
24135 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24137 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24153 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
= 0;
24155 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24156 wxControl
*arg2
= (wxControl
*) 0 ;
24157 wxToolBarToolBase
*result
= 0 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 char * kwnames
[] = {
24165 (char *) "self",(char *) "control", NULL
24168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24170 if (!SWIG_IsOK(res1
)) {
24171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24173 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24174 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24175 if (!SWIG_IsOK(res2
)) {
24176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24178 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24194 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
= 0;
24196 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24198 wxControl
*arg3
= (wxControl
*) 0 ;
24199 wxToolBarToolBase
*result
= 0 ;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 PyObject
* obj2
= 0 ;
24209 char * kwnames
[] = {
24210 (char *) "self",(char *) "pos",(char *) "control", NULL
24213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24215 if (!SWIG_IsOK(res1
)) {
24216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24218 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24219 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24220 if (!SWIG_IsOK(ecode2
)) {
24221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24223 arg2
= static_cast< size_t >(val2
);
24224 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24225 if (!SWIG_IsOK(res3
)) {
24226 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24228 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24236 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24244 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
= 0;
24246 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24248 wxControl
*result
= 0 ;
24253 PyObject
* obj0
= 0 ;
24254 PyObject
* obj1
= 0 ;
24255 char * kwnames
[] = {
24256 (char *) "self",(char *) "id", NULL
24259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24261 if (!SWIG_IsOK(res1
)) {
24262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24264 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24266 if (!SWIG_IsOK(ecode2
)) {
24267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24269 arg2
= static_cast< int >(val2
);
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= wxPyMake_wxObject(result
, 0);
24285 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24286 PyObject
*resultobj
= 0;
24287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24288 wxToolBarToolBase
*result
= 0 ;
24291 PyObject
*swig_obj
[1] ;
24293 if (!args
) SWIG_fail
;
24294 swig_obj
[0] = args
;
24295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24296 if (!SWIG_IsOK(res1
)) {
24297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24299 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24315 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
= 0;
24317 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24319 wxToolBarToolBase
*result
= 0 ;
24324 PyObject
* obj0
= 0 ;
24325 PyObject
* obj1
= 0 ;
24326 char * kwnames
[] = {
24327 (char *) "self",(char *) "pos", NULL
24330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24332 if (!SWIG_IsOK(res1
)) {
24333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24335 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24336 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24337 if (!SWIG_IsOK(ecode2
)) {
24338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24340 arg2
= static_cast< size_t >(val2
);
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24356 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
= 0;
24358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24360 wxToolBarToolBase
*result
= 0 ;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 char * kwnames
[] = {
24368 (char *) "self",(char *) "id", NULL
24371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24373 if (!SWIG_IsOK(res1
)) {
24374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24376 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24378 if (!SWIG_IsOK(ecode2
)) {
24379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24381 arg2
= static_cast< int >(val2
);
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24397 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
= 0;
24399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24406 PyObject
* obj0
= 0 ;
24407 PyObject
* obj1
= 0 ;
24408 char * kwnames
[] = {
24409 (char *) "self",(char *) "pos", NULL
24412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24414 if (!SWIG_IsOK(res1
)) {
24415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24417 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24418 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24419 if (!SWIG_IsOK(ecode2
)) {
24420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24422 arg2
= static_cast< size_t >(val2
);
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24438 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
= 0;
24440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24447 PyObject
* obj0
= 0 ;
24448 PyObject
* obj1
= 0 ;
24449 char * kwnames
[] = {
24450 (char *) "self",(char *) "id", NULL
24453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24458 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24460 if (!SWIG_IsOK(ecode2
)) {
24461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24463 arg2
= static_cast< int >(val2
);
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 result
= (bool)(arg1
)->DeleteTool(arg2
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24479 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24480 PyObject
*resultobj
= 0;
24481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24484 PyObject
*swig_obj
[1] ;
24486 if (!args
) SWIG_fail
;
24487 swig_obj
[0] = args
;
24488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24489 if (!SWIG_IsOK(res1
)) {
24490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24492 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 (arg1
)->ClearTools();
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= SWIG_Py_Void();
24506 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24507 PyObject
*resultobj
= 0;
24508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24512 PyObject
*swig_obj
[1] ;
24514 if (!args
) SWIG_fail
;
24515 swig_obj
[0] = args
;
24516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24517 if (!SWIG_IsOK(res1
)) {
24518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24520 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 result
= (bool)(arg1
)->Realize();
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24536 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
= 0;
24538 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 PyObject
* obj2
= 0 ;
24550 char * kwnames
[] = {
24551 (char *) "self",(char *) "id",(char *) "enable", NULL
24554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24556 if (!SWIG_IsOK(res1
)) {
24557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24559 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24561 if (!SWIG_IsOK(ecode2
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24564 arg2
= static_cast< int >(val2
);
24565 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24566 if (!SWIG_IsOK(ecode3
)) {
24567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24569 arg3
= static_cast< bool >(val3
);
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 (arg1
)->EnableTool(arg2
,arg3
);
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= SWIG_Py_Void();
24583 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
= 0;
24585 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 PyObject
* obj2
= 0 ;
24597 char * kwnames
[] = {
24598 (char *) "self",(char *) "id",(char *) "toggle", NULL
24601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24603 if (!SWIG_IsOK(res1
)) {
24604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24606 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24608 if (!SWIG_IsOK(ecode2
)) {
24609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24611 arg2
= static_cast< int >(val2
);
24612 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24613 if (!SWIG_IsOK(ecode3
)) {
24614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24616 arg3
= static_cast< bool >(val3
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 (arg1
)->ToggleTool(arg2
,arg3
);
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_Py_Void();
24630 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
= 0;
24632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 PyObject
* obj2
= 0 ;
24644 char * kwnames
[] = {
24645 (char *) "self",(char *) "id",(char *) "toggle", NULL
24648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24650 if (!SWIG_IsOK(res1
)) {
24651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24653 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24655 if (!SWIG_IsOK(ecode2
)) {
24656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24658 arg2
= static_cast< int >(val2
);
24659 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24660 if (!SWIG_IsOK(ecode3
)) {
24661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24663 arg3
= static_cast< bool >(val3
);
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 (arg1
)->SetToggle(arg2
,arg3
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= SWIG_Py_Void();
24677 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
= 0;
24679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24681 PyObject
*result
= 0 ;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 char * kwnames
[] = {
24689 (char *) "self",(char *) "id", NULL
24692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24694 if (!SWIG_IsOK(res1
)) {
24695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24697 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24699 if (!SWIG_IsOK(ecode2
)) {
24700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24702 arg2
= static_cast< int >(val2
);
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= result
;
24716 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
= 0;
24718 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24720 PyObject
*arg3
= (PyObject
*) 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 PyObject
* obj2
= 0 ;
24728 char * kwnames
[] = {
24729 (char *) "self",(char *) "id",(char *) "clientData", NULL
24732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24734 if (!SWIG_IsOK(res1
)) {
24735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24737 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24739 if (!SWIG_IsOK(ecode2
)) {
24740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24742 arg2
= static_cast< int >(val2
);
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= SWIG_Py_Void();
24757 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
= 0;
24759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24766 PyObject
* obj0
= 0 ;
24767 PyObject
* obj1
= 0 ;
24768 char * kwnames
[] = {
24769 (char *) "self",(char *) "id", NULL
24772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24774 if (!SWIG_IsOK(res1
)) {
24775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24777 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24779 if (!SWIG_IsOK(ecode2
)) {
24780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24782 arg2
= static_cast< int >(val2
);
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_From_int(static_cast< int >(result
));
24796 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
= 0;
24798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char * kwnames
[] = {
24808 (char *) "self",(char *) "id", NULL
24811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24813 if (!SWIG_IsOK(res1
)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24816 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24818 if (!SWIG_IsOK(ecode2
)) {
24819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24821 arg2
= static_cast< int >(val2
);
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 result
= (bool)(arg1
)->GetToolState(arg2
);
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24837 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
= 0;
24839 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 char * kwnames
[] = {
24849 (char *) "self",(char *) "id", NULL
24852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24854 if (!SWIG_IsOK(res1
)) {
24855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24857 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24859 if (!SWIG_IsOK(ecode2
)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24862 arg2
= static_cast< int >(val2
);
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24878 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
= 0;
24880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24882 wxString
*arg3
= 0 ;
24887 bool temp3
= false ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 PyObject
* obj2
= 0 ;
24891 char * kwnames
[] = {
24892 (char *) "self",(char *) "id",(char *) "helpString", NULL
24895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24897 if (!SWIG_IsOK(res1
)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24900 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24902 if (!SWIG_IsOK(ecode2
)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24905 arg2
= static_cast< int >(val2
);
24907 arg3
= wxString_in_helper(obj2
);
24908 if (arg3
== NULL
) SWIG_fail
;
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= SWIG_Py_Void();
24932 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
= 0;
24934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24941 PyObject
* obj0
= 0 ;
24942 PyObject
* obj1
= 0 ;
24943 char * kwnames
[] = {
24944 (char *) "self",(char *) "id", NULL
24947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24949 if (!SWIG_IsOK(res1
)) {
24950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24952 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24954 if (!SWIG_IsOK(ecode2
)) {
24955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24957 arg2
= static_cast< int >(val2
);
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 result
= (arg1
)->GetToolShortHelp(arg2
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24977 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
= 0;
24979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24981 wxString
*arg3
= 0 ;
24986 bool temp3
= false ;
24987 PyObject
* obj0
= 0 ;
24988 PyObject
* obj1
= 0 ;
24989 PyObject
* obj2
= 0 ;
24990 char * kwnames
[] = {
24991 (char *) "self",(char *) "id",(char *) "helpString", NULL
24994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24996 if (!SWIG_IsOK(res1
)) {
24997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24999 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25001 if (!SWIG_IsOK(ecode2
)) {
25002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25004 arg2
= static_cast< int >(val2
);
25006 arg3
= wxString_in_helper(obj2
);
25007 if (arg3
== NULL
) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_Py_Void();
25031 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
= 0;
25033 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25040 PyObject
* obj0
= 0 ;
25041 PyObject
* obj1
= 0 ;
25042 char * kwnames
[] = {
25043 (char *) "self",(char *) "id", NULL
25046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25048 if (!SWIG_IsOK(res1
)) {
25049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25051 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25053 if (!SWIG_IsOK(ecode2
)) {
25054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25056 arg2
= static_cast< int >(val2
);
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= (arg1
)->GetToolLongHelp(arg2
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25076 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
= 0;
25078 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25087 PyObject
* obj0
= 0 ;
25088 PyObject
* obj1
= 0 ;
25089 PyObject
* obj2
= 0 ;
25090 char * kwnames
[] = {
25091 (char *) "self",(char *) "x",(char *) "y", NULL
25094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25096 if (!SWIG_IsOK(res1
)) {
25097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25099 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25101 if (!SWIG_IsOK(ecode2
)) {
25102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25104 arg2
= static_cast< int >(val2
);
25105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25106 if (!SWIG_IsOK(ecode3
)) {
25107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25109 arg3
= static_cast< int >(val3
);
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 (arg1
)->SetMargins(arg2
,arg3
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= SWIG_Py_Void();
25123 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
= 0;
25125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25130 PyObject
* obj0
= 0 ;
25131 PyObject
* obj1
= 0 ;
25132 char * kwnames
[] = {
25133 (char *) "self",(char *) "size", NULL
25136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25138 if (!SWIG_IsOK(res1
)) {
25139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25141 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25144 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_Py_Void();
25159 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
= 0;
25161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25167 PyObject
* obj0
= 0 ;
25168 PyObject
* obj1
= 0 ;
25169 char * kwnames
[] = {
25170 (char *) "self",(char *) "packing", NULL
25173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25175 if (!SWIG_IsOK(res1
)) {
25176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25178 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25180 if (!SWIG_IsOK(ecode2
)) {
25181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25183 arg2
= static_cast< int >(val2
);
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 (arg1
)->SetToolPacking(arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= SWIG_Py_Void();
25197 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
= 0;
25199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 char * kwnames
[] = {
25208 (char *) "self",(char *) "separation", NULL
25211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25213 if (!SWIG_IsOK(res1
)) {
25214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25216 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25218 if (!SWIG_IsOK(ecode2
)) {
25219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25221 arg2
= static_cast< int >(val2
);
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 (arg1
)->SetToolSeparation(arg2
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= SWIG_Py_Void();
25235 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25236 PyObject
*resultobj
= 0;
25237 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25241 PyObject
*swig_obj
[1] ;
25243 if (!args
) SWIG_fail
;
25244 swig_obj
[0] = args
;
25245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25246 if (!SWIG_IsOK(res1
)) {
25247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25249 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 result
= (arg1
)->GetToolMargins();
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25263 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25264 PyObject
*resultobj
= 0;
25265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25269 PyObject
*swig_obj
[1] ;
25271 if (!args
) SWIG_fail
;
25272 swig_obj
[0] = args
;
25273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25274 if (!SWIG_IsOK(res1
)) {
25275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25277 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (arg1
)->GetMargins();
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25291 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25292 PyObject
*resultobj
= 0;
25293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25297 PyObject
*swig_obj
[1] ;
25299 if (!args
) SWIG_fail
;
25300 swig_obj
[0] = args
;
25301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25302 if (!SWIG_IsOK(res1
)) {
25303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25305 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 result
= (int)(arg1
)->GetToolPacking();
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= SWIG_From_int(static_cast< int >(result
));
25319 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25320 PyObject
*resultobj
= 0;
25321 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25325 PyObject
*swig_obj
[1] ;
25327 if (!args
) SWIG_fail
;
25328 swig_obj
[0] = args
;
25329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25330 if (!SWIG_IsOK(res1
)) {
25331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25333 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 result
= (int)(arg1
)->GetToolSeparation();
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_From_int(static_cast< int >(result
));
25347 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
= 0;
25349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25355 PyObject
* obj0
= 0 ;
25356 PyObject
* obj1
= 0 ;
25357 char * kwnames
[] = {
25358 (char *) "self",(char *) "nRows", NULL
25361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25363 if (!SWIG_IsOK(res1
)) {
25364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25366 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25368 if (!SWIG_IsOK(ecode2
)) {
25369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25371 arg2
= static_cast< int >(val2
);
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 (arg1
)->SetRows(arg2
);
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= SWIG_Py_Void();
25385 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25386 PyObject
*resultobj
= 0;
25387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25396 PyObject
* obj0
= 0 ;
25397 PyObject
* obj1
= 0 ;
25398 PyObject
* obj2
= 0 ;
25399 char * kwnames
[] = {
25400 (char *) "self",(char *) "rows",(char *) "cols", NULL
25403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25405 if (!SWIG_IsOK(res1
)) {
25406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25408 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25410 if (!SWIG_IsOK(ecode2
)) {
25411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25413 arg2
= static_cast< int >(val2
);
25414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25415 if (!SWIG_IsOK(ecode3
)) {
25416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25418 arg3
= static_cast< int >(val3
);
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_Py_Void();
25432 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25433 PyObject
*resultobj
= 0;
25434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25438 PyObject
*swig_obj
[1] ;
25440 if (!args
) SWIG_fail
;
25441 swig_obj
[0] = args
;
25442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25443 if (!SWIG_IsOK(res1
)) {
25444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25446 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 result
= (int)(arg1
)->GetMaxRows();
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= SWIG_From_int(static_cast< int >(result
));
25460 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25461 PyObject
*resultobj
= 0;
25462 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25466 PyObject
*swig_obj
[1] ;
25468 if (!args
) SWIG_fail
;
25469 swig_obj
[0] = args
;
25470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25471 if (!SWIG_IsOK(res1
)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25474 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 result
= (int)(arg1
)->GetMaxCols();
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 resultobj
= SWIG_From_int(static_cast< int >(result
));
25488 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
= 0;
25490 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 PyObject
* obj1
= 0 ;
25497 char * kwnames
[] = {
25498 (char *) "self",(char *) "size", NULL
25501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25503 if (!SWIG_IsOK(res1
)) {
25504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25506 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= SWIG_Py_Void();
25524 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25525 PyObject
*resultobj
= 0;
25526 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25530 PyObject
*swig_obj
[1] ;
25532 if (!args
) SWIG_fail
;
25533 swig_obj
[0] = args
;
25534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25535 if (!SWIG_IsOK(res1
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25538 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (arg1
)->GetToolBitmapSize();
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25552 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25553 PyObject
*resultobj
= 0;
25554 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25558 PyObject
*swig_obj
[1] ;
25560 if (!args
) SWIG_fail
;
25561 swig_obj
[0] = args
;
25562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25563 if (!SWIG_IsOK(res1
)) {
25564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25566 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (arg1
)->GetToolSize();
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25580 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
= 0;
25582 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25585 wxToolBarToolBase
*result
= 0 ;
25592 PyObject
* obj0
= 0 ;
25593 PyObject
* obj1
= 0 ;
25594 PyObject
* obj2
= 0 ;
25595 char * kwnames
[] = {
25596 (char *) "self",(char *) "x",(char *) "y", NULL
25599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25601 if (!SWIG_IsOK(res1
)) {
25602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25604 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25606 if (!SWIG_IsOK(ecode2
)) {
25607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25609 arg2
= static_cast< int >(val2
);
25610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25611 if (!SWIG_IsOK(ecode3
)) {
25612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25614 arg3
= static_cast< int >(val3
);
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25618 wxPyEndAllowThreads(__tstate
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25622 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25630 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
= 0;
25632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25634 wxToolBarToolBase
*result
= 0 ;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 char * kwnames
[] = {
25642 (char *) "self",(char *) "toolid", NULL
25645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25647 if (!SWIG_IsOK(res1
)) {
25648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25650 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25652 if (!SWIG_IsOK(ecode2
)) {
25653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25655 arg2
= static_cast< int >(val2
);
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25671 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25672 PyObject
*resultobj
= 0;
25673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25677 PyObject
*swig_obj
[1] ;
25679 if (!args
) SWIG_fail
;
25680 swig_obj
[0] = args
;
25681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25682 if (!SWIG_IsOK(res1
)) {
25683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25685 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 result
= (bool)(arg1
)->IsVertical();
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25701 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25702 PyObject
*resultobj
= 0;
25703 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25707 PyObject
*swig_obj
[1] ;
25709 if (!args
) SWIG_fail
;
25710 swig_obj
[0] = args
;
25711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25712 if (!SWIG_IsOK(res1
)) {
25713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25715 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25729 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25732 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25733 return SWIG_Py_Void();
25736 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
= 0;
25738 wxWindow
*arg1
= (wxWindow
*) 0 ;
25739 int arg2
= (int) -1 ;
25740 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25741 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25742 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25743 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25744 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25745 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25746 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25747 wxToolBar
*result
= 0 ;
25756 bool temp6
= false ;
25757 PyObject
* obj0
= 0 ;
25758 PyObject
* obj1
= 0 ;
25759 PyObject
* obj2
= 0 ;
25760 PyObject
* obj3
= 0 ;
25761 PyObject
* obj4
= 0 ;
25762 PyObject
* obj5
= 0 ;
25763 char * kwnames
[] = {
25764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25769 if (!SWIG_IsOK(res1
)) {
25770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25772 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25775 if (!SWIG_IsOK(ecode2
)) {
25776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25778 arg2
= static_cast< int >(val2
);
25783 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25789 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25793 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25794 if (!SWIG_IsOK(ecode5
)) {
25795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25797 arg5
= static_cast< long >(val5
);
25801 arg6
= wxString_in_helper(obj5
);
25802 if (arg6
== NULL
) SWIG_fail
;
25807 if (!wxPyCheckForApp()) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25828 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25829 PyObject
*resultobj
= 0;
25830 wxToolBar
*result
= 0 ;
25832 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25834 if (!wxPyCheckForApp()) SWIG_fail
;
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 result
= (wxToolBar
*)new wxToolBar();
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25847 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
= 0;
25849 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25850 wxWindow
*arg2
= (wxWindow
*) 0 ;
25851 int arg3
= (int) -1 ;
25852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25854 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25855 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25856 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25857 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25858 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25870 bool temp7
= false ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 PyObject
* obj2
= 0 ;
25874 PyObject
* obj3
= 0 ;
25875 PyObject
* obj4
= 0 ;
25876 PyObject
* obj5
= 0 ;
25877 PyObject
* obj6
= 0 ;
25878 char * kwnames
[] = {
25879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25884 if (!SWIG_IsOK(res1
)) {
25885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25887 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25889 if (!SWIG_IsOK(res2
)) {
25890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25892 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25895 if (!SWIG_IsOK(ecode3
)) {
25896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25898 arg3
= static_cast< int >(val3
);
25903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25909 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25913 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25914 if (!SWIG_IsOK(ecode6
)) {
25915 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25917 arg6
= static_cast< long >(val6
);
25921 arg7
= wxString_in_helper(obj6
);
25922 if (arg7
== NULL
) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25949 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25950 PyObject
*resultobj
= 0;
25951 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25952 SwigValueWrapper
<wxVisualAttributes
> result
;
25955 PyObject
* obj0
= 0 ;
25956 char * kwnames
[] = {
25957 (char *) "variant", NULL
25960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25962 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25963 if (!SWIG_IsOK(ecode1
)) {
25964 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25966 arg1
= static_cast< wxWindowVariant
>(val1
);
25969 if (!wxPyCheckForApp()) SWIG_fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25982 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25985 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25986 return SWIG_Py_Void();
25989 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25990 return SWIG_Python_InitShadowInstance(args
);
25993 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25994 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25999 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26000 PyObject
*pyobj
= 0;
26004 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26006 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26013 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
= 0;
26015 wxColour
const &arg1_defvalue
= wxNullColour
;
26016 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26017 wxColour
const &arg2_defvalue
= wxNullColour
;
26018 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26019 wxFont
const &arg3_defvalue
= wxNullFont
;
26020 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26021 wxListItemAttr
*result
= 0 ;
26026 PyObject
* obj0
= 0 ;
26027 PyObject
* obj1
= 0 ;
26028 PyObject
* obj2
= 0 ;
26029 char * kwnames
[] = {
26030 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26037 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26043 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26047 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26048 if (!SWIG_IsOK(res3
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26054 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26069 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26070 PyObject
*resultobj
= 0;
26071 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26074 PyObject
*swig_obj
[1] ;
26076 if (!args
) SWIG_fail
;
26077 swig_obj
[0] = args
;
26078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26079 if (!SWIG_IsOK(res1
)) {
26080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26082 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 resultobj
= SWIG_Py_Void();
26097 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
= 0;
26099 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26100 wxColour
*arg2
= 0 ;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 char * kwnames
[] = {
26107 (char *) "self",(char *) "colText", NULL
26110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26112 if (!SWIG_IsOK(res1
)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26115 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26118 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_Py_Void();
26133 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
= 0;
26135 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26136 wxColour
*arg2
= 0 ;
26140 PyObject
* obj0
= 0 ;
26141 PyObject
* obj1
= 0 ;
26142 char * kwnames
[] = {
26143 (char *) "self",(char *) "colBack", NULL
26146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26148 if (!SWIG_IsOK(res1
)) {
26149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26151 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26154 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= SWIG_Py_Void();
26169 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
= 0;
26171 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 char * kwnames
[] = {
26180 (char *) "self",(char *) "font", NULL
26183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26185 if (!SWIG_IsOK(res1
)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26188 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26190 if (!SWIG_IsOK(res2
)) {
26191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26196 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 (arg1
)->SetFont((wxFont
const &)*arg2
);
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_Py_Void();
26210 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26211 PyObject
*resultobj
= 0;
26212 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26216 PyObject
*swig_obj
[1] ;
26218 if (!args
) SWIG_fail
;
26219 swig_obj
[0] = args
;
26220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26221 if (!SWIG_IsOK(res1
)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26224 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 result
= (bool)(arg1
)->HasTextColour();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26240 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26241 PyObject
*resultobj
= 0;
26242 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26246 PyObject
*swig_obj
[1] ;
26248 if (!args
) SWIG_fail
;
26249 swig_obj
[0] = args
;
26250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26254 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (bool)(arg1
)->HasBackgroundColour();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26270 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26271 PyObject
*resultobj
= 0;
26272 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26276 PyObject
*swig_obj
[1] ;
26278 if (!args
) SWIG_fail
;
26279 swig_obj
[0] = args
;
26280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26281 if (!SWIG_IsOK(res1
)) {
26282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26284 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (bool)(arg1
)->HasFont();
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26300 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26301 PyObject
*resultobj
= 0;
26302 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26306 PyObject
*swig_obj
[1] ;
26308 if (!args
) SWIG_fail
;
26309 swig_obj
[0] = args
;
26310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26311 if (!SWIG_IsOK(res1
)) {
26312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26314 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 result
= (arg1
)->GetTextColour();
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26328 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26329 PyObject
*resultobj
= 0;
26330 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26334 PyObject
*swig_obj
[1] ;
26336 if (!args
) SWIG_fail
;
26337 swig_obj
[0] = args
;
26338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26339 if (!SWIG_IsOK(res1
)) {
26340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26342 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 result
= (arg1
)->GetBackgroundColour();
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26356 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26357 PyObject
*resultobj
= 0;
26358 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26362 PyObject
*swig_obj
[1] ;
26364 if (!args
) SWIG_fail
;
26365 swig_obj
[0] = args
;
26366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26367 if (!SWIG_IsOK(res1
)) {
26368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26370 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 result
= (arg1
)->GetFont();
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26384 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
= 0;
26386 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26387 wxListItemAttr
*arg2
= 0 ;
26392 PyObject
* obj0
= 0 ;
26393 PyObject
* obj1
= 0 ;
26394 char * kwnames
[] = {
26395 (char *) "self",(char *) "source", NULL
26398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26400 if (!SWIG_IsOK(res1
)) {
26401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26403 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26405 if (!SWIG_IsOK(res2
)) {
26406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26411 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= SWIG_Py_Void();
26425 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26426 PyObject
*resultobj
= 0;
26427 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26430 PyObject
*swig_obj
[1] ;
26432 if (!args
) SWIG_fail
;
26433 swig_obj
[0] = args
;
26434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26435 if (!SWIG_IsOK(res1
)) {
26436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26438 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 wxListItemAttr_Destroy(arg1
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_Py_Void();
26452 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26455 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26456 return SWIG_Py_Void();
26459 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26460 return SWIG_Python_InitShadowInstance(args
);
26463 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26464 PyObject
*resultobj
= 0;
26465 wxListItem
*result
= 0 ;
26467 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 result
= (wxListItem
*)new wxListItem();
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26481 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26482 PyObject
*resultobj
= 0;
26483 wxListItem
*arg1
= (wxListItem
*) 0 ;
26486 PyObject
*swig_obj
[1] ;
26488 if (!args
) SWIG_fail
;
26489 swig_obj
[0] = args
;
26490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26491 if (!SWIG_IsOK(res1
)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26494 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_Py_Void();
26509 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26510 PyObject
*resultobj
= 0;
26511 wxListItem
*arg1
= (wxListItem
*) 0 ;
26514 PyObject
*swig_obj
[1] ;
26516 if (!args
) SWIG_fail
;
26517 swig_obj
[0] = args
;
26518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26519 if (!SWIG_IsOK(res1
)) {
26520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26522 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= SWIG_Py_Void();
26536 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26537 PyObject
*resultobj
= 0;
26538 wxListItem
*arg1
= (wxListItem
*) 0 ;
26541 PyObject
*swig_obj
[1] ;
26543 if (!args
) SWIG_fail
;
26544 swig_obj
[0] = args
;
26545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26546 if (!SWIG_IsOK(res1
)) {
26547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26549 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 (arg1
)->ClearAttributes();
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= SWIG_Py_Void();
26563 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
= 0;
26565 wxListItem
*arg1
= (wxListItem
*) 0 ;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 char * kwnames
[] = {
26574 (char *) "self",(char *) "mask", NULL
26577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26579 if (!SWIG_IsOK(res1
)) {
26580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26582 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26583 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26584 if (!SWIG_IsOK(ecode2
)) {
26585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26587 arg2
= static_cast< long >(val2
);
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 (arg1
)->SetMask(arg2
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_Py_Void();
26601 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
= 0;
26603 wxListItem
*arg1
= (wxListItem
*) 0 ;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 char * kwnames
[] = {
26612 (char *) "self",(char *) "id", NULL
26615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26617 if (!SWIG_IsOK(res1
)) {
26618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26620 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26621 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26622 if (!SWIG_IsOK(ecode2
)) {
26623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26625 arg2
= static_cast< long >(val2
);
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 (arg1
)->SetId(arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_Py_Void();
26639 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
= 0;
26641 wxListItem
*arg1
= (wxListItem
*) 0 ;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 char * kwnames
[] = {
26650 (char *) "self",(char *) "col", NULL
26653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26655 if (!SWIG_IsOK(res1
)) {
26656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26658 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26660 if (!SWIG_IsOK(ecode2
)) {
26661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26663 arg2
= static_cast< int >(val2
);
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 (arg1
)->SetColumn(arg2
);
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26670 resultobj
= SWIG_Py_Void();
26677 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26678 PyObject
*resultobj
= 0;
26679 wxListItem
*arg1
= (wxListItem
*) 0 ;
26685 PyObject
* obj0
= 0 ;
26686 PyObject
* obj1
= 0 ;
26687 char * kwnames
[] = {
26688 (char *) "self",(char *) "state", NULL
26691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26693 if (!SWIG_IsOK(res1
)) {
26694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26696 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26697 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26698 if (!SWIG_IsOK(ecode2
)) {
26699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26701 arg2
= static_cast< long >(val2
);
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 (arg1
)->SetState(arg2
);
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= SWIG_Py_Void();
26715 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26716 PyObject
*resultobj
= 0;
26717 wxListItem
*arg1
= (wxListItem
*) 0 ;
26723 PyObject
* obj0
= 0 ;
26724 PyObject
* obj1
= 0 ;
26725 char * kwnames
[] = {
26726 (char *) "self",(char *) "stateMask", NULL
26729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26731 if (!SWIG_IsOK(res1
)) {
26732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26734 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26735 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26736 if (!SWIG_IsOK(ecode2
)) {
26737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26739 arg2
= static_cast< long >(val2
);
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 (arg1
)->SetStateMask(arg2
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= SWIG_Py_Void();
26753 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
= 0;
26755 wxListItem
*arg1
= (wxListItem
*) 0 ;
26756 wxString
*arg2
= 0 ;
26759 bool temp2
= false ;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 char * kwnames
[] = {
26763 (char *) "self",(char *) "text", NULL
26766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26768 if (!SWIG_IsOK(res1
)) {
26769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26771 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26773 arg2
= wxString_in_helper(obj1
);
26774 if (arg2
== NULL
) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 (arg1
)->SetText((wxString
const &)*arg2
);
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= SWIG_Py_Void();
26798 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
= 0;
26800 wxListItem
*arg1
= (wxListItem
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 char * kwnames
[] = {
26809 (char *) "self",(char *) "image", NULL
26812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26814 if (!SWIG_IsOK(res1
)) {
26815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26817 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26819 if (!SWIG_IsOK(ecode2
)) {
26820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26822 arg2
= static_cast< int >(val2
);
26824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 (arg1
)->SetImage(arg2
);
26826 wxPyEndAllowThreads(__tstate
);
26827 if (PyErr_Occurred()) SWIG_fail
;
26829 resultobj
= SWIG_Py_Void();
26836 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
= 0;
26838 wxListItem
*arg1
= (wxListItem
*) 0 ;
26844 PyObject
* obj0
= 0 ;
26845 PyObject
* obj1
= 0 ;
26846 char * kwnames
[] = {
26847 (char *) "self",(char *) "data", NULL
26850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26852 if (!SWIG_IsOK(res1
)) {
26853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26855 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26856 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26857 if (!SWIG_IsOK(ecode2
)) {
26858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26860 arg2
= static_cast< long >(val2
);
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 (arg1
)->SetData(arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= SWIG_Py_Void();
26874 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
= 0;
26876 wxListItem
*arg1
= (wxListItem
*) 0 ;
26882 PyObject
* obj0
= 0 ;
26883 PyObject
* obj1
= 0 ;
26884 char * kwnames
[] = {
26885 (char *) "self",(char *) "width", NULL
26888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26890 if (!SWIG_IsOK(res1
)) {
26891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26893 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26895 if (!SWIG_IsOK(ecode2
)) {
26896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26898 arg2
= static_cast< int >(val2
);
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 (arg1
)->SetWidth(arg2
);
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26905 resultobj
= SWIG_Py_Void();
26912 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26913 PyObject
*resultobj
= 0;
26914 wxListItem
*arg1
= (wxListItem
*) 0 ;
26915 wxListColumnFormat arg2
;
26920 PyObject
* obj0
= 0 ;
26921 PyObject
* obj1
= 0 ;
26922 char * kwnames
[] = {
26923 (char *) "self",(char *) "align", NULL
26926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26928 if (!SWIG_IsOK(res1
)) {
26929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26931 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26933 if (!SWIG_IsOK(ecode2
)) {
26934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26936 arg2
= static_cast< wxListColumnFormat
>(val2
);
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 (arg1
)->SetAlign(arg2
);
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= SWIG_Py_Void();
26950 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26951 PyObject
*resultobj
= 0;
26952 wxListItem
*arg1
= (wxListItem
*) 0 ;
26953 wxColour
*arg2
= 0 ;
26957 PyObject
* obj0
= 0 ;
26958 PyObject
* obj1
= 0 ;
26959 char * kwnames
[] = {
26960 (char *) "self",(char *) "colText", NULL
26963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26965 if (!SWIG_IsOK(res1
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26968 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26971 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26976 wxPyEndAllowThreads(__tstate
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26979 resultobj
= SWIG_Py_Void();
26986 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
= 0;
26988 wxListItem
*arg1
= (wxListItem
*) 0 ;
26989 wxColour
*arg2
= 0 ;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 char * kwnames
[] = {
26996 (char *) "self",(char *) "colBack", NULL
26999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27001 if (!SWIG_IsOK(res1
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27004 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27007 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 resultobj
= SWIG_Py_Void();
27022 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27023 PyObject
*resultobj
= 0;
27024 wxListItem
*arg1
= (wxListItem
*) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 char * kwnames
[] = {
27033 (char *) "self",(char *) "font", NULL
27036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27038 if (!SWIG_IsOK(res1
)) {
27039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27041 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27043 if (!SWIG_IsOK(res2
)) {
27044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27049 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 (arg1
)->SetFont((wxFont
const &)*arg2
);
27053 wxPyEndAllowThreads(__tstate
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27056 resultobj
= SWIG_Py_Void();
27063 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27064 PyObject
*resultobj
= 0;
27065 wxListItem
*arg1
= (wxListItem
*) 0 ;
27069 PyObject
*swig_obj
[1] ;
27071 if (!args
) SWIG_fail
;
27072 swig_obj
[0] = args
;
27073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27074 if (!SWIG_IsOK(res1
)) {
27075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27077 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 result
= (long)(arg1
)->GetMask();
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 resultobj
= SWIG_From_long(static_cast< long >(result
));
27091 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27092 PyObject
*resultobj
= 0;
27093 wxListItem
*arg1
= (wxListItem
*) 0 ;
27097 PyObject
*swig_obj
[1] ;
27099 if (!args
) SWIG_fail
;
27100 swig_obj
[0] = args
;
27101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27102 if (!SWIG_IsOK(res1
)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27105 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (long)(arg1
)->GetId();
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= SWIG_From_long(static_cast< long >(result
));
27119 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27120 PyObject
*resultobj
= 0;
27121 wxListItem
*arg1
= (wxListItem
*) 0 ;
27125 PyObject
*swig_obj
[1] ;
27127 if (!args
) SWIG_fail
;
27128 swig_obj
[0] = args
;
27129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27130 if (!SWIG_IsOK(res1
)) {
27131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27133 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 result
= (int)(arg1
)->GetColumn();
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27140 resultobj
= SWIG_From_int(static_cast< int >(result
));
27147 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27148 PyObject
*resultobj
= 0;
27149 wxListItem
*arg1
= (wxListItem
*) 0 ;
27153 PyObject
*swig_obj
[1] ;
27155 if (!args
) SWIG_fail
;
27156 swig_obj
[0] = args
;
27157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27158 if (!SWIG_IsOK(res1
)) {
27159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27161 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 result
= (long)(arg1
)->GetState();
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27168 resultobj
= SWIG_From_long(static_cast< long >(result
));
27175 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27176 PyObject
*resultobj
= 0;
27177 wxListItem
*arg1
= (wxListItem
*) 0 ;
27178 wxString
*result
= 0 ;
27181 PyObject
*swig_obj
[1] ;
27183 if (!args
) SWIG_fail
;
27184 swig_obj
[0] = args
;
27185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27186 if (!SWIG_IsOK(res1
)) {
27187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27189 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 wxString
const &_result_ref
= (arg1
)->GetText();
27194 result
= (wxString
*) &_result_ref
;
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27201 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27203 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27212 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27213 PyObject
*resultobj
= 0;
27214 wxListItem
*arg1
= (wxListItem
*) 0 ;
27218 PyObject
*swig_obj
[1] ;
27220 if (!args
) SWIG_fail
;
27221 swig_obj
[0] = args
;
27222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27223 if (!SWIG_IsOK(res1
)) {
27224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27226 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 result
= (int)(arg1
)->GetImage();
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= SWIG_From_int(static_cast< int >(result
));
27240 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27241 PyObject
*resultobj
= 0;
27242 wxListItem
*arg1
= (wxListItem
*) 0 ;
27246 PyObject
*swig_obj
[1] ;
27248 if (!args
) SWIG_fail
;
27249 swig_obj
[0] = args
;
27250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27251 if (!SWIG_IsOK(res1
)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27254 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 result
= (long)(arg1
)->GetData();
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 resultobj
= SWIG_From_long(static_cast< long >(result
));
27268 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27269 PyObject
*resultobj
= 0;
27270 wxListItem
*arg1
= (wxListItem
*) 0 ;
27274 PyObject
*swig_obj
[1] ;
27276 if (!args
) SWIG_fail
;
27277 swig_obj
[0] = args
;
27278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27279 if (!SWIG_IsOK(res1
)) {
27280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27282 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27285 result
= (int)(arg1
)->GetWidth();
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 resultobj
= SWIG_From_int(static_cast< int >(result
));
27296 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27297 PyObject
*resultobj
= 0;
27298 wxListItem
*arg1
= (wxListItem
*) 0 ;
27299 wxListColumnFormat result
;
27302 PyObject
*swig_obj
[1] ;
27304 if (!args
) SWIG_fail
;
27305 swig_obj
[0] = args
;
27306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27307 if (!SWIG_IsOK(res1
)) {
27308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27310 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= SWIG_From_int(static_cast< int >(result
));
27324 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 PyObject
*resultobj
= 0;
27326 wxListItem
*arg1
= (wxListItem
*) 0 ;
27327 wxListItemAttr
*result
= 0 ;
27330 PyObject
*swig_obj
[1] ;
27332 if (!args
) SWIG_fail
;
27333 swig_obj
[0] = args
;
27334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27338 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27352 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27353 PyObject
*resultobj
= 0;
27354 wxListItem
*arg1
= (wxListItem
*) 0 ;
27358 PyObject
*swig_obj
[1] ;
27360 if (!args
) SWIG_fail
;
27361 swig_obj
[0] = args
;
27362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27363 if (!SWIG_IsOK(res1
)) {
27364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27366 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 result
= (bool)(arg1
)->HasAttributes();
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27382 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27383 PyObject
*resultobj
= 0;
27384 wxListItem
*arg1
= (wxListItem
*) 0 ;
27388 PyObject
*swig_obj
[1] ;
27390 if (!args
) SWIG_fail
;
27391 swig_obj
[0] = args
;
27392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27393 if (!SWIG_IsOK(res1
)) {
27394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27396 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27399 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27410 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27411 PyObject
*resultobj
= 0;
27412 wxListItem
*arg1
= (wxListItem
*) 0 ;
27416 PyObject
*swig_obj
[1] ;
27418 if (!args
) SWIG_fail
;
27419 swig_obj
[0] = args
;
27420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27421 if (!SWIG_IsOK(res1
)) {
27422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27424 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27438 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27439 PyObject
*resultobj
= 0;
27440 wxListItem
*arg1
= (wxListItem
*) 0 ;
27444 PyObject
*swig_obj
[1] ;
27446 if (!args
) SWIG_fail
;
27447 swig_obj
[0] = args
;
27448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27449 if (!SWIG_IsOK(res1
)) {
27450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27452 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27455 result
= ((wxListItem
const *)arg1
)->GetFont();
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27459 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27466 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27467 PyObject
*resultobj
= 0;
27468 wxListItem
*arg1
= (wxListItem
*) 0 ;
27474 PyObject
*swig_obj
[2] ;
27476 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27481 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27482 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27483 if (!SWIG_IsOK(ecode2
)) {
27484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27486 arg2
= static_cast< long >(val2
);
27487 if (arg1
) (arg1
)->m_mask
= arg2
;
27489 resultobj
= SWIG_Py_Void();
27496 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27497 PyObject
*resultobj
= 0;
27498 wxListItem
*arg1
= (wxListItem
*) 0 ;
27502 PyObject
*swig_obj
[1] ;
27504 if (!args
) SWIG_fail
;
27505 swig_obj
[0] = args
;
27506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27507 if (!SWIG_IsOK(res1
)) {
27508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27510 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27511 result
= (long) ((arg1
)->m_mask
);
27512 resultobj
= SWIG_From_long(static_cast< long >(result
));
27519 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27520 PyObject
*resultobj
= 0;
27521 wxListItem
*arg1
= (wxListItem
*) 0 ;
27527 PyObject
*swig_obj
[2] ;
27529 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27531 if (!SWIG_IsOK(res1
)) {
27532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27534 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27535 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27536 if (!SWIG_IsOK(ecode2
)) {
27537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27539 arg2
= static_cast< long >(val2
);
27540 if (arg1
) (arg1
)->m_itemId
= arg2
;
27542 resultobj
= SWIG_Py_Void();
27549 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27550 PyObject
*resultobj
= 0;
27551 wxListItem
*arg1
= (wxListItem
*) 0 ;
27555 PyObject
*swig_obj
[1] ;
27557 if (!args
) SWIG_fail
;
27558 swig_obj
[0] = args
;
27559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27560 if (!SWIG_IsOK(res1
)) {
27561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27563 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27564 result
= (long) ((arg1
)->m_itemId
);
27565 resultobj
= SWIG_From_long(static_cast< long >(result
));
27572 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27573 PyObject
*resultobj
= 0;
27574 wxListItem
*arg1
= (wxListItem
*) 0 ;
27580 PyObject
*swig_obj
[2] ;
27582 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27584 if (!SWIG_IsOK(res1
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27587 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27588 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27589 if (!SWIG_IsOK(ecode2
)) {
27590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27592 arg2
= static_cast< int >(val2
);
27593 if (arg1
) (arg1
)->m_col
= arg2
;
27595 resultobj
= SWIG_Py_Void();
27602 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27603 PyObject
*resultobj
= 0;
27604 wxListItem
*arg1
= (wxListItem
*) 0 ;
27608 PyObject
*swig_obj
[1] ;
27610 if (!args
) SWIG_fail
;
27611 swig_obj
[0] = args
;
27612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27613 if (!SWIG_IsOK(res1
)) {
27614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27616 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27617 result
= (int) ((arg1
)->m_col
);
27618 resultobj
= SWIG_From_int(static_cast< int >(result
));
27625 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27626 PyObject
*resultobj
= 0;
27627 wxListItem
*arg1
= (wxListItem
*) 0 ;
27633 PyObject
*swig_obj
[2] ;
27635 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27637 if (!SWIG_IsOK(res1
)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27640 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27641 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27642 if (!SWIG_IsOK(ecode2
)) {
27643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27645 arg2
= static_cast< long >(val2
);
27646 if (arg1
) (arg1
)->m_state
= arg2
;
27648 resultobj
= SWIG_Py_Void();
27655 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27656 PyObject
*resultobj
= 0;
27657 wxListItem
*arg1
= (wxListItem
*) 0 ;
27661 PyObject
*swig_obj
[1] ;
27663 if (!args
) SWIG_fail
;
27664 swig_obj
[0] = args
;
27665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27669 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27670 result
= (long) ((arg1
)->m_state
);
27671 resultobj
= SWIG_From_long(static_cast< long >(result
));
27678 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27679 PyObject
*resultobj
= 0;
27680 wxListItem
*arg1
= (wxListItem
*) 0 ;
27686 PyObject
*swig_obj
[2] ;
27688 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27690 if (!SWIG_IsOK(res1
)) {
27691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27693 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27694 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27695 if (!SWIG_IsOK(ecode2
)) {
27696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27698 arg2
= static_cast< long >(val2
);
27699 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27701 resultobj
= SWIG_Py_Void();
27708 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27709 PyObject
*resultobj
= 0;
27710 wxListItem
*arg1
= (wxListItem
*) 0 ;
27714 PyObject
*swig_obj
[1] ;
27716 if (!args
) SWIG_fail
;
27717 swig_obj
[0] = args
;
27718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27719 if (!SWIG_IsOK(res1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27722 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27723 result
= (long) ((arg1
)->m_stateMask
);
27724 resultobj
= SWIG_From_long(static_cast< long >(result
));
27731 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27732 PyObject
*resultobj
= 0;
27733 wxListItem
*arg1
= (wxListItem
*) 0 ;
27734 wxString
*arg2
= (wxString
*) 0 ;
27737 bool temp2
= false ;
27738 PyObject
*swig_obj
[2] ;
27740 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27742 if (!SWIG_IsOK(res1
)) {
27743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27745 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27747 arg2
= wxString_in_helper(swig_obj
[1]);
27748 if (arg2
== NULL
) SWIG_fail
;
27751 if (arg1
) (arg1
)->m_text
= *arg2
;
27753 resultobj
= SWIG_Py_Void();
27768 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27769 PyObject
*resultobj
= 0;
27770 wxListItem
*arg1
= (wxListItem
*) 0 ;
27771 wxString
*result
= 0 ;
27774 PyObject
*swig_obj
[1] ;
27776 if (!args
) SWIG_fail
;
27777 swig_obj
[0] = args
;
27778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27779 if (!SWIG_IsOK(res1
)) {
27780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27782 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27783 result
= (wxString
*)& ((arg1
)->m_text
);
27786 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27788 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27797 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27798 PyObject
*resultobj
= 0;
27799 wxListItem
*arg1
= (wxListItem
*) 0 ;
27805 PyObject
*swig_obj
[2] ;
27807 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27809 if (!SWIG_IsOK(res1
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27812 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27813 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27814 if (!SWIG_IsOK(ecode2
)) {
27815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27817 arg2
= static_cast< int >(val2
);
27818 if (arg1
) (arg1
)->m_image
= arg2
;
27820 resultobj
= SWIG_Py_Void();
27827 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27828 PyObject
*resultobj
= 0;
27829 wxListItem
*arg1
= (wxListItem
*) 0 ;
27833 PyObject
*swig_obj
[1] ;
27835 if (!args
) SWIG_fail
;
27836 swig_obj
[0] = args
;
27837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27838 if (!SWIG_IsOK(res1
)) {
27839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27841 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27842 result
= (int) ((arg1
)->m_image
);
27843 resultobj
= SWIG_From_int(static_cast< int >(result
));
27850 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27851 PyObject
*resultobj
= 0;
27852 wxListItem
*arg1
= (wxListItem
*) 0 ;
27858 PyObject
*swig_obj
[2] ;
27860 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27862 if (!SWIG_IsOK(res1
)) {
27863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27865 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27866 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27867 if (!SWIG_IsOK(ecode2
)) {
27868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27870 arg2
= static_cast< long >(val2
);
27871 if (arg1
) (arg1
)->m_data
= arg2
;
27873 resultobj
= SWIG_Py_Void();
27880 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27881 PyObject
*resultobj
= 0;
27882 wxListItem
*arg1
= (wxListItem
*) 0 ;
27886 PyObject
*swig_obj
[1] ;
27888 if (!args
) SWIG_fail
;
27889 swig_obj
[0] = args
;
27890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27891 if (!SWIG_IsOK(res1
)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27894 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27895 result
= (long) ((arg1
)->m_data
);
27896 resultobj
= SWIG_From_long(static_cast< long >(result
));
27903 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27904 PyObject
*resultobj
= 0;
27905 wxListItem
*arg1
= (wxListItem
*) 0 ;
27911 PyObject
*swig_obj
[2] ;
27913 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27918 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27919 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27920 if (!SWIG_IsOK(ecode2
)) {
27921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27923 arg2
= static_cast< int >(val2
);
27924 if (arg1
) (arg1
)->m_format
= arg2
;
27926 resultobj
= SWIG_Py_Void();
27933 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27934 PyObject
*resultobj
= 0;
27935 wxListItem
*arg1
= (wxListItem
*) 0 ;
27939 PyObject
*swig_obj
[1] ;
27941 if (!args
) SWIG_fail
;
27942 swig_obj
[0] = args
;
27943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27944 if (!SWIG_IsOK(res1
)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27947 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27948 result
= (int) ((arg1
)->m_format
);
27949 resultobj
= SWIG_From_int(static_cast< int >(result
));
27956 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27957 PyObject
*resultobj
= 0;
27958 wxListItem
*arg1
= (wxListItem
*) 0 ;
27964 PyObject
*swig_obj
[2] ;
27966 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27968 if (!SWIG_IsOK(res1
)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27971 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27972 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27973 if (!SWIG_IsOK(ecode2
)) {
27974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27976 arg2
= static_cast< int >(val2
);
27977 if (arg1
) (arg1
)->m_width
= arg2
;
27979 resultobj
= SWIG_Py_Void();
27986 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27987 PyObject
*resultobj
= 0;
27988 wxListItem
*arg1
= (wxListItem
*) 0 ;
27992 PyObject
*swig_obj
[1] ;
27994 if (!args
) SWIG_fail
;
27995 swig_obj
[0] = args
;
27996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27997 if (!SWIG_IsOK(res1
)) {
27998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28000 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28001 result
= (int) ((arg1
)->m_width
);
28002 resultobj
= SWIG_From_int(static_cast< int >(result
));
28009 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28012 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28013 return SWIG_Py_Void();
28016 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28017 return SWIG_Python_InitShadowInstance(args
);
28020 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28021 PyObject
*resultobj
= 0;
28022 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28023 int arg2
= (int) 0 ;
28024 wxListEvent
*result
= 0 ;
28029 PyObject
* obj0
= 0 ;
28030 PyObject
* obj1
= 0 ;
28031 char * kwnames
[] = {
28032 (char *) "commandType",(char *) "id", NULL
28035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28037 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28038 if (!SWIG_IsOK(ecode1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28041 arg1
= static_cast< wxEventType
>(val1
);
28044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28045 if (!SWIG_IsOK(ecode2
)) {
28046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28048 arg2
= static_cast< int >(val2
);
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28063 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28064 PyObject
*resultobj
= 0;
28065 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28071 PyObject
*swig_obj
[2] ;
28073 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28078 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28079 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28080 if (!SWIG_IsOK(ecode2
)) {
28081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28083 arg2
= static_cast< int >(val2
);
28084 if (arg1
) (arg1
)->m_code
= arg2
;
28086 resultobj
= SWIG_Py_Void();
28093 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28094 PyObject
*resultobj
= 0;
28095 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28099 PyObject
*swig_obj
[1] ;
28101 if (!args
) SWIG_fail
;
28102 swig_obj
[0] = args
;
28103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28104 if (!SWIG_IsOK(res1
)) {
28105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28107 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28108 result
= (int) ((arg1
)->m_code
);
28109 resultobj
= SWIG_From_int(static_cast< int >(result
));
28116 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28117 PyObject
*resultobj
= 0;
28118 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28124 PyObject
*swig_obj
[2] ;
28126 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28128 if (!SWIG_IsOK(res1
)) {
28129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28131 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28132 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28133 if (!SWIG_IsOK(ecode2
)) {
28134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28136 arg2
= static_cast< long >(val2
);
28137 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28139 resultobj
= SWIG_Py_Void();
28146 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28147 PyObject
*resultobj
= 0;
28148 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28152 PyObject
*swig_obj
[1] ;
28154 if (!args
) SWIG_fail
;
28155 swig_obj
[0] = args
;
28156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28157 if (!SWIG_IsOK(res1
)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28160 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28161 result
= (long) ((arg1
)->m_oldItemIndex
);
28162 resultobj
= SWIG_From_long(static_cast< long >(result
));
28169 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28170 PyObject
*resultobj
= 0;
28171 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28177 PyObject
*swig_obj
[2] ;
28179 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28181 if (!SWIG_IsOK(res1
)) {
28182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28184 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28185 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28186 if (!SWIG_IsOK(ecode2
)) {
28187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28189 arg2
= static_cast< long >(val2
);
28190 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28192 resultobj
= SWIG_Py_Void();
28199 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28200 PyObject
*resultobj
= 0;
28201 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28205 PyObject
*swig_obj
[1] ;
28207 if (!args
) SWIG_fail
;
28208 swig_obj
[0] = args
;
28209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28210 if (!SWIG_IsOK(res1
)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28213 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28214 result
= (long) ((arg1
)->m_itemIndex
);
28215 resultobj
= SWIG_From_long(static_cast< long >(result
));
28222 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28223 PyObject
*resultobj
= 0;
28224 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28230 PyObject
*swig_obj
[2] ;
28232 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28234 if (!SWIG_IsOK(res1
)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28237 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28238 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28239 if (!SWIG_IsOK(ecode2
)) {
28240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28242 arg2
= static_cast< int >(val2
);
28243 if (arg1
) (arg1
)->m_col
= arg2
;
28245 resultobj
= SWIG_Py_Void();
28252 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28253 PyObject
*resultobj
= 0;
28254 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28258 PyObject
*swig_obj
[1] ;
28260 if (!args
) SWIG_fail
;
28261 swig_obj
[0] = args
;
28262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28263 if (!SWIG_IsOK(res1
)) {
28264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28266 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28267 result
= (int) ((arg1
)->m_col
);
28268 resultobj
= SWIG_From_int(static_cast< int >(result
));
28275 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28276 PyObject
*resultobj
= 0;
28277 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28278 wxPoint
*arg2
= (wxPoint
*) 0 ;
28283 PyObject
*swig_obj
[2] ;
28285 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28287 if (!SWIG_IsOK(res1
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28290 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28291 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28292 if (!SWIG_IsOK(res2
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28295 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28296 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28298 resultobj
= SWIG_Py_Void();
28305 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28306 PyObject
*resultobj
= 0;
28307 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28308 wxPoint
*result
= 0 ;
28311 PyObject
*swig_obj
[1] ;
28313 if (!args
) SWIG_fail
;
28314 swig_obj
[0] = args
;
28315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28316 if (!SWIG_IsOK(res1
)) {
28317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28319 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28320 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28328 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28329 PyObject
*resultobj
= 0;
28330 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28331 wxListItem
*result
= 0 ;
28334 PyObject
*swig_obj
[1] ;
28336 if (!args
) SWIG_fail
;
28337 swig_obj
[0] = args
;
28338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28339 if (!SWIG_IsOK(res1
)) {
28340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28342 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28343 result
= (wxListItem
*)& ((arg1
)->m_item
);
28345 resultobj
= wxPyMake_wxObject(result
, 0);
28353 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28354 PyObject
*resultobj
= 0;
28355 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28359 PyObject
*swig_obj
[1] ;
28361 if (!args
) SWIG_fail
;
28362 swig_obj
[0] = args
;
28363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28364 if (!SWIG_IsOK(res1
)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28367 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28370 result
= (int)(arg1
)->GetKeyCode();
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_From_int(static_cast< int >(result
));
28381 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28382 PyObject
*resultobj
= 0;
28383 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28387 PyObject
*swig_obj
[1] ;
28389 if (!args
) SWIG_fail
;
28390 swig_obj
[0] = args
;
28391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28392 if (!SWIG_IsOK(res1
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28395 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (long)(arg1
)->GetIndex();
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= SWIG_From_long(static_cast< long >(result
));
28409 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 PyObject
*resultobj
= 0;
28411 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28415 PyObject
*swig_obj
[1] ;
28417 if (!args
) SWIG_fail
;
28418 swig_obj
[0] = args
;
28419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28423 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (int)(arg1
)->GetColumn();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_From_int(static_cast< int >(result
));
28437 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28438 PyObject
*resultobj
= 0;
28439 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28443 PyObject
*swig_obj
[1] ;
28445 if (!args
) SWIG_fail
;
28446 swig_obj
[0] = args
;
28447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28448 if (!SWIG_IsOK(res1
)) {
28449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28451 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 result
= (arg1
)->GetPoint();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28465 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28466 PyObject
*resultobj
= 0;
28467 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28468 wxString
*result
= 0 ;
28471 PyObject
*swig_obj
[1] ;
28473 if (!args
) SWIG_fail
;
28474 swig_obj
[0] = args
;
28475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28476 if (!SWIG_IsOK(res1
)) {
28477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28479 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 wxString
const &_result_ref
= (arg1
)->GetLabel();
28484 result
= (wxString
*) &_result_ref
;
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28493 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28502 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28503 PyObject
*resultobj
= 0;
28504 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28505 wxString
*result
= 0 ;
28508 PyObject
*swig_obj
[1] ;
28510 if (!args
) SWIG_fail
;
28511 swig_obj
[0] = args
;
28512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28513 if (!SWIG_IsOK(res1
)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28516 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 wxString
const &_result_ref
= (arg1
)->GetText();
28521 result
= (wxString
*) &_result_ref
;
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28530 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28539 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28540 PyObject
*resultobj
= 0;
28541 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28545 PyObject
*swig_obj
[1] ;
28547 if (!args
) SWIG_fail
;
28548 swig_obj
[0] = args
;
28549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28550 if (!SWIG_IsOK(res1
)) {
28551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28553 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 result
= (int)(arg1
)->GetImage();
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28560 resultobj
= SWIG_From_int(static_cast< int >(result
));
28567 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28568 PyObject
*resultobj
= 0;
28569 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28573 PyObject
*swig_obj
[1] ;
28575 if (!args
) SWIG_fail
;
28576 swig_obj
[0] = args
;
28577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28578 if (!SWIG_IsOK(res1
)) {
28579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28581 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28584 result
= (long)(arg1
)->GetData();
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= SWIG_From_long(static_cast< long >(result
));
28595 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28596 PyObject
*resultobj
= 0;
28597 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28601 PyObject
*swig_obj
[1] ;
28603 if (!args
) SWIG_fail
;
28604 swig_obj
[0] = args
;
28605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28606 if (!SWIG_IsOK(res1
)) {
28607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28609 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 result
= (long)(arg1
)->GetMask();
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= SWIG_From_long(static_cast< long >(result
));
28623 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28624 PyObject
*resultobj
= 0;
28625 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28626 wxListItem
*result
= 0 ;
28629 PyObject
*swig_obj
[1] ;
28631 if (!args
) SWIG_fail
;
28632 swig_obj
[0] = args
;
28633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28634 if (!SWIG_IsOK(res1
)) {
28635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28637 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28642 result
= (wxListItem
*) &_result_ref
;
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28654 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28655 PyObject
*resultobj
= 0;
28656 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28660 PyObject
*swig_obj
[1] ;
28662 if (!args
) SWIG_fail
;
28663 swig_obj
[0] = args
;
28664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28665 if (!SWIG_IsOK(res1
)) {
28666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28668 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28671 result
= (long)(arg1
)->GetCacheFrom();
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= SWIG_From_long(static_cast< long >(result
));
28682 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28683 PyObject
*resultobj
= 0;
28684 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28688 PyObject
*swig_obj
[1] ;
28690 if (!args
) SWIG_fail
;
28691 swig_obj
[0] = args
;
28692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28693 if (!SWIG_IsOK(res1
)) {
28694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28696 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28699 result
= (long)(arg1
)->GetCacheTo();
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= SWIG_From_long(static_cast< long >(result
));
28710 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28711 PyObject
*resultobj
= 0;
28712 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28716 PyObject
*swig_obj
[1] ;
28718 if (!args
) SWIG_fail
;
28719 swig_obj
[0] = args
;
28720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28721 if (!SWIG_IsOK(res1
)) {
28722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28724 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28740 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
= 0;
28742 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28748 PyObject
* obj0
= 0 ;
28749 PyObject
* obj1
= 0 ;
28750 char * kwnames
[] = {
28751 (char *) "self",(char *) "editCancelled", NULL
28754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28756 if (!SWIG_IsOK(res1
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28759 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28760 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28761 if (!SWIG_IsOK(ecode2
)) {
28762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28764 arg2
= static_cast< bool >(val2
);
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 (arg1
)->SetEditCanceled(arg2
);
28768 wxPyEndAllowThreads(__tstate
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28771 resultobj
= SWIG_Py_Void();
28778 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28781 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28782 return SWIG_Py_Void();
28785 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28786 return SWIG_Python_InitShadowInstance(args
);
28789 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
= 0;
28791 wxWindow
*arg1
= (wxWindow
*) 0 ;
28792 int arg2
= (int) -1 ;
28793 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28794 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28795 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28796 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28797 long arg5
= (long) wxLC_ICON
;
28798 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28799 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28800 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28801 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28802 wxPyListCtrl
*result
= 0 ;
28813 bool temp7
= false ;
28814 PyObject
* obj0
= 0 ;
28815 PyObject
* obj1
= 0 ;
28816 PyObject
* obj2
= 0 ;
28817 PyObject
* obj3
= 0 ;
28818 PyObject
* obj4
= 0 ;
28819 PyObject
* obj5
= 0 ;
28820 PyObject
* obj6
= 0 ;
28821 char * kwnames
[] = {
28822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28827 if (!SWIG_IsOK(res1
)) {
28828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28830 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28833 if (!SWIG_IsOK(ecode2
)) {
28834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28836 arg2
= static_cast< int >(val2
);
28841 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28847 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28851 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28852 if (!SWIG_IsOK(ecode5
)) {
28853 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28855 arg5
= static_cast< long >(val5
);
28858 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28859 if (!SWIG_IsOK(res6
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28865 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28869 arg7
= wxString_in_helper(obj6
);
28870 if (arg7
== NULL
) SWIG_fail
;
28875 if (!wxPyCheckForApp()) SWIG_fail
;
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28896 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28897 PyObject
*resultobj
= 0;
28898 wxPyListCtrl
*result
= 0 ;
28900 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28902 if (!wxPyCheckForApp()) SWIG_fail
;
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28915 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
= 0;
28917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28918 wxWindow
*arg2
= (wxWindow
*) 0 ;
28919 int arg3
= (int) -1 ;
28920 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28921 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28922 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28923 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28924 long arg6
= (long) wxLC_ICON
;
28925 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28926 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28927 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28928 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28942 bool temp8
= false ;
28943 PyObject
* obj0
= 0 ;
28944 PyObject
* obj1
= 0 ;
28945 PyObject
* obj2
= 0 ;
28946 PyObject
* obj3
= 0 ;
28947 PyObject
* obj4
= 0 ;
28948 PyObject
* obj5
= 0 ;
28949 PyObject
* obj6
= 0 ;
28950 PyObject
* obj7
= 0 ;
28951 char * kwnames
[] = {
28952 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28957 if (!SWIG_IsOK(res1
)) {
28958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28960 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28962 if (!SWIG_IsOK(res2
)) {
28963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28965 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28968 if (!SWIG_IsOK(ecode3
)) {
28969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28971 arg3
= static_cast< int >(val3
);
28976 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28982 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28986 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28987 if (!SWIG_IsOK(ecode6
)) {
28988 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28990 arg6
= static_cast< long >(val6
);
28993 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28994 if (!SWIG_IsOK(res7
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29000 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29004 arg8
= wxString_in_helper(obj7
);
29005 if (arg8
== NULL
) SWIG_fail
;
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29012 wxPyEndAllowThreads(__tstate
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29032 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
= 0;
29034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29035 PyObject
*arg2
= (PyObject
*) 0 ;
29036 PyObject
*arg3
= (PyObject
*) 0 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 PyObject
* obj2
= 0 ;
29042 char * kwnames
[] = {
29043 (char *) "self",(char *) "self",(char *) "_class", NULL
29046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29048 if (!SWIG_IsOK(res1
)) {
29049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29051 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29056 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 resultobj
= SWIG_Py_Void();
29067 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
= 0;
29069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29071 wxListItem
*result
= 0 ;
29076 PyObject
* obj0
= 0 ;
29077 PyObject
* obj1
= 0 ;
29078 char * kwnames
[] = {
29079 (char *) "self",(char *) "col", NULL
29082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29084 if (!SWIG_IsOK(res1
)) {
29085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29087 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29089 if (!SWIG_IsOK(ecode2
)) {
29090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29092 arg2
= static_cast< int >(val2
);
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29100 resultobj
= wxPyMake_wxObject(result
, 0);
29108 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
= 0;
29110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29112 wxListItem
*arg3
= 0 ;
29120 PyObject
* obj0
= 0 ;
29121 PyObject
* obj1
= 0 ;
29122 PyObject
* obj2
= 0 ;
29123 char * kwnames
[] = {
29124 (char *) "self",(char *) "col",(char *) "item", NULL
29127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29129 if (!SWIG_IsOK(res1
)) {
29130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29132 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29134 if (!SWIG_IsOK(ecode2
)) {
29135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29137 arg2
= static_cast< int >(val2
);
29138 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29139 if (!SWIG_IsOK(res3
)) {
29140 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29145 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29161 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
= 0;
29163 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29170 PyObject
* obj0
= 0 ;
29171 PyObject
* obj1
= 0 ;
29172 char * kwnames
[] = {
29173 (char *) "self",(char *) "col", NULL
29176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29178 if (!SWIG_IsOK(res1
)) {
29179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29181 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29183 if (!SWIG_IsOK(ecode2
)) {
29184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29186 arg2
= static_cast< int >(val2
);
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29189 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29193 resultobj
= SWIG_From_int(static_cast< int >(result
));
29200 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29201 PyObject
*resultobj
= 0;
29202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29212 PyObject
* obj0
= 0 ;
29213 PyObject
* obj1
= 0 ;
29214 PyObject
* obj2
= 0 ;
29215 char * kwnames
[] = {
29216 (char *) "self",(char *) "col",(char *) "width", NULL
29219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29221 if (!SWIG_IsOK(res1
)) {
29222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29224 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29226 if (!SWIG_IsOK(ecode2
)) {
29227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29229 arg2
= static_cast< int >(val2
);
29230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29231 if (!SWIG_IsOK(ecode3
)) {
29232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29234 arg3
= static_cast< int >(val3
);
29236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29237 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29250 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29251 PyObject
*resultobj
= 0;
29252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29256 PyObject
*swig_obj
[1] ;
29258 if (!args
) SWIG_fail
;
29259 swig_obj
[0] = args
;
29260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29261 if (!SWIG_IsOK(res1
)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29264 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 resultobj
= SWIG_From_int(static_cast< int >(result
));
29278 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29279 PyObject
*resultobj
= 0;
29280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29284 PyObject
*swig_obj
[1] ;
29286 if (!args
) SWIG_fail
;
29287 swig_obj
[0] = args
;
29288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29289 if (!SWIG_IsOK(res1
)) {
29290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29292 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29295 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29306 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29307 PyObject
*resultobj
= 0;
29308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29309 wxTextCtrl
*result
= 0 ;
29312 PyObject
*swig_obj
[1] ;
29314 if (!args
) SWIG_fail
;
29315 swig_obj
[0] = args
;
29316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29317 if (!SWIG_IsOK(res1
)) {
29318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29320 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29323 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= wxPyMake_wxObject(result
, 0);
29336 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
= 0;
29338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29340 int arg3
= (int) 0 ;
29341 wxListItem
*result
= 0 ;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 PyObject
* obj2
= 0 ;
29351 char * kwnames
[] = {
29352 (char *) "self",(char *) "itemId",(char *) "col", NULL
29355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29357 if (!SWIG_IsOK(res1
)) {
29358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29360 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29361 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29362 if (!SWIG_IsOK(ecode2
)) {
29363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29365 arg2
= static_cast< long >(val2
);
29367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29368 if (!SWIG_IsOK(ecode3
)) {
29369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29371 arg3
= static_cast< int >(val3
);
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= wxPyMake_wxObject(result
, 0);
29388 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
= 0;
29390 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29391 wxListItem
*arg2
= 0 ;
29397 PyObject
* obj0
= 0 ;
29398 PyObject
* obj1
= 0 ;
29399 char * kwnames
[] = {
29400 (char *) "self",(char *) "info", NULL
29403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29405 if (!SWIG_IsOK(res1
)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29408 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29410 if (!SWIG_IsOK(res2
)) {
29411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29416 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 result
= (bool)(arg1
)->SetItem(*arg2
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29432 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
= 0;
29434 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29437 wxString
*arg4
= 0 ;
29438 int arg5
= (int) -1 ;
29446 bool temp4
= false ;
29449 PyObject
* obj0
= 0 ;
29450 PyObject
* obj1
= 0 ;
29451 PyObject
* obj2
= 0 ;
29452 PyObject
* obj3
= 0 ;
29453 PyObject
* obj4
= 0 ;
29454 char * kwnames
[] = {
29455 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29460 if (!SWIG_IsOK(res1
)) {
29461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29463 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29464 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29465 if (!SWIG_IsOK(ecode2
)) {
29466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29468 arg2
= static_cast< long >(val2
);
29469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29470 if (!SWIG_IsOK(ecode3
)) {
29471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29473 arg3
= static_cast< int >(val3
);
29475 arg4
= wxString_in_helper(obj3
);
29476 if (arg4
== NULL
) SWIG_fail
;
29480 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29481 if (!SWIG_IsOK(ecode5
)) {
29482 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29484 arg5
= static_cast< int >(val5
);
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= SWIG_From_long(static_cast< long >(result
));
29507 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29508 PyObject
*resultobj
= 0;
29509 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29519 PyObject
* obj0
= 0 ;
29520 PyObject
* obj1
= 0 ;
29521 PyObject
* obj2
= 0 ;
29522 char * kwnames
[] = {
29523 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29528 if (!SWIG_IsOK(res1
)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29531 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29532 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29533 if (!SWIG_IsOK(ecode2
)) {
29534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29536 arg2
= static_cast< long >(val2
);
29537 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29538 if (!SWIG_IsOK(ecode3
)) {
29539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29541 arg3
= static_cast< long >(val3
);
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= SWIG_From_int(static_cast< int >(result
));
29555 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
= 0;
29557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29570 PyObject
* obj0
= 0 ;
29571 PyObject
* obj1
= 0 ;
29572 PyObject
* obj2
= 0 ;
29573 PyObject
* obj3
= 0 ;
29574 char * kwnames
[] = {
29575 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29580 if (!SWIG_IsOK(res1
)) {
29581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29583 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29585 if (!SWIG_IsOK(ecode2
)) {
29586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29588 arg2
= static_cast< long >(val2
);
29589 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29590 if (!SWIG_IsOK(ecode3
)) {
29591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29593 arg3
= static_cast< long >(val3
);
29594 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29595 if (!SWIG_IsOK(ecode4
)) {
29596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29598 arg4
= static_cast< long >(val4
);
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29614 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29615 PyObject
*resultobj
= 0;
29616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29619 int arg4
= (int) -1 ;
29629 PyObject
* obj0
= 0 ;
29630 PyObject
* obj1
= 0 ;
29631 PyObject
* obj2
= 0 ;
29632 PyObject
* obj3
= 0 ;
29633 char * kwnames
[] = {
29634 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29639 if (!SWIG_IsOK(res1
)) {
29640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29642 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29643 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29644 if (!SWIG_IsOK(ecode2
)) {
29645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29647 arg2
= static_cast< long >(val2
);
29648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29649 if (!SWIG_IsOK(ecode3
)) {
29650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29652 arg3
= static_cast< int >(val3
);
29654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29655 if (!SWIG_IsOK(ecode4
)) {
29656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29658 arg4
= static_cast< int >(val4
);
29661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29662 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29675 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
= 0;
29677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 PyObject
* obj2
= 0 ;
29693 PyObject
* obj3
= 0 ;
29694 char * kwnames
[] = {
29695 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29700 if (!SWIG_IsOK(res1
)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29703 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29704 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29705 if (!SWIG_IsOK(ecode2
)) {
29706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29708 arg2
= static_cast< long >(val2
);
29709 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29710 if (!SWIG_IsOK(ecode3
)) {
29711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29713 arg3
= static_cast< long >(val3
);
29714 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29715 if (!SWIG_IsOK(ecode4
)) {
29716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29718 arg4
= static_cast< int >(val4
);
29720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29721 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29722 wxPyEndAllowThreads(__tstate
);
29723 if (PyErr_Occurred()) SWIG_fail
;
29726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29734 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29735 PyObject
*resultobj
= 0;
29736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29743 PyObject
* obj0
= 0 ;
29744 PyObject
* obj1
= 0 ;
29745 char * kwnames
[] = {
29746 (char *) "self",(char *) "item", NULL
29749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29751 if (!SWIG_IsOK(res1
)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29756 if (!SWIG_IsOK(ecode2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29759 arg2
= static_cast< long >(val2
);
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29779 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
= 0;
29781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29783 wxString
*arg3
= 0 ;
29788 bool temp3
= false ;
29789 PyObject
* obj0
= 0 ;
29790 PyObject
* obj1
= 0 ;
29791 PyObject
* obj2
= 0 ;
29792 char * kwnames
[] = {
29793 (char *) "self",(char *) "item",(char *) "str", NULL
29796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29798 if (!SWIG_IsOK(res1
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29801 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29802 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29803 if (!SWIG_IsOK(ecode2
)) {
29804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29806 arg2
= static_cast< long >(val2
);
29808 arg3
= wxString_in_helper(obj2
);
29809 if (arg3
== NULL
) SWIG_fail
;
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29815 wxPyEndAllowThreads(__tstate
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29818 resultobj
= SWIG_Py_Void();
29833 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
= 0;
29835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29842 PyObject
* obj0
= 0 ;
29843 PyObject
* obj1
= 0 ;
29844 char * kwnames
[] = {
29845 (char *) "self",(char *) "item", NULL
29848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29850 if (!SWIG_IsOK(res1
)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29853 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29854 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29855 if (!SWIG_IsOK(ecode2
)) {
29856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29858 arg2
= static_cast< long >(val2
);
29860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29861 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29865 resultobj
= SWIG_From_long(static_cast< long >(result
));
29872 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
= 0;
29874 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29884 PyObject
* obj0
= 0 ;
29885 PyObject
* obj1
= 0 ;
29886 PyObject
* obj2
= 0 ;
29887 char * kwnames
[] = {
29888 (char *) "self",(char *) "item",(char *) "data", NULL
29891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29893 if (!SWIG_IsOK(res1
)) {
29894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29896 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29897 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29898 if (!SWIG_IsOK(ecode2
)) {
29899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29901 arg2
= static_cast< long >(val2
);
29902 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29903 if (!SWIG_IsOK(ecode3
)) {
29904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29906 arg3
= static_cast< long >(val3
);
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29922 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
= 0;
29924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29931 PyObject
* obj0
= 0 ;
29932 PyObject
* obj1
= 0 ;
29933 char * kwnames
[] = {
29934 (char *) "self",(char *) "item", NULL
29937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29939 if (!SWIG_IsOK(res1
)) {
29940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29942 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29943 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29944 if (!SWIG_IsOK(ecode2
)) {
29945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29947 arg2
= static_cast< long >(val2
);
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29961 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29962 PyObject
*resultobj
= 0;
29963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29965 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29973 PyObject
* obj0
= 0 ;
29974 PyObject
* obj1
= 0 ;
29975 PyObject
* obj2
= 0 ;
29976 char * kwnames
[] = {
29977 (char *) "self",(char *) "item",(char *) "code", NULL
29980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29982 if (!SWIG_IsOK(res1
)) {
29983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29985 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29986 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29987 if (!SWIG_IsOK(ecode2
)) {
29988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29990 arg2
= static_cast< long >(val2
);
29992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29993 if (!SWIG_IsOK(ecode3
)) {
29994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29996 arg3
= static_cast< int >(val3
);
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30011 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
= 0;
30013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30015 wxPoint
*arg3
= 0 ;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 PyObject
* obj2
= 0 ;
30025 char * kwnames
[] = {
30026 (char *) "self",(char *) "item",(char *) "pos", NULL
30029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30031 if (!SWIG_IsOK(res1
)) {
30032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30034 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30035 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30036 if (!SWIG_IsOK(ecode2
)) {
30037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30039 arg2
= static_cast< long >(val2
);
30042 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30059 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30060 PyObject
*resultobj
= 0;
30061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30065 PyObject
*swig_obj
[1] ;
30067 if (!args
) SWIG_fail
;
30068 swig_obj
[0] = args
;
30069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30070 if (!SWIG_IsOK(res1
)) {
30071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30073 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30077 wxPyEndAllowThreads(__tstate
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30080 resultobj
= SWIG_From_int(static_cast< int >(result
));
30087 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30088 PyObject
*resultobj
= 0;
30089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30093 PyObject
*swig_obj
[1] ;
30095 if (!args
) SWIG_fail
;
30096 swig_obj
[0] = args
;
30097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30098 if (!SWIG_IsOK(res1
)) {
30099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30101 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= SWIG_From_int(static_cast< int >(result
));
30115 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30116 PyObject
*resultobj
= 0;
30117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30121 PyObject
*swig_obj
[1] ;
30123 if (!args
) SWIG_fail
;
30124 swig_obj
[0] = args
;
30125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30126 if (!SWIG_IsOK(res1
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30129 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30133 wxPyEndAllowThreads(__tstate
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30143 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30144 PyObject
*resultobj
= 0;
30145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30147 bool arg3
= (bool) false ;
30154 PyObject
* obj0
= 0 ;
30155 PyObject
* obj1
= 0 ;
30156 PyObject
* obj2
= 0 ;
30157 char * kwnames
[] = {
30158 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30163 if (!SWIG_IsOK(res1
)) {
30164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30166 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30168 if (!SWIG_IsOK(ecode2
)) {
30169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30171 arg2
= static_cast< int >(val2
);
30173 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30174 if (!SWIG_IsOK(ecode3
)) {
30175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30177 arg3
= static_cast< bool >(val3
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 (arg1
)->SetItemSpacing(arg2
,arg3
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_Py_Void();
30192 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30193 PyObject
*resultobj
= 0;
30194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30198 PyObject
*swig_obj
[1] ;
30200 if (!args
) SWIG_fail
;
30201 swig_obj
[0] = args
;
30202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30203 if (!SWIG_IsOK(res1
)) {
30204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30206 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30209 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 resultobj
= SWIG_From_int(static_cast< int >(result
));
30220 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30221 PyObject
*resultobj
= 0;
30222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30226 PyObject
*swig_obj
[1] ;
30228 if (!args
) SWIG_fail
;
30229 swig_obj
[0] = args
;
30230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30231 if (!SWIG_IsOK(res1
)) {
30232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30234 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30248 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
= 0;
30250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30251 wxColour
*arg2
= 0 ;
30255 PyObject
* obj0
= 0 ;
30256 PyObject
* obj1
= 0 ;
30257 char * kwnames
[] = {
30258 (char *) "self",(char *) "col", NULL
30261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30263 if (!SWIG_IsOK(res1
)) {
30264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30266 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30273 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30274 wxPyEndAllowThreads(__tstate
);
30275 if (PyErr_Occurred()) SWIG_fail
;
30277 resultobj
= SWIG_Py_Void();
30284 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30285 PyObject
*resultobj
= 0;
30286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30290 PyObject
*swig_obj
[1] ;
30292 if (!args
) SWIG_fail
;
30293 swig_obj
[0] = args
;
30294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30298 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_From_long(static_cast< long >(result
));
30312 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
= 0;
30314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30316 bool arg3
= (bool) true ;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 PyObject
* obj2
= 0 ;
30326 char * kwnames
[] = {
30327 (char *) "self",(char *) "style",(char *) "add", NULL
30330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30335 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30336 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30337 if (!SWIG_IsOK(ecode2
)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30340 arg2
= static_cast< long >(val2
);
30342 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30343 if (!SWIG_IsOK(ecode3
)) {
30344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30346 arg3
= static_cast< bool >(val3
);
30349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30350 (arg1
)->SetSingleStyle(arg2
,arg3
);
30351 wxPyEndAllowThreads(__tstate
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30354 resultobj
= SWIG_Py_Void();
30361 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30362 PyObject
*resultobj
= 0;
30363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30365 int arg3
= (int) wxLIST_NEXT_ALL
;
30366 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30376 PyObject
* obj0
= 0 ;
30377 PyObject
* obj1
= 0 ;
30378 PyObject
* obj2
= 0 ;
30379 PyObject
* obj3
= 0 ;
30380 char * kwnames
[] = {
30381 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30386 if (!SWIG_IsOK(res1
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30389 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30390 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30391 if (!SWIG_IsOK(ecode2
)) {
30392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30394 arg2
= static_cast< long >(val2
);
30396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30397 if (!SWIG_IsOK(ecode3
)) {
30398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30400 arg3
= static_cast< int >(val3
);
30403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30404 if (!SWIG_IsOK(ecode4
)) {
30405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30407 arg4
= static_cast< int >(val4
);
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_From_long(static_cast< long >(result
));
30422 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
= 0;
30424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30426 wxImageList
*result
= 0 ;
30431 PyObject
* obj0
= 0 ;
30432 PyObject
* obj1
= 0 ;
30433 char * kwnames
[] = {
30434 (char *) "self",(char *) "which", NULL
30437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30439 if (!SWIG_IsOK(res1
)) {
30440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30442 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30444 if (!SWIG_IsOK(ecode2
)) {
30445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30447 arg2
= static_cast< int >(val2
);
30449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30450 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30451 wxPyEndAllowThreads(__tstate
);
30452 if (PyErr_Occurred()) SWIG_fail
;
30455 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30463 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
= 0;
30465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30466 wxImageList
*arg2
= (wxImageList
*) 0 ;
30474 PyObject
* obj0
= 0 ;
30475 PyObject
* obj1
= 0 ;
30476 PyObject
* obj2
= 0 ;
30477 char * kwnames
[] = {
30478 (char *) "self",(char *) "imageList",(char *) "which", NULL
30481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30483 if (!SWIG_IsOK(res1
)) {
30484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30486 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30488 if (!SWIG_IsOK(res2
)) {
30489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30491 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30493 if (!SWIG_IsOK(ecode3
)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30496 arg3
= static_cast< int >(val3
);
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 (arg1
)->SetImageList(arg2
,arg3
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_Py_Void();
30510 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
= 0;
30512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30513 wxImageList
*arg2
= (wxImageList
*) 0 ;
30520 PyObject
* obj0
= 0 ;
30521 PyObject
* obj1
= 0 ;
30522 PyObject
* obj2
= 0 ;
30523 char * kwnames
[] = {
30524 (char *) "self",(char *) "imageList",(char *) "which", NULL
30527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30532 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30533 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30534 if (!SWIG_IsOK(res2
)) {
30535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30538 if (!SWIG_IsOK(ecode3
)) {
30539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30541 arg3
= static_cast< int >(val3
);
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 (arg1
)->AssignImageList(arg2
,arg3
);
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_Py_Void();
30555 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30561 PyObject
*swig_obj
[1] ;
30563 if (!args
) SWIG_fail
;
30564 swig_obj
[0] = args
;
30565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30569 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30585 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30586 PyObject
*resultobj
= 0;
30587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30591 PyObject
*swig_obj
[1] ;
30593 if (!args
) SWIG_fail
;
30594 swig_obj
[0] = args
;
30595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30596 if (!SWIG_IsOK(res1
)) {
30597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30599 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30602 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30603 wxPyEndAllowThreads(__tstate
);
30604 if (PyErr_Occurred()) SWIG_fail
;
30607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30615 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30616 PyObject
*resultobj
= 0;
30617 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30623 PyObject
* obj0
= 0 ;
30624 PyObject
* obj1
= 0 ;
30625 char * kwnames
[] = {
30626 (char *) "self",(char *) "item", NULL
30629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30634 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30635 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30636 if (!SWIG_IsOK(ecode2
)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30639 arg2
= static_cast< long >(val2
);
30641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30642 (arg1
)->RefreshItem(arg2
);
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= SWIG_Py_Void();
30653 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
= 0;
30655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30664 PyObject
* obj0
= 0 ;
30665 PyObject
* obj1
= 0 ;
30666 PyObject
* obj2
= 0 ;
30667 char * kwnames
[] = {
30668 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30673 if (!SWIG_IsOK(res1
)) {
30674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30676 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30677 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30678 if (!SWIG_IsOK(ecode2
)) {
30679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30681 arg2
= static_cast< long >(val2
);
30682 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30683 if (!SWIG_IsOK(ecode3
)) {
30684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30686 arg3
= static_cast< long >(val3
);
30688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30689 (arg1
)->RefreshItems(arg2
,arg3
);
30690 wxPyEndAllowThreads(__tstate
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30693 resultobj
= SWIG_Py_Void();
30700 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
= 0;
30702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30703 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30709 PyObject
* obj0
= 0 ;
30710 PyObject
* obj1
= 0 ;
30711 char * kwnames
[] = {
30712 (char *) "self",(char *) "flag", NULL
30715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30717 if (!SWIG_IsOK(res1
)) {
30718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30720 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30723 if (!SWIG_IsOK(ecode2
)) {
30724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30726 arg2
= static_cast< int >(val2
);
30729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30730 result
= (bool)(arg1
)->Arrange(arg2
);
30731 wxPyEndAllowThreads(__tstate
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30743 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30744 PyObject
*resultobj
= 0;
30745 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30752 PyObject
* obj0
= 0 ;
30753 PyObject
* obj1
= 0 ;
30754 char * kwnames
[] = {
30755 (char *) "self",(char *) "item", NULL
30758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30760 if (!SWIG_IsOK(res1
)) {
30761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30763 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30764 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30765 if (!SWIG_IsOK(ecode2
)) {
30766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30768 arg2
= static_cast< long >(val2
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (bool)(arg1
)->DeleteItem(arg2
);
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30784 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30785 PyObject
*resultobj
= 0;
30786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30790 PyObject
*swig_obj
[1] ;
30792 if (!args
) SWIG_fail
;
30793 swig_obj
[0] = args
;
30794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30795 if (!SWIG_IsOK(res1
)) {
30796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30798 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30801 result
= (bool)(arg1
)->DeleteAllItems();
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30814 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
= 0;
30816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30823 PyObject
* obj0
= 0 ;
30824 PyObject
* obj1
= 0 ;
30825 char * kwnames
[] = {
30826 (char *) "self",(char *) "col", NULL
30829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30831 if (!SWIG_IsOK(res1
)) {
30832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30834 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30836 if (!SWIG_IsOK(ecode2
)) {
30837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30839 arg2
= static_cast< int >(val2
);
30841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30842 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30855 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30856 PyObject
*resultobj
= 0;
30857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30861 PyObject
*swig_obj
[1] ;
30863 if (!args
) SWIG_fail
;
30864 swig_obj
[0] = args
;
30865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30866 if (!SWIG_IsOK(res1
)) {
30867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30869 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 result
= (bool)(arg1
)->DeleteAllColumns();
30873 wxPyEndAllowThreads(__tstate
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30885 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30886 PyObject
*resultobj
= 0;
30887 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30890 PyObject
*swig_obj
[1] ;
30892 if (!args
) SWIG_fail
;
30893 swig_obj
[0] = args
;
30894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30895 if (!SWIG_IsOK(res1
)) {
30896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30898 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 (arg1
)->ClearAll();
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= SWIG_Py_Void();
30912 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30913 PyObject
*resultobj
= 0;
30914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30920 PyObject
* obj0
= 0 ;
30921 PyObject
* obj1
= 0 ;
30922 char * kwnames
[] = {
30923 (char *) "self",(char *) "item", NULL
30926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30928 if (!SWIG_IsOK(res1
)) {
30929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30931 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30932 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30933 if (!SWIG_IsOK(ecode2
)) {
30934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30936 arg2
= static_cast< long >(val2
);
30938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30939 (arg1
)->EditLabel(arg2
);
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= SWIG_Py_Void();
30950 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
= 0;
30952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30959 PyObject
* obj0
= 0 ;
30960 PyObject
* obj1
= 0 ;
30961 char * kwnames
[] = {
30962 (char *) "self",(char *) "item", NULL
30965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30967 if (!SWIG_IsOK(res1
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30970 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30971 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30972 if (!SWIG_IsOK(ecode2
)) {
30973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30975 arg2
= static_cast< long >(val2
);
30977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30991 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30992 PyObject
*resultobj
= 0;
30993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30995 wxString
*arg3
= 0 ;
30996 bool arg4
= (bool) false ;
31002 bool temp3
= false ;
31005 PyObject
* obj0
= 0 ;
31006 PyObject
* obj1
= 0 ;
31007 PyObject
* obj2
= 0 ;
31008 PyObject
* obj3
= 0 ;
31009 char * kwnames
[] = {
31010 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31015 if (!SWIG_IsOK(res1
)) {
31016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31018 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31019 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31020 if (!SWIG_IsOK(ecode2
)) {
31021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31023 arg2
= static_cast< long >(val2
);
31025 arg3
= wxString_in_helper(obj2
);
31026 if (arg3
== NULL
) SWIG_fail
;
31030 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31031 if (!SWIG_IsOK(ecode4
)) {
31032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31034 arg4
= static_cast< bool >(val4
);
31037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31038 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31042 resultobj
= SWIG_From_long(static_cast< long >(result
));
31057 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31058 PyObject
*resultobj
= 0;
31059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31069 PyObject
* obj0
= 0 ;
31070 PyObject
* obj1
= 0 ;
31071 PyObject
* obj2
= 0 ;
31072 char * kwnames
[] = {
31073 (char *) "self",(char *) "start",(char *) "data", NULL
31076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31078 if (!SWIG_IsOK(res1
)) {
31079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31081 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31082 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31083 if (!SWIG_IsOK(ecode2
)) {
31084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31086 arg2
= static_cast< long >(val2
);
31087 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31088 if (!SWIG_IsOK(ecode3
)) {
31089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31091 arg3
= static_cast< long >(val3
);
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31098 resultobj
= SWIG_From_long(static_cast< long >(result
));
31105 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31106 PyObject
*resultobj
= 0;
31107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31109 wxPoint
*arg3
= 0 ;
31119 PyObject
* obj0
= 0 ;
31120 PyObject
* obj1
= 0 ;
31121 PyObject
* obj2
= 0 ;
31122 PyObject
* obj3
= 0 ;
31123 char * kwnames
[] = {
31124 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31129 if (!SWIG_IsOK(res1
)) {
31130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31132 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31133 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31134 if (!SWIG_IsOK(ecode2
)) {
31135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31137 arg2
= static_cast< long >(val2
);
31140 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31142 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31143 if (!SWIG_IsOK(ecode4
)) {
31144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31146 arg4
= static_cast< int >(val4
);
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31153 resultobj
= SWIG_From_long(static_cast< long >(result
));
31160 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
= 0;
31162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31163 wxPoint
*arg2
= 0 ;
31170 int res3
= SWIG_TMPOBJ
;
31171 PyObject
* obj0
= 0 ;
31172 PyObject
* obj1
= 0 ;
31173 char * kwnames
[] = {
31174 (char *) "self",(char *) "point", NULL
31178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31180 if (!SWIG_IsOK(res1
)) {
31181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31183 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31186 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31190 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31191 wxPyEndAllowThreads(__tstate
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31194 resultobj
= SWIG_From_long(static_cast< long >(result
));
31195 if (SWIG_IsTmpObj(res3
)) {
31196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31198 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31207 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31208 PyObject
*resultobj
= 0;
31209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31210 wxPoint
*arg2
= 0 ;
31212 long *arg4
= (long *) 0 ;
31218 int res3
= SWIG_TMPOBJ
;
31220 int res4
= SWIG_TMPOBJ
;
31221 PyObject
* obj0
= 0 ;
31222 PyObject
* obj1
= 0 ;
31223 char * kwnames
[] = {
31224 (char *) "self",(char *) "point", NULL
31229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31231 if (!SWIG_IsOK(res1
)) {
31232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31234 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31237 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31241 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31242 wxPyEndAllowThreads(__tstate
);
31243 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= SWIG_From_long(static_cast< long >(result
));
31246 if (SWIG_IsTmpObj(res3
)) {
31247 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31249 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31252 if (SWIG_IsTmpObj(res4
)) {
31253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31255 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31264 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
= 0;
31266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31267 wxListItem
*arg2
= 0 ;
31273 PyObject
* obj0
= 0 ;
31274 PyObject
* obj1
= 0 ;
31275 char * kwnames
[] = {
31276 (char *) "self",(char *) "info", NULL
31279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31281 if (!SWIG_IsOK(res1
)) {
31282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31284 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31285 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31286 if (!SWIG_IsOK(res2
)) {
31287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31292 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 result
= (long)(arg1
)->InsertItem(*arg2
);
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= SWIG_From_long(static_cast< long >(result
));
31306 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31307 PyObject
*resultobj
= 0;
31308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31310 wxString
*arg3
= 0 ;
31311 int arg4
= (int) -1 ;
31317 bool temp3
= false ;
31320 PyObject
* obj0
= 0 ;
31321 PyObject
* obj1
= 0 ;
31322 PyObject
* obj2
= 0 ;
31323 PyObject
* obj3
= 0 ;
31324 char * kwnames
[] = {
31325 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31330 if (!SWIG_IsOK(res1
)) {
31331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31333 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31334 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31335 if (!SWIG_IsOK(ecode2
)) {
31336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31338 arg2
= static_cast< long >(val2
);
31340 arg3
= wxString_in_helper(obj2
);
31341 if (arg3
== NULL
) SWIG_fail
;
31345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31346 if (!SWIG_IsOK(ecode4
)) {
31347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31349 arg4
= static_cast< int >(val4
);
31352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31353 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31354 wxPyEndAllowThreads(__tstate
);
31355 if (PyErr_Occurred()) SWIG_fail
;
31357 resultobj
= SWIG_From_long(static_cast< long >(result
));
31372 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31373 PyObject
*resultobj
= 0;
31374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31384 PyObject
* obj0
= 0 ;
31385 PyObject
* obj1
= 0 ;
31386 PyObject
* obj2
= 0 ;
31387 char * kwnames
[] = {
31388 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31393 if (!SWIG_IsOK(res1
)) {
31394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31396 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31397 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31398 if (!SWIG_IsOK(ecode2
)) {
31399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31401 arg2
= static_cast< long >(val2
);
31402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31403 if (!SWIG_IsOK(ecode3
)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31406 arg3
= static_cast< int >(val3
);
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= SWIG_From_long(static_cast< long >(result
));
31420 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31424 wxString
*arg3
= 0 ;
31431 bool temp3
= false ;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 PyObject
* obj2
= 0 ;
31437 PyObject
* obj3
= 0 ;
31438 char * kwnames
[] = {
31439 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31444 if (!SWIG_IsOK(res1
)) {
31445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31447 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31448 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31449 if (!SWIG_IsOK(ecode2
)) {
31450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31452 arg2
= static_cast< long >(val2
);
31454 arg3
= wxString_in_helper(obj2
);
31455 if (arg3
== NULL
) SWIG_fail
;
31458 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31459 if (!SWIG_IsOK(ecode4
)) {
31460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31462 arg4
= static_cast< int >(val4
);
31464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31465 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31466 wxPyEndAllowThreads(__tstate
);
31467 if (PyErr_Occurred()) SWIG_fail
;
31469 resultobj
= SWIG_From_long(static_cast< long >(result
));
31484 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
= 0;
31486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31488 wxListItem
*arg3
= 0 ;
31496 PyObject
* obj0
= 0 ;
31497 PyObject
* obj1
= 0 ;
31498 PyObject
* obj2
= 0 ;
31499 char * kwnames
[] = {
31500 (char *) "self",(char *) "col",(char *) "info", NULL
31503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31505 if (!SWIG_IsOK(res1
)) {
31506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31508 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31509 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31510 if (!SWIG_IsOK(ecode2
)) {
31511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31513 arg2
= static_cast< long >(val2
);
31514 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31515 if (!SWIG_IsOK(res3
)) {
31516 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31521 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31525 wxPyEndAllowThreads(__tstate
);
31526 if (PyErr_Occurred()) SWIG_fail
;
31528 resultobj
= SWIG_From_long(static_cast< long >(result
));
31535 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31536 PyObject
*resultobj
= 0;
31537 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31539 wxString
*arg3
= 0 ;
31540 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31541 int arg5
= (int) -1 ;
31547 bool temp3
= false ;
31552 PyObject
* obj0
= 0 ;
31553 PyObject
* obj1
= 0 ;
31554 PyObject
* obj2
= 0 ;
31555 PyObject
* obj3
= 0 ;
31556 PyObject
* obj4
= 0 ;
31557 char * kwnames
[] = {
31558 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31563 if (!SWIG_IsOK(res1
)) {
31564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31566 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31567 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31568 if (!SWIG_IsOK(ecode2
)) {
31569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31571 arg2
= static_cast< long >(val2
);
31573 arg3
= wxString_in_helper(obj2
);
31574 if (arg3
== NULL
) SWIG_fail
;
31578 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31579 if (!SWIG_IsOK(ecode4
)) {
31580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31582 arg4
= static_cast< int >(val4
);
31585 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31586 if (!SWIG_IsOK(ecode5
)) {
31587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31589 arg5
= static_cast< int >(val5
);
31592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31593 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= SWIG_From_long(static_cast< long >(result
));
31612 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31613 PyObject
*resultobj
= 0;
31614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31620 PyObject
* obj0
= 0 ;
31621 PyObject
* obj1
= 0 ;
31622 char * kwnames
[] = {
31623 (char *) "self",(char *) "count", NULL
31626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31628 if (!SWIG_IsOK(res1
)) {
31629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31631 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31632 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31633 if (!SWIG_IsOK(ecode2
)) {
31634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31636 arg2
= static_cast< long >(val2
);
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31639 (arg1
)->SetItemCount(arg2
);
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31643 resultobj
= SWIG_Py_Void();
31650 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31651 PyObject
*resultobj
= 0;
31652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31662 PyObject
* obj0
= 0 ;
31663 PyObject
* obj1
= 0 ;
31664 PyObject
* obj2
= 0 ;
31665 char * kwnames
[] = {
31666 (char *) "self",(char *) "dx",(char *) "dy", NULL
31669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31671 if (!SWIG_IsOK(res1
)) {
31672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31674 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31676 if (!SWIG_IsOK(ecode2
)) {
31677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31679 arg2
= static_cast< int >(val2
);
31680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31681 if (!SWIG_IsOK(ecode3
)) {
31682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31684 arg3
= static_cast< int >(val3
);
31686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31687 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31688 wxPyEndAllowThreads(__tstate
);
31689 if (PyErr_Occurred()) SWIG_fail
;
31692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31700 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31701 PyObject
*resultobj
= 0;
31702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31704 wxColour
*arg3
= 0 ;
31710 PyObject
* obj0
= 0 ;
31711 PyObject
* obj1
= 0 ;
31712 PyObject
* obj2
= 0 ;
31713 char * kwnames
[] = {
31714 (char *) "self",(char *) "item",(char *) "col", NULL
31717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31719 if (!SWIG_IsOK(res1
)) {
31720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31722 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31723 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31724 if (!SWIG_IsOK(ecode2
)) {
31725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31727 arg2
= static_cast< long >(val2
);
31730 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31738 resultobj
= SWIG_Py_Void();
31745 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31746 PyObject
*resultobj
= 0;
31747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31754 PyObject
* obj0
= 0 ;
31755 PyObject
* obj1
= 0 ;
31756 char * kwnames
[] = {
31757 (char *) "self",(char *) "item", NULL
31760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31762 if (!SWIG_IsOK(res1
)) {
31763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31765 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31766 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31767 if (!SWIG_IsOK(ecode2
)) {
31768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31770 arg2
= static_cast< long >(val2
);
31772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31773 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31774 wxPyEndAllowThreads(__tstate
);
31775 if (PyErr_Occurred()) SWIG_fail
;
31777 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31784 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31785 PyObject
*resultobj
= 0;
31786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31788 wxColour
*arg3
= 0 ;
31794 PyObject
* obj0
= 0 ;
31795 PyObject
* obj1
= 0 ;
31796 PyObject
* obj2
= 0 ;
31797 char * kwnames
[] = {
31798 (char *) "self",(char *) "item",(char *) "col", NULL
31801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31803 if (!SWIG_IsOK(res1
)) {
31804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31806 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31807 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31808 if (!SWIG_IsOK(ecode2
)) {
31809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31811 arg2
= static_cast< long >(val2
);
31814 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31819 wxPyEndAllowThreads(__tstate
);
31820 if (PyErr_Occurred()) SWIG_fail
;
31822 resultobj
= SWIG_Py_Void();
31829 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31830 PyObject
*resultobj
= 0;
31831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31838 PyObject
* obj0
= 0 ;
31839 PyObject
* obj1
= 0 ;
31840 char * kwnames
[] = {
31841 (char *) "self",(char *) "item", NULL
31844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31846 if (!SWIG_IsOK(res1
)) {
31847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31849 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31850 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31851 if (!SWIG_IsOK(ecode2
)) {
31852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31854 arg2
= static_cast< long >(val2
);
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31858 wxPyEndAllowThreads(__tstate
);
31859 if (PyErr_Occurred()) SWIG_fail
;
31861 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31868 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
= 0;
31870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31879 PyObject
* obj0
= 0 ;
31880 PyObject
* obj1
= 0 ;
31881 PyObject
* obj2
= 0 ;
31882 char * kwnames
[] = {
31883 (char *) "self",(char *) "item",(char *) "f", NULL
31886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31888 if (!SWIG_IsOK(res1
)) {
31889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31891 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31892 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31893 if (!SWIG_IsOK(ecode2
)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31896 arg2
= static_cast< long >(val2
);
31897 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31898 if (!SWIG_IsOK(res3
)) {
31899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31904 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31908 wxPyEndAllowThreads(__tstate
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31911 resultobj
= SWIG_Py_Void();
31918 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31919 PyObject
*resultobj
= 0;
31920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 char * kwnames
[] = {
31930 (char *) "self",(char *) "item", NULL
31933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31935 if (!SWIG_IsOK(res1
)) {
31936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31938 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31940 if (!SWIG_IsOK(ecode2
)) {
31941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31943 arg2
= static_cast< long >(val2
);
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31957 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
= 0;
31959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31960 PyObject
*arg2
= (PyObject
*) 0 ;
31964 PyObject
* obj0
= 0 ;
31965 PyObject
* obj1
= 0 ;
31966 char * kwnames
[] = {
31967 (char *) "self",(char *) "func", NULL
31970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31972 if (!SWIG_IsOK(res1
)) {
31973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31975 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31979 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31980 wxPyEndAllowThreads(__tstate
);
31981 if (PyErr_Occurred()) SWIG_fail
;
31984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31992 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31993 PyObject
*resultobj
= 0;
31994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31995 wxWindow
*result
= 0 ;
31998 PyObject
*swig_obj
[1] ;
32000 if (!args
) SWIG_fail
;
32001 swig_obj
[0] = args
;
32002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32003 if (!SWIG_IsOK(res1
)) {
32004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32006 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32009 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32010 wxPyEndAllowThreads(__tstate
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32014 resultobj
= wxPyMake_wxObject(result
, 0);
32022 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32023 PyObject
*resultobj
= 0;
32024 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32025 SwigValueWrapper
<wxVisualAttributes
> result
;
32028 PyObject
* obj0
= 0 ;
32029 char * kwnames
[] = {
32030 (char *) "variant", NULL
32033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32035 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32036 if (!SWIG_IsOK(ecode1
)) {
32037 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32039 arg1
= static_cast< wxWindowVariant
>(val1
);
32042 if (!wxPyCheckForApp()) SWIG_fail
;
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32045 wxPyEndAllowThreads(__tstate
);
32046 if (PyErr_Occurred()) SWIG_fail
;
32048 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32055 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32058 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32059 return SWIG_Py_Void();
32062 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32063 return SWIG_Python_InitShadowInstance(args
);
32066 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32067 PyObject
*resultobj
= 0;
32068 wxWindow
*arg1
= (wxWindow
*) 0 ;
32069 int arg2
= (int) -1 ;
32070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32074 long arg5
= (long) wxLC_REPORT
;
32075 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32076 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32077 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32078 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32079 wxListView
*result
= 0 ;
32090 bool temp7
= false ;
32091 PyObject
* obj0
= 0 ;
32092 PyObject
* obj1
= 0 ;
32093 PyObject
* obj2
= 0 ;
32094 PyObject
* obj3
= 0 ;
32095 PyObject
* obj4
= 0 ;
32096 PyObject
* obj5
= 0 ;
32097 PyObject
* obj6
= 0 ;
32098 char * kwnames
[] = {
32099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32104 if (!SWIG_IsOK(res1
)) {
32105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32107 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32110 if (!SWIG_IsOK(ecode2
)) {
32111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32113 arg2
= static_cast< int >(val2
);
32118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32124 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32128 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32129 if (!SWIG_IsOK(ecode5
)) {
32130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32132 arg5
= static_cast< long >(val5
);
32135 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32136 if (!SWIG_IsOK(res6
)) {
32137 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32142 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32146 arg7
= wxString_in_helper(obj6
);
32147 if (arg7
== NULL
) SWIG_fail
;
32152 if (!wxPyCheckForApp()) SWIG_fail
;
32153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32154 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32155 wxPyEndAllowThreads(__tstate
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32173 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32174 PyObject
*resultobj
= 0;
32175 wxListView
*result
= 0 ;
32177 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32179 if (!wxPyCheckForApp()) SWIG_fail
;
32180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32181 result
= (wxListView
*)new wxListView();
32182 wxPyEndAllowThreads(__tstate
);
32183 if (PyErr_Occurred()) SWIG_fail
;
32185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32192 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32193 PyObject
*resultobj
= 0;
32194 wxListView
*arg1
= (wxListView
*) 0 ;
32195 wxWindow
*arg2
= (wxWindow
*) 0 ;
32196 int arg3
= (int) -1 ;
32197 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32198 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32199 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32200 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32201 long arg6
= (long) wxLC_REPORT
;
32202 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32203 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32204 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32205 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32219 bool temp8
= false ;
32220 PyObject
* obj0
= 0 ;
32221 PyObject
* obj1
= 0 ;
32222 PyObject
* obj2
= 0 ;
32223 PyObject
* obj3
= 0 ;
32224 PyObject
* obj4
= 0 ;
32225 PyObject
* obj5
= 0 ;
32226 PyObject
* obj6
= 0 ;
32227 PyObject
* obj7
= 0 ;
32228 char * kwnames
[] = {
32229 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32234 if (!SWIG_IsOK(res1
)) {
32235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32237 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32239 if (!SWIG_IsOK(res2
)) {
32240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32242 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32245 if (!SWIG_IsOK(ecode3
)) {
32246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32248 arg3
= static_cast< int >(val3
);
32253 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32259 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32263 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32264 if (!SWIG_IsOK(ecode6
)) {
32265 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32267 arg6
= static_cast< long >(val6
);
32270 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32271 if (!SWIG_IsOK(res7
)) {
32272 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32277 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32281 arg8
= wxString_in_helper(obj7
);
32282 if (arg8
== NULL
) SWIG_fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32309 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32310 PyObject
*resultobj
= 0;
32311 wxListView
*arg1
= (wxListView
*) 0 ;
32313 bool arg3
= (bool) true ;
32320 PyObject
* obj0
= 0 ;
32321 PyObject
* obj1
= 0 ;
32322 PyObject
* obj2
= 0 ;
32323 char * kwnames
[] = {
32324 (char *) "self",(char *) "n",(char *) "on", NULL
32327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32329 if (!SWIG_IsOK(res1
)) {
32330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32332 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32333 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32334 if (!SWIG_IsOK(ecode2
)) {
32335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32337 arg2
= static_cast< long >(val2
);
32339 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32340 if (!SWIG_IsOK(ecode3
)) {
32341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32343 arg3
= static_cast< bool >(val3
);
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 (arg1
)->Select(arg2
,arg3
);
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32351 resultobj
= SWIG_Py_Void();
32358 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
= 0;
32360 wxListView
*arg1
= (wxListView
*) 0 ;
32366 PyObject
* obj0
= 0 ;
32367 PyObject
* obj1
= 0 ;
32368 char * kwnames
[] = {
32369 (char *) "self",(char *) "index", NULL
32372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32374 if (!SWIG_IsOK(res1
)) {
32375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32377 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32378 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32379 if (!SWIG_IsOK(ecode2
)) {
32380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32382 arg2
= static_cast< long >(val2
);
32384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32385 (arg1
)->Focus(arg2
);
32386 wxPyEndAllowThreads(__tstate
);
32387 if (PyErr_Occurred()) SWIG_fail
;
32389 resultobj
= SWIG_Py_Void();
32396 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32397 PyObject
*resultobj
= 0;
32398 wxListView
*arg1
= (wxListView
*) 0 ;
32402 PyObject
*swig_obj
[1] ;
32404 if (!args
) SWIG_fail
;
32405 swig_obj
[0] = args
;
32406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32407 if (!SWIG_IsOK(res1
)) {
32408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32410 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32413 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32417 resultobj
= SWIG_From_long(static_cast< long >(result
));
32424 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
= 0;
32426 wxListView
*arg1
= (wxListView
*) 0 ;
32433 PyObject
* obj0
= 0 ;
32434 PyObject
* obj1
= 0 ;
32435 char * kwnames
[] = {
32436 (char *) "self",(char *) "item", NULL
32439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32441 if (!SWIG_IsOK(res1
)) {
32442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32444 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32445 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32446 if (!SWIG_IsOK(ecode2
)) {
32447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32449 arg2
= static_cast< long >(val2
);
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32452 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= SWIG_From_long(static_cast< long >(result
));
32463 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32464 PyObject
*resultobj
= 0;
32465 wxListView
*arg1
= (wxListView
*) 0 ;
32469 PyObject
*swig_obj
[1] ;
32471 if (!args
) SWIG_fail
;
32472 swig_obj
[0] = args
;
32473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32474 if (!SWIG_IsOK(res1
)) {
32475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32477 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= SWIG_From_long(static_cast< long >(result
));
32491 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32492 PyObject
*resultobj
= 0;
32493 wxListView
*arg1
= (wxListView
*) 0 ;
32500 PyObject
* obj0
= 0 ;
32501 PyObject
* obj1
= 0 ;
32502 char * kwnames
[] = {
32503 (char *) "self",(char *) "index", NULL
32506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32508 if (!SWIG_IsOK(res1
)) {
32509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32511 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32512 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32513 if (!SWIG_IsOK(ecode2
)) {
32514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32516 arg2
= static_cast< long >(val2
);
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 result
= (bool)(arg1
)->IsSelected(arg2
);
32520 wxPyEndAllowThreads(__tstate
);
32521 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32532 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32533 PyObject
*resultobj
= 0;
32534 wxListView
*arg1
= (wxListView
*) 0 ;
32543 PyObject
* obj0
= 0 ;
32544 PyObject
* obj1
= 0 ;
32545 PyObject
* obj2
= 0 ;
32546 char * kwnames
[] = {
32547 (char *) "self",(char *) "col",(char *) "image", NULL
32550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32552 if (!SWIG_IsOK(res1
)) {
32553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32555 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32557 if (!SWIG_IsOK(ecode2
)) {
32558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32560 arg2
= static_cast< int >(val2
);
32561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32562 if (!SWIG_IsOK(ecode3
)) {
32563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32565 arg3
= static_cast< int >(val3
);
32567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32568 (arg1
)->SetColumnImage(arg2
,arg3
);
32569 wxPyEndAllowThreads(__tstate
);
32570 if (PyErr_Occurred()) SWIG_fail
;
32572 resultobj
= SWIG_Py_Void();
32579 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32580 PyObject
*resultobj
= 0;
32581 wxListView
*arg1
= (wxListView
*) 0 ;
32587 PyObject
* obj0
= 0 ;
32588 PyObject
* obj1
= 0 ;
32589 char * kwnames
[] = {
32590 (char *) "self",(char *) "col", NULL
32593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32595 if (!SWIG_IsOK(res1
)) {
32596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32598 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32600 if (!SWIG_IsOK(ecode2
)) {
32601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32603 arg2
= static_cast< int >(val2
);
32605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32606 (arg1
)->ClearColumnImage(arg2
);
32607 wxPyEndAllowThreads(__tstate
);
32608 if (PyErr_Occurred()) SWIG_fail
;
32610 resultobj
= SWIG_Py_Void();
32617 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32620 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32621 return SWIG_Py_Void();
32624 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32625 return SWIG_Python_InitShadowInstance(args
);
32628 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32629 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32634 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32635 PyObject
*pyobj
= 0;
32639 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32641 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32648 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32649 PyObject
*resultobj
= 0;
32650 wxTreeItemId
*result
= 0 ;
32652 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32655 result
= (wxTreeItemId
*)new wxTreeItemId();
32656 wxPyEndAllowThreads(__tstate
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32666 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32667 PyObject
*resultobj
= 0;
32668 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32671 PyObject
*swig_obj
[1] ;
32673 if (!args
) SWIG_fail
;
32674 swig_obj
[0] = args
;
32675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32676 if (!SWIG_IsOK(res1
)) {
32677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32679 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 wxPyEndAllowThreads(__tstate
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= SWIG_Py_Void();
32694 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32695 PyObject
*resultobj
= 0;
32696 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32700 PyObject
*swig_obj
[1] ;
32702 if (!args
) SWIG_fail
;
32703 swig_obj
[0] = args
;
32704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32705 if (!SWIG_IsOK(res1
)) {
32706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32708 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32711 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32712 wxPyEndAllowThreads(__tstate
);
32713 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32724 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32725 PyObject
*resultobj
= 0;
32726 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32727 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32733 PyObject
* obj0
= 0 ;
32734 PyObject
* obj1
= 0 ;
32735 char * kwnames
[] = {
32736 (char *) "self",(char *) "other", NULL
32739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32741 if (!SWIG_IsOK(res1
)) {
32742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32744 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32745 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32746 if (!SWIG_IsOK(res2
)) {
32747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32749 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32753 wxPyEndAllowThreads(__tstate
);
32754 if (PyErr_Occurred()) SWIG_fail
;
32757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32765 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32766 PyObject
*resultobj
= 0;
32767 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32768 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32774 PyObject
* obj0
= 0 ;
32775 PyObject
* obj1
= 0 ;
32776 char * kwnames
[] = {
32777 (char *) "self",(char *) "other", NULL
32780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32782 if (!SWIG_IsOK(res1
)) {
32783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32785 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32787 if (!SWIG_IsOK(res2
)) {
32788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32790 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32794 wxPyEndAllowThreads(__tstate
);
32795 if (PyErr_Occurred()) SWIG_fail
;
32798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32806 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32807 PyObject
*resultobj
= 0;
32808 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32809 void *arg2
= (void *) 0 ;
32813 PyObject
*swig_obj
[2] ;
32815 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32817 if (!SWIG_IsOK(res1
)) {
32818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32820 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32821 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32822 if (!SWIG_IsOK(res2
)) {
32823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32825 if (arg1
) (arg1
)->m_pItem
= arg2
;
32827 resultobj
= SWIG_Py_Void();
32834 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32835 PyObject
*resultobj
= 0;
32836 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32840 PyObject
*swig_obj
[1] ;
32842 if (!args
) SWIG_fail
;
32843 swig_obj
[0] = args
;
32844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32845 if (!SWIG_IsOK(res1
)) {
32846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32848 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32849 result
= (void *) ((arg1
)->m_pItem
);
32850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32857 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32860 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32861 return SWIG_Py_Void();
32864 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32865 return SWIG_Python_InitShadowInstance(args
);
32868 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32869 PyObject
*resultobj
= 0;
32870 PyObject
*arg1
= (PyObject
*) NULL
;
32871 wxPyTreeItemData
*result
= 0 ;
32872 PyObject
* obj0
= 0 ;
32873 char * kwnames
[] = {
32874 (char *) "obj", NULL
32877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32884 wxPyEndAllowThreads(__tstate
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32894 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32895 PyObject
*resultobj
= 0;
32896 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32899 PyObject
*swig_obj
[1] ;
32901 if (!args
) SWIG_fail
;
32902 swig_obj
[0] = args
;
32903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32904 if (!SWIG_IsOK(res1
)) {
32905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32907 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32912 wxPyEndAllowThreads(__tstate
);
32913 if (PyErr_Occurred()) SWIG_fail
;
32915 resultobj
= SWIG_Py_Void();
32922 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32923 PyObject
*resultobj
= 0;
32924 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32925 PyObject
*result
= 0 ;
32928 PyObject
*swig_obj
[1] ;
32930 if (!args
) SWIG_fail
;
32931 swig_obj
[0] = args
;
32932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32933 if (!SWIG_IsOK(res1
)) {
32934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32936 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32939 result
= (PyObject
*)(arg1
)->GetData();
32940 wxPyEndAllowThreads(__tstate
);
32941 if (PyErr_Occurred()) SWIG_fail
;
32943 resultobj
= result
;
32950 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32951 PyObject
*resultobj
= 0;
32952 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32953 PyObject
*arg2
= (PyObject
*) 0 ;
32956 PyObject
* obj0
= 0 ;
32957 PyObject
* obj1
= 0 ;
32958 char * kwnames
[] = {
32959 (char *) "self",(char *) "obj", NULL
32962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32964 if (!SWIG_IsOK(res1
)) {
32965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32967 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 (arg1
)->SetData(arg2
);
32972 wxPyEndAllowThreads(__tstate
);
32973 if (PyErr_Occurred()) SWIG_fail
;
32975 resultobj
= SWIG_Py_Void();
32982 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32983 PyObject
*resultobj
= 0;
32984 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32985 wxTreeItemId
*result
= 0 ;
32988 PyObject
*swig_obj
[1] ;
32990 if (!args
) SWIG_fail
;
32991 swig_obj
[0] = args
;
32992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32993 if (!SWIG_IsOK(res1
)) {
32994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32996 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33000 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33001 result
= (wxTreeItemId
*) &_result_ref
;
33003 wxPyEndAllowThreads(__tstate
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33013 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33014 PyObject
*resultobj
= 0;
33015 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33016 wxTreeItemId
*arg2
= 0 ;
33021 PyObject
* obj0
= 0 ;
33022 PyObject
* obj1
= 0 ;
33023 char * kwnames
[] = {
33024 (char *) "self",(char *) "id", NULL
33027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33029 if (!SWIG_IsOK(res1
)) {
33030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33032 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33034 if (!SWIG_IsOK(res2
)) {
33035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33040 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= SWIG_Py_Void();
33054 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33055 PyObject
*resultobj
= 0;
33056 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33059 PyObject
*swig_obj
[1] ;
33061 if (!args
) SWIG_fail
;
33062 swig_obj
[0] = args
;
33063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33064 if (!SWIG_IsOK(res1
)) {
33065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33067 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 wxPyTreeItemData_Destroy(arg1
);
33071 wxPyEndAllowThreads(__tstate
);
33072 if (PyErr_Occurred()) SWIG_fail
;
33074 resultobj
= SWIG_Py_Void();
33081 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33084 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33085 return SWIG_Py_Void();
33088 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33089 return SWIG_Python_InitShadowInstance(args
);
33092 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33095 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33096 if (!SWIG_IsOK(res
)) {
33097 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33102 wxTreeItemId
* temp
;
33103 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33104 wxNullTreeItemId
= *temp
;
33105 if (SWIG_IsNewObj(res
)) delete temp
;
33114 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33115 PyObject
*pyobj
= 0;
33117 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33122 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33123 PyObject
*resultobj
= 0;
33124 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33125 int arg2
= (int) 0 ;
33126 wxTreeEvent
*result
= 0 ;
33132 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33134 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33135 if (!SWIG_IsOK(ecode1
)) {
33136 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33138 arg1
= static_cast< wxEventType
>(val1
);
33141 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33142 if (!SWIG_IsOK(ecode2
)) {
33143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33145 arg2
= static_cast< int >(val2
);
33148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33149 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33150 wxPyEndAllowThreads(__tstate
);
33151 if (PyErr_Occurred()) SWIG_fail
;
33153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33160 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33161 PyObject
*resultobj
= 0;
33163 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33164 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33165 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33166 wxTreeEvent
*result
= 0 ;
33174 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33175 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33176 if (!SWIG_IsOK(ecode1
)) {
33177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33179 arg1
= static_cast< wxEventType
>(val1
);
33180 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33181 if (!SWIG_IsOK(res2
)) {
33182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33184 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33186 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33187 if (!SWIG_IsOK(res3
)) {
33188 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33193 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33197 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33198 wxPyEndAllowThreads(__tstate
);
33199 if (PyErr_Occurred()) SWIG_fail
;
33201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33208 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33212 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33214 if ((argc
>= 0) && (argc
<= 2)) {
33219 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33220 _v
= SWIG_CheckState(res
);
33223 if (!_v
) goto check_1
;
33225 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33229 if ((argc
>= 2) && (argc
<= 3)) {
33230 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33234 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33239 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33240 PyObject
*resultobj
= 0;
33241 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33242 wxTreeItemId result
;
33245 PyObject
*swig_obj
[1] ;
33247 if (!args
) SWIG_fail
;
33248 swig_obj
[0] = args
;
33249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33250 if (!SWIG_IsOK(res1
)) {
33251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33253 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33256 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33257 wxPyEndAllowThreads(__tstate
);
33258 if (PyErr_Occurred()) SWIG_fail
;
33260 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33267 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33268 PyObject
*resultobj
= 0;
33269 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33270 wxTreeItemId
*arg2
= 0 ;
33275 PyObject
* obj0
= 0 ;
33276 PyObject
* obj1
= 0 ;
33277 char * kwnames
[] = {
33278 (char *) "self",(char *) "item", NULL
33281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33283 if (!SWIG_IsOK(res1
)) {
33284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33286 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33288 if (!SWIG_IsOK(res2
)) {
33289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33294 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33297 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33298 wxPyEndAllowThreads(__tstate
);
33299 if (PyErr_Occurred()) SWIG_fail
;
33301 resultobj
= SWIG_Py_Void();
33308 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33309 PyObject
*resultobj
= 0;
33310 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33311 wxTreeItemId result
;
33314 PyObject
*swig_obj
[1] ;
33316 if (!args
) SWIG_fail
;
33317 swig_obj
[0] = args
;
33318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33319 if (!SWIG_IsOK(res1
)) {
33320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33322 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33325 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33326 wxPyEndAllowThreads(__tstate
);
33327 if (PyErr_Occurred()) SWIG_fail
;
33329 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33336 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33337 PyObject
*resultobj
= 0;
33338 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33339 wxTreeItemId
*arg2
= 0 ;
33344 PyObject
* obj0
= 0 ;
33345 PyObject
* obj1
= 0 ;
33346 char * kwnames
[] = {
33347 (char *) "self",(char *) "item", NULL
33350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33352 if (!SWIG_IsOK(res1
)) {
33353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33355 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33357 if (!SWIG_IsOK(res2
)) {
33358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33363 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33367 wxPyEndAllowThreads(__tstate
);
33368 if (PyErr_Occurred()) SWIG_fail
;
33370 resultobj
= SWIG_Py_Void();
33377 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33378 PyObject
*resultobj
= 0;
33379 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33383 PyObject
*swig_obj
[1] ;
33385 if (!args
) SWIG_fail
;
33386 swig_obj
[0] = args
;
33387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33388 if (!SWIG_IsOK(res1
)) {
33389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33391 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33394 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33395 wxPyEndAllowThreads(__tstate
);
33396 if (PyErr_Occurred()) SWIG_fail
;
33398 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33405 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33406 PyObject
*resultobj
= 0;
33407 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33408 wxPoint
*arg2
= 0 ;
33412 PyObject
* obj0
= 0 ;
33413 PyObject
* obj1
= 0 ;
33414 char * kwnames
[] = {
33415 (char *) "self",(char *) "pt", NULL
33418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33420 if (!SWIG_IsOK(res1
)) {
33421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33423 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33430 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33431 wxPyEndAllowThreads(__tstate
);
33432 if (PyErr_Occurred()) SWIG_fail
;
33434 resultobj
= SWIG_Py_Void();
33441 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33442 PyObject
*resultobj
= 0;
33443 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33444 wxKeyEvent
*result
= 0 ;
33447 PyObject
*swig_obj
[1] ;
33449 if (!args
) SWIG_fail
;
33450 swig_obj
[0] = args
;
33451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33452 if (!SWIG_IsOK(res1
)) {
33453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33455 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33460 result
= (wxKeyEvent
*) &_result_ref
;
33462 wxPyEndAllowThreads(__tstate
);
33463 if (PyErr_Occurred()) SWIG_fail
;
33465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33472 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33473 PyObject
*resultobj
= 0;
33474 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33478 PyObject
*swig_obj
[1] ;
33480 if (!args
) SWIG_fail
;
33481 swig_obj
[0] = args
;
33482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33483 if (!SWIG_IsOK(res1
)) {
33484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33486 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33489 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33493 resultobj
= SWIG_From_int(static_cast< int >(result
));
33500 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33501 PyObject
*resultobj
= 0;
33502 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33503 wxKeyEvent
*arg2
= 0 ;
33508 PyObject
* obj0
= 0 ;
33509 PyObject
* obj1
= 0 ;
33510 char * kwnames
[] = {
33511 (char *) "self",(char *) "evt", NULL
33514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33516 if (!SWIG_IsOK(res1
)) {
33517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33519 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33521 if (!SWIG_IsOK(res2
)) {
33522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33527 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33530 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33531 wxPyEndAllowThreads(__tstate
);
33532 if (PyErr_Occurred()) SWIG_fail
;
33534 resultobj
= SWIG_Py_Void();
33541 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33542 PyObject
*resultobj
= 0;
33543 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33544 wxString
*result
= 0 ;
33547 PyObject
*swig_obj
[1] ;
33549 if (!args
) SWIG_fail
;
33550 swig_obj
[0] = args
;
33551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33552 if (!SWIG_IsOK(res1
)) {
33553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33555 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33559 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33560 result
= (wxString
*) &_result_ref
;
33562 wxPyEndAllowThreads(__tstate
);
33563 if (PyErr_Occurred()) SWIG_fail
;
33567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33578 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33579 PyObject
*resultobj
= 0;
33580 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33581 wxString
*arg2
= 0 ;
33584 bool temp2
= false ;
33585 PyObject
* obj0
= 0 ;
33586 PyObject
* obj1
= 0 ;
33587 char * kwnames
[] = {
33588 (char *) "self",(char *) "label", NULL
33591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33593 if (!SWIG_IsOK(res1
)) {
33594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33596 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33598 arg2
= wxString_in_helper(obj1
);
33599 if (arg2
== NULL
) SWIG_fail
;
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 (arg1
)->SetLabel((wxString
const &)*arg2
);
33605 wxPyEndAllowThreads(__tstate
);
33606 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= SWIG_Py_Void();
33623 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33624 PyObject
*resultobj
= 0;
33625 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33629 PyObject
*swig_obj
[1] ;
33631 if (!args
) SWIG_fail
;
33632 swig_obj
[0] = args
;
33633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33634 if (!SWIG_IsOK(res1
)) {
33635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33637 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33640 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33653 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33654 PyObject
*resultobj
= 0;
33655 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33661 PyObject
* obj0
= 0 ;
33662 PyObject
* obj1
= 0 ;
33663 char * kwnames
[] = {
33664 (char *) "self",(char *) "editCancelled", NULL
33667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33669 if (!SWIG_IsOK(res1
)) {
33670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33672 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33673 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33674 if (!SWIG_IsOK(ecode2
)) {
33675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33677 arg2
= static_cast< bool >(val2
);
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33680 (arg1
)->SetEditCanceled(arg2
);
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= SWIG_Py_Void();
33691 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33692 PyObject
*resultobj
= 0;
33693 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33694 wxString
*arg2
= 0 ;
33697 bool temp2
= false ;
33698 PyObject
* obj0
= 0 ;
33699 PyObject
* obj1
= 0 ;
33700 char * kwnames
[] = {
33701 (char *) "self",(char *) "toolTip", NULL
33704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33706 if (!SWIG_IsOK(res1
)) {
33707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33709 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33711 arg2
= wxString_in_helper(obj1
);
33712 if (arg2
== NULL
) SWIG_fail
;
33716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33717 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33718 wxPyEndAllowThreads(__tstate
);
33719 if (PyErr_Occurred()) SWIG_fail
;
33721 resultobj
= SWIG_Py_Void();
33736 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33737 PyObject
*resultobj
= 0;
33738 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33742 PyObject
*swig_obj
[1] ;
33744 if (!args
) SWIG_fail
;
33745 swig_obj
[0] = args
;
33746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33747 if (!SWIG_IsOK(res1
)) {
33748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33750 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33753 result
= (arg1
)->GetToolTip();
33754 wxPyEndAllowThreads(__tstate
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33770 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33773 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33774 return SWIG_Py_Void();
33777 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33778 return SWIG_Python_InitShadowInstance(args
);
33781 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33782 PyObject
*resultobj
= 0;
33783 wxWindow
*arg1
= (wxWindow
*) 0 ;
33784 int arg2
= (int) -1 ;
33785 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33786 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33787 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33788 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33789 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33790 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33791 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33792 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33793 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33794 wxPyTreeCtrl
*result
= 0 ;
33805 bool temp7
= false ;
33806 PyObject
* obj0
= 0 ;
33807 PyObject
* obj1
= 0 ;
33808 PyObject
* obj2
= 0 ;
33809 PyObject
* obj3
= 0 ;
33810 PyObject
* obj4
= 0 ;
33811 PyObject
* obj5
= 0 ;
33812 PyObject
* obj6
= 0 ;
33813 char * kwnames
[] = {
33814 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33819 if (!SWIG_IsOK(res1
)) {
33820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33822 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33825 if (!SWIG_IsOK(ecode2
)) {
33826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33828 arg2
= static_cast< int >(val2
);
33833 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33839 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33843 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33844 if (!SWIG_IsOK(ecode5
)) {
33845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33847 arg5
= static_cast< long >(val5
);
33850 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33851 if (!SWIG_IsOK(res6
)) {
33852 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33857 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33861 arg7
= wxString_in_helper(obj6
);
33862 if (arg7
== NULL
) SWIG_fail
;
33867 if (!wxPyCheckForApp()) SWIG_fail
;
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33888 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33889 PyObject
*resultobj
= 0;
33890 wxPyTreeCtrl
*result
= 0 ;
33892 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33894 if (!wxPyCheckForApp()) SWIG_fail
;
33895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33896 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33907 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33908 PyObject
*resultobj
= 0;
33909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33910 wxWindow
*arg2
= (wxWindow
*) 0 ;
33911 int arg3
= (int) -1 ;
33912 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33913 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33914 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33915 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33916 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33917 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33918 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33919 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33920 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33934 bool temp8
= false ;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 PyObject
* obj2
= 0 ;
33938 PyObject
* obj3
= 0 ;
33939 PyObject
* obj4
= 0 ;
33940 PyObject
* obj5
= 0 ;
33941 PyObject
* obj6
= 0 ;
33942 PyObject
* obj7
= 0 ;
33943 char * kwnames
[] = {
33944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33949 if (!SWIG_IsOK(res1
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33952 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33953 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33954 if (!SWIG_IsOK(res2
)) {
33955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33957 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33960 if (!SWIG_IsOK(ecode3
)) {
33961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33963 arg3
= static_cast< int >(val3
);
33968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33978 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33979 if (!SWIG_IsOK(ecode6
)) {
33980 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33982 arg6
= static_cast< long >(val6
);
33985 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33986 if (!SWIG_IsOK(res7
)) {
33987 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33992 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33996 arg8
= wxString_in_helper(obj7
);
33997 if (arg8
== NULL
) SWIG_fail
;
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34004 wxPyEndAllowThreads(__tstate
);
34005 if (PyErr_Occurred()) SWIG_fail
;
34008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34024 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34025 PyObject
*resultobj
= 0;
34026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34027 PyObject
*arg2
= (PyObject
*) 0 ;
34028 PyObject
*arg3
= (PyObject
*) 0 ;
34031 PyObject
* obj0
= 0 ;
34032 PyObject
* obj1
= 0 ;
34033 PyObject
* obj2
= 0 ;
34034 char * kwnames
[] = {
34035 (char *) "self",(char *) "self",(char *) "_class", NULL
34038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34040 if (!SWIG_IsOK(res1
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34043 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34048 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34049 wxPyEndAllowThreads(__tstate
);
34050 if (PyErr_Occurred()) SWIG_fail
;
34052 resultobj
= SWIG_Py_Void();
34059 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34060 PyObject
*resultobj
= 0;
34061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34062 unsigned int result
;
34065 PyObject
*swig_obj
[1] ;
34067 if (!args
) SWIG_fail
;
34068 swig_obj
[0] = args
;
34069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34070 if (!SWIG_IsOK(res1
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34073 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34076 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34080 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34087 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34088 PyObject
*resultobj
= 0;
34089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34090 unsigned int result
;
34093 PyObject
*swig_obj
[1] ;
34095 if (!args
) SWIG_fail
;
34096 swig_obj
[0] = args
;
34097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34098 if (!SWIG_IsOK(res1
)) {
34099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34101 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34104 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34105 wxPyEndAllowThreads(__tstate
);
34106 if (PyErr_Occurred()) SWIG_fail
;
34108 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34115 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34116 PyObject
*resultobj
= 0;
34117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34118 unsigned int arg2
;
34121 unsigned int val2
;
34123 PyObject
* obj0
= 0 ;
34124 PyObject
* obj1
= 0 ;
34125 char * kwnames
[] = {
34126 (char *) "self",(char *) "indent", NULL
34129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34131 if (!SWIG_IsOK(res1
)) {
34132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34134 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34135 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34136 if (!SWIG_IsOK(ecode2
)) {
34137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34139 arg2
= static_cast< unsigned int >(val2
);
34141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34142 (arg1
)->SetIndent(arg2
);
34143 wxPyEndAllowThreads(__tstate
);
34144 if (PyErr_Occurred()) SWIG_fail
;
34146 resultobj
= SWIG_Py_Void();
34153 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34154 PyObject
*resultobj
= 0;
34155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34156 unsigned int result
;
34159 PyObject
*swig_obj
[1] ;
34161 if (!args
) SWIG_fail
;
34162 swig_obj
[0] = args
;
34163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34164 if (!SWIG_IsOK(res1
)) {
34165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34167 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34170 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34171 wxPyEndAllowThreads(__tstate
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34174 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34181 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34182 PyObject
*resultobj
= 0;
34183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34184 unsigned int arg2
;
34187 unsigned int val2
;
34189 PyObject
* obj0
= 0 ;
34190 PyObject
* obj1
= 0 ;
34191 char * kwnames
[] = {
34192 (char *) "self",(char *) "spacing", NULL
34195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34197 if (!SWIG_IsOK(res1
)) {
34198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34200 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34201 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34202 if (!SWIG_IsOK(ecode2
)) {
34203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34205 arg2
= static_cast< unsigned int >(val2
);
34207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 (arg1
)->SetSpacing(arg2
);
34209 wxPyEndAllowThreads(__tstate
);
34210 if (PyErr_Occurred()) SWIG_fail
;
34212 resultobj
= SWIG_Py_Void();
34219 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34220 PyObject
*resultobj
= 0;
34221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34222 wxImageList
*result
= 0 ;
34225 PyObject
*swig_obj
[1] ;
34227 if (!args
) SWIG_fail
;
34228 swig_obj
[0] = args
;
34229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34230 if (!SWIG_IsOK(res1
)) {
34231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34233 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34236 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34237 wxPyEndAllowThreads(__tstate
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34241 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34249 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34250 PyObject
*resultobj
= 0;
34251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34252 wxImageList
*result
= 0 ;
34255 PyObject
*swig_obj
[1] ;
34257 if (!args
) SWIG_fail
;
34258 swig_obj
[0] = args
;
34259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34260 if (!SWIG_IsOK(res1
)) {
34261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34263 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34266 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34271 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34279 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34280 PyObject
*resultobj
= 0;
34281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34282 wxImageList
*arg2
= (wxImageList
*) 0 ;
34287 PyObject
* obj0
= 0 ;
34288 PyObject
* obj1
= 0 ;
34289 char * kwnames
[] = {
34290 (char *) "self",(char *) "imageList", NULL
34293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34295 if (!SWIG_IsOK(res1
)) {
34296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34298 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34300 if (!SWIG_IsOK(res2
)) {
34301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34303 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34306 (arg1
)->SetImageList(arg2
);
34307 wxPyEndAllowThreads(__tstate
);
34308 if (PyErr_Occurred()) SWIG_fail
;
34310 resultobj
= SWIG_Py_Void();
34317 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
= 0;
34319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34320 wxImageList
*arg2
= (wxImageList
*) 0 ;
34325 PyObject
* obj0
= 0 ;
34326 PyObject
* obj1
= 0 ;
34327 char * kwnames
[] = {
34328 (char *) "self",(char *) "imageList", NULL
34331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34333 if (!SWIG_IsOK(res1
)) {
34334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34336 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34338 if (!SWIG_IsOK(res2
)) {
34339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34341 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34344 (arg1
)->SetStateImageList(arg2
);
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= SWIG_Py_Void();
34355 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34356 PyObject
*resultobj
= 0;
34357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34358 wxImageList
*arg2
= (wxImageList
*) 0 ;
34362 PyObject
* obj0
= 0 ;
34363 PyObject
* obj1
= 0 ;
34364 char * kwnames
[] = {
34365 (char *) "self",(char *) "imageList", NULL
34368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34370 if (!SWIG_IsOK(res1
)) {
34371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34373 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34374 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34375 if (!SWIG_IsOK(res2
)) {
34376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34380 (arg1
)->AssignImageList(arg2
);
34381 wxPyEndAllowThreads(__tstate
);
34382 if (PyErr_Occurred()) SWIG_fail
;
34384 resultobj
= SWIG_Py_Void();
34391 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34392 PyObject
*resultobj
= 0;
34393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34394 wxImageList
*arg2
= (wxImageList
*) 0 ;
34398 PyObject
* obj0
= 0 ;
34399 PyObject
* obj1
= 0 ;
34400 char * kwnames
[] = {
34401 (char *) "self",(char *) "imageList", NULL
34404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34406 if (!SWIG_IsOK(res1
)) {
34407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34409 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34410 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34411 if (!SWIG_IsOK(res2
)) {
34412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 (arg1
)->AssignStateImageList(arg2
);
34417 wxPyEndAllowThreads(__tstate
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34420 resultobj
= SWIG_Py_Void();
34427 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34428 PyObject
*resultobj
= 0;
34429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34430 wxTreeItemId
*arg2
= 0 ;
34436 PyObject
* obj0
= 0 ;
34437 PyObject
* obj1
= 0 ;
34438 char * kwnames
[] = {
34439 (char *) "self",(char *) "item", NULL
34442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34444 if (!SWIG_IsOK(res1
)) {
34445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34447 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34449 if (!SWIG_IsOK(res2
)) {
34450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34455 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34458 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34459 wxPyEndAllowThreads(__tstate
);
34460 if (PyErr_Occurred()) SWIG_fail
;
34464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34475 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34476 PyObject
*resultobj
= 0;
34477 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34478 wxTreeItemId
*arg2
= 0 ;
34479 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34487 PyObject
* obj0
= 0 ;
34488 PyObject
* obj1
= 0 ;
34489 PyObject
* obj2
= 0 ;
34490 char * kwnames
[] = {
34491 (char *) "self",(char *) "item",(char *) "which", NULL
34494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34496 if (!SWIG_IsOK(res1
)) {
34497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34499 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34501 if (!SWIG_IsOK(res2
)) {
34502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34507 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34510 if (!SWIG_IsOK(ecode3
)) {
34511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34513 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34518 wxPyEndAllowThreads(__tstate
);
34519 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= SWIG_From_int(static_cast< int >(result
));
34528 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34529 PyObject
*resultobj
= 0;
34530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34531 wxTreeItemId
*arg2
= 0 ;
34532 wxPyTreeItemData
*result
= 0 ;
34537 PyObject
* obj0
= 0 ;
34538 PyObject
* obj1
= 0 ;
34539 char * kwnames
[] = {
34540 (char *) "self",(char *) "item", NULL
34543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34545 if (!SWIG_IsOK(res1
)) {
34546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34548 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34550 if (!SWIG_IsOK(res2
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34556 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34559 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34560 wxPyEndAllowThreads(__tstate
);
34561 if (PyErr_Occurred()) SWIG_fail
;
34563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34570 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34571 PyObject
*resultobj
= 0;
34572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34573 wxTreeItemId
*arg2
= 0 ;
34574 PyObject
*result
= 0 ;
34579 PyObject
* obj0
= 0 ;
34580 PyObject
* obj1
= 0 ;
34581 char * kwnames
[] = {
34582 (char *) "self",(char *) "item", NULL
34585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34587 if (!SWIG_IsOK(res1
)) {
34588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34590 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34591 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34592 if (!SWIG_IsOK(res2
)) {
34593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34598 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34601 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34602 wxPyEndAllowThreads(__tstate
);
34603 if (PyErr_Occurred()) SWIG_fail
;
34605 resultobj
= result
;
34612 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34613 PyObject
*resultobj
= 0;
34614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34615 wxTreeItemId
*arg2
= 0 ;
34621 PyObject
* obj0
= 0 ;
34622 PyObject
* obj1
= 0 ;
34623 char * kwnames
[] = {
34624 (char *) "self",(char *) "item", NULL
34627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34629 if (!SWIG_IsOK(res1
)) {
34630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34632 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34634 if (!SWIG_IsOK(res2
)) {
34635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34640 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34643 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34644 wxPyEndAllowThreads(__tstate
);
34645 if (PyErr_Occurred()) SWIG_fail
;
34647 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34654 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34655 PyObject
*resultobj
= 0;
34656 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34657 wxTreeItemId
*arg2
= 0 ;
34663 PyObject
* obj0
= 0 ;
34664 PyObject
* obj1
= 0 ;
34665 char * kwnames
[] = {
34666 (char *) "self",(char *) "item", NULL
34669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34671 if (!SWIG_IsOK(res1
)) {
34672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34674 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34676 if (!SWIG_IsOK(res2
)) {
34677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34682 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34689 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34696 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34697 PyObject
*resultobj
= 0;
34698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34699 wxTreeItemId
*arg2
= 0 ;
34705 PyObject
* obj0
= 0 ;
34706 PyObject
* obj1
= 0 ;
34707 char * kwnames
[] = {
34708 (char *) "self",(char *) "item", NULL
34711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34713 if (!SWIG_IsOK(res1
)) {
34714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34716 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34718 if (!SWIG_IsOK(res2
)) {
34719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34724 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34727 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34728 wxPyEndAllowThreads(__tstate
);
34729 if (PyErr_Occurred()) SWIG_fail
;
34731 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34738 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34739 PyObject
*resultobj
= 0;
34740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34741 wxTreeItemId
*arg2
= 0 ;
34742 wxString
*arg3
= 0 ;
34747 bool temp3
= false ;
34748 PyObject
* obj0
= 0 ;
34749 PyObject
* obj1
= 0 ;
34750 PyObject
* obj2
= 0 ;
34751 char * kwnames
[] = {
34752 (char *) "self",(char *) "item",(char *) "text", NULL
34755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34757 if (!SWIG_IsOK(res1
)) {
34758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34760 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34762 if (!SWIG_IsOK(res2
)) {
34763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34768 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34770 arg3
= wxString_in_helper(obj2
);
34771 if (arg3
== NULL
) SWIG_fail
;
34775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34776 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= SWIG_Py_Void();
34795 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34796 PyObject
*resultobj
= 0;
34797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34798 wxTreeItemId
*arg2
= 0 ;
34800 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34809 PyObject
* obj0
= 0 ;
34810 PyObject
* obj1
= 0 ;
34811 PyObject
* obj2
= 0 ;
34812 PyObject
* obj3
= 0 ;
34813 char * kwnames
[] = {
34814 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34819 if (!SWIG_IsOK(res1
)) {
34820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34822 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34824 if (!SWIG_IsOK(res2
)) {
34825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34830 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34832 if (!SWIG_IsOK(ecode3
)) {
34833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34835 arg3
= static_cast< int >(val3
);
34837 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34838 if (!SWIG_IsOK(ecode4
)) {
34839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34841 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34845 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34846 wxPyEndAllowThreads(__tstate
);
34847 if (PyErr_Occurred()) SWIG_fail
;
34849 resultobj
= SWIG_Py_Void();
34856 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34857 PyObject
*resultobj
= 0;
34858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34859 wxTreeItemId
*arg2
= 0 ;
34860 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34866 PyObject
* obj0
= 0 ;
34867 PyObject
* obj1
= 0 ;
34868 PyObject
* obj2
= 0 ;
34869 char * kwnames
[] = {
34870 (char *) "self",(char *) "item",(char *) "data", NULL
34873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34875 if (!SWIG_IsOK(res1
)) {
34876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34878 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34880 if (!SWIG_IsOK(res2
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34886 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34887 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34888 if (!SWIG_IsOK(res3
)) {
34889 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34893 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34894 wxPyEndAllowThreads(__tstate
);
34895 if (PyErr_Occurred()) SWIG_fail
;
34897 resultobj
= SWIG_Py_Void();
34904 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34905 PyObject
*resultobj
= 0;
34906 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34907 wxTreeItemId
*arg2
= 0 ;
34908 PyObject
*arg3
= (PyObject
*) 0 ;
34913 PyObject
* obj0
= 0 ;
34914 PyObject
* obj1
= 0 ;
34915 PyObject
* obj2
= 0 ;
34916 char * kwnames
[] = {
34917 (char *) "self",(char *) "item",(char *) "obj", NULL
34920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34922 if (!SWIG_IsOK(res1
)) {
34923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34925 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34927 if (!SWIG_IsOK(res2
)) {
34928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34933 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34937 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34938 wxPyEndAllowThreads(__tstate
);
34939 if (PyErr_Occurred()) SWIG_fail
;
34941 resultobj
= SWIG_Py_Void();
34948 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34949 PyObject
*resultobj
= 0;
34950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34951 wxTreeItemId
*arg2
= 0 ;
34952 bool arg3
= (bool) true ;
34959 PyObject
* obj0
= 0 ;
34960 PyObject
* obj1
= 0 ;
34961 PyObject
* obj2
= 0 ;
34962 char * kwnames
[] = {
34963 (char *) "self",(char *) "item",(char *) "has", NULL
34966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34968 if (!SWIG_IsOK(res1
)) {
34969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34971 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34973 if (!SWIG_IsOK(res2
)) {
34974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34979 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34981 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34982 if (!SWIG_IsOK(ecode3
)) {
34983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34985 arg3
= static_cast< bool >(val3
);
34988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34989 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34990 wxPyEndAllowThreads(__tstate
);
34991 if (PyErr_Occurred()) SWIG_fail
;
34993 resultobj
= SWIG_Py_Void();
35000 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35001 PyObject
*resultobj
= 0;
35002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35003 wxTreeItemId
*arg2
= 0 ;
35004 bool arg3
= (bool) true ;
35011 PyObject
* obj0
= 0 ;
35012 PyObject
* obj1
= 0 ;
35013 PyObject
* obj2
= 0 ;
35014 char * kwnames
[] = {
35015 (char *) "self",(char *) "item",(char *) "bold", NULL
35018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35020 if (!SWIG_IsOK(res1
)) {
35021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35023 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35025 if (!SWIG_IsOK(res2
)) {
35026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35031 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35033 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35034 if (!SWIG_IsOK(ecode3
)) {
35035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35037 arg3
= static_cast< bool >(val3
);
35040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35041 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35045 resultobj
= SWIG_Py_Void();
35052 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35053 PyObject
*resultobj
= 0;
35054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35055 wxTreeItemId
*arg2
= 0 ;
35056 bool arg3
= (bool) true ;
35063 PyObject
* obj0
= 0 ;
35064 PyObject
* obj1
= 0 ;
35065 PyObject
* obj2
= 0 ;
35066 char * kwnames
[] = {
35067 (char *) "self",(char *) "item",(char *) "highlight", NULL
35070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35072 if (!SWIG_IsOK(res1
)) {
35073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35075 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35077 if (!SWIG_IsOK(res2
)) {
35078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35083 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35085 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35086 if (!SWIG_IsOK(ecode3
)) {
35087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35089 arg3
= static_cast< bool >(val3
);
35092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35093 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35094 wxPyEndAllowThreads(__tstate
);
35095 if (PyErr_Occurred()) SWIG_fail
;
35097 resultobj
= SWIG_Py_Void();
35104 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35105 PyObject
*resultobj
= 0;
35106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35107 wxTreeItemId
*arg2
= 0 ;
35108 wxColour
*arg3
= 0 ;
35114 PyObject
* obj0
= 0 ;
35115 PyObject
* obj1
= 0 ;
35116 PyObject
* obj2
= 0 ;
35117 char * kwnames
[] = {
35118 (char *) "self",(char *) "item",(char *) "col", NULL
35121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35123 if (!SWIG_IsOK(res1
)) {
35124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35126 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35128 if (!SWIG_IsOK(res2
)) {
35129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35134 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35137 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35142 wxPyEndAllowThreads(__tstate
);
35143 if (PyErr_Occurred()) SWIG_fail
;
35145 resultobj
= SWIG_Py_Void();
35152 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35153 PyObject
*resultobj
= 0;
35154 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35155 wxTreeItemId
*arg2
= 0 ;
35156 wxColour
*arg3
= 0 ;
35162 PyObject
* obj0
= 0 ;
35163 PyObject
* obj1
= 0 ;
35164 PyObject
* obj2
= 0 ;
35165 char * kwnames
[] = {
35166 (char *) "self",(char *) "item",(char *) "col", NULL
35169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35171 if (!SWIG_IsOK(res1
)) {
35172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35174 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35176 if (!SWIG_IsOK(res2
)) {
35177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35182 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35185 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35189 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35190 wxPyEndAllowThreads(__tstate
);
35191 if (PyErr_Occurred()) SWIG_fail
;
35193 resultobj
= SWIG_Py_Void();
35200 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35201 PyObject
*resultobj
= 0;
35202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35203 wxTreeItemId
*arg2
= 0 ;
35211 PyObject
* obj0
= 0 ;
35212 PyObject
* obj1
= 0 ;
35213 PyObject
* obj2
= 0 ;
35214 char * kwnames
[] = {
35215 (char *) "self",(char *) "item",(char *) "font", NULL
35218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35220 if (!SWIG_IsOK(res1
)) {
35221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35225 if (!SWIG_IsOK(res2
)) {
35226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35231 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35232 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35233 if (!SWIG_IsOK(res3
)) {
35234 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35239 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35242 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35246 resultobj
= SWIG_Py_Void();
35253 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35254 PyObject
*resultobj
= 0;
35255 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35256 wxTreeItemId
*arg2
= 0 ;
35262 PyObject
* obj0
= 0 ;
35263 PyObject
* obj1
= 0 ;
35264 char * kwnames
[] = {
35265 (char *) "self",(char *) "item", NULL
35268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35270 if (!SWIG_IsOK(res1
)) {
35271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35273 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35275 if (!SWIG_IsOK(res2
)) {
35276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35281 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35284 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35285 wxPyEndAllowThreads(__tstate
);
35286 if (PyErr_Occurred()) SWIG_fail
;
35289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35297 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
= 0;
35299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35300 wxTreeItemId
*arg2
= 0 ;
35306 PyObject
* obj0
= 0 ;
35307 PyObject
* obj1
= 0 ;
35308 char * kwnames
[] = {
35309 (char *) "self",(char *) "item", NULL
35312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35314 if (!SWIG_IsOK(res1
)) {
35315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35317 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35319 if (!SWIG_IsOK(res2
)) {
35320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35325 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35328 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35329 wxPyEndAllowThreads(__tstate
);
35330 if (PyErr_Occurred()) SWIG_fail
;
35333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35341 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35342 PyObject
*resultobj
= 0;
35343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35344 wxTreeItemId
*arg2
= 0 ;
35350 PyObject
* obj0
= 0 ;
35351 PyObject
* obj1
= 0 ;
35352 char * kwnames
[] = {
35353 (char *) "self",(char *) "item", NULL
35356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35358 if (!SWIG_IsOK(res1
)) {
35359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35361 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35362 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35363 if (!SWIG_IsOK(res2
)) {
35364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35369 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35372 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35373 wxPyEndAllowThreads(__tstate
);
35374 if (PyErr_Occurred()) SWIG_fail
;
35377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35385 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35386 PyObject
*resultobj
= 0;
35387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35388 wxTreeItemId
*arg2
= 0 ;
35394 PyObject
* obj0
= 0 ;
35395 PyObject
* obj1
= 0 ;
35396 char * kwnames
[] = {
35397 (char *) "self",(char *) "item", NULL
35400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35402 if (!SWIG_IsOK(res1
)) {
35403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35407 if (!SWIG_IsOK(res2
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35413 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35416 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35429 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35430 PyObject
*resultobj
= 0;
35431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35432 wxTreeItemId
*arg2
= 0 ;
35438 PyObject
* obj0
= 0 ;
35439 PyObject
* obj1
= 0 ;
35440 char * kwnames
[] = {
35441 (char *) "self",(char *) "item", NULL
35444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35446 if (!SWIG_IsOK(res1
)) {
35447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35449 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35451 if (!SWIG_IsOK(res2
)) {
35452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35457 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35460 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35461 wxPyEndAllowThreads(__tstate
);
35462 if (PyErr_Occurred()) SWIG_fail
;
35465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35473 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35474 PyObject
*resultobj
= 0;
35475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35476 wxTreeItemId
*arg2
= 0 ;
35477 bool arg3
= (bool) true ;
35485 PyObject
* obj0
= 0 ;
35486 PyObject
* obj1
= 0 ;
35487 PyObject
* obj2
= 0 ;
35488 char * kwnames
[] = {
35489 (char *) "self",(char *) "item",(char *) "recursively", NULL
35492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35494 if (!SWIG_IsOK(res1
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35497 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35499 if (!SWIG_IsOK(res2
)) {
35500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35505 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35508 if (!SWIG_IsOK(ecode3
)) {
35509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35511 arg3
= static_cast< bool >(val3
);
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35516 wxPyEndAllowThreads(__tstate
);
35517 if (PyErr_Occurred()) SWIG_fail
;
35519 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35526 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35527 PyObject
*resultobj
= 0;
35528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35529 wxTreeItemId result
;
35532 PyObject
*swig_obj
[1] ;
35534 if (!args
) SWIG_fail
;
35535 swig_obj
[0] = args
;
35536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35537 if (!SWIG_IsOK(res1
)) {
35538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35540 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35544 wxPyEndAllowThreads(__tstate
);
35545 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35554 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35555 PyObject
*resultobj
= 0;
35556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35557 wxTreeItemId result
;
35560 PyObject
*swig_obj
[1] ;
35562 if (!args
) SWIG_fail
;
35563 swig_obj
[0] = args
;
35564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35565 if (!SWIG_IsOK(res1
)) {
35566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35568 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35572 wxPyEndAllowThreads(__tstate
);
35573 if (PyErr_Occurred()) SWIG_fail
;
35575 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35582 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35583 PyObject
*resultobj
= 0;
35584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35585 PyObject
*result
= 0 ;
35588 PyObject
*swig_obj
[1] ;
35590 if (!args
) SWIG_fail
;
35591 swig_obj
[0] = args
;
35592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35593 if (!SWIG_IsOK(res1
)) {
35594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35596 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35603 resultobj
= result
;
35610 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35611 PyObject
*resultobj
= 0;
35612 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35613 wxTreeItemId
*arg2
= 0 ;
35614 wxTreeItemId result
;
35619 PyObject
* obj0
= 0 ;
35620 PyObject
* obj1
= 0 ;
35621 char * kwnames
[] = {
35622 (char *) "self",(char *) "item", NULL
35625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35627 if (!SWIG_IsOK(res1
)) {
35628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35630 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35632 if (!SWIG_IsOK(res2
)) {
35633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35638 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35641 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35642 wxPyEndAllowThreads(__tstate
);
35643 if (PyErr_Occurred()) SWIG_fail
;
35645 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35652 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35653 PyObject
*resultobj
= 0;
35654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35655 wxTreeItemId
*arg2
= 0 ;
35656 PyObject
*result
= 0 ;
35661 PyObject
* obj0
= 0 ;
35662 PyObject
* obj1
= 0 ;
35663 char * kwnames
[] = {
35664 (char *) "self",(char *) "item", NULL
35667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35669 if (!SWIG_IsOK(res1
)) {
35670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35672 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35674 if (!SWIG_IsOK(res2
)) {
35675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35680 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35683 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35684 wxPyEndAllowThreads(__tstate
);
35685 if (PyErr_Occurred()) SWIG_fail
;
35687 resultobj
= result
;
35694 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35695 PyObject
*resultobj
= 0;
35696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35697 wxTreeItemId
*arg2
= 0 ;
35698 void *arg3
= (void *) 0 ;
35699 PyObject
*result
= 0 ;
35705 PyObject
* obj0
= 0 ;
35706 PyObject
* obj1
= 0 ;
35707 PyObject
* obj2
= 0 ;
35708 char * kwnames
[] = {
35709 (char *) "self",(char *) "item",(char *) "cookie", NULL
35712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35714 if (!SWIG_IsOK(res1
)) {
35715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35717 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35718 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35719 if (!SWIG_IsOK(res2
)) {
35720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35725 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35726 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35727 if (!SWIG_IsOK(res3
)) {
35728 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35732 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35733 wxPyEndAllowThreads(__tstate
);
35734 if (PyErr_Occurred()) SWIG_fail
;
35736 resultobj
= result
;
35743 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35744 PyObject
*resultobj
= 0;
35745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35746 wxTreeItemId
*arg2
= 0 ;
35747 wxTreeItemId result
;
35752 PyObject
* obj0
= 0 ;
35753 PyObject
* obj1
= 0 ;
35754 char * kwnames
[] = {
35755 (char *) "self",(char *) "item", NULL
35758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35760 if (!SWIG_IsOK(res1
)) {
35761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35763 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35764 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35765 if (!SWIG_IsOK(res2
)) {
35766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35771 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35774 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35775 wxPyEndAllowThreads(__tstate
);
35776 if (PyErr_Occurred()) SWIG_fail
;
35778 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35785 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35786 PyObject
*resultobj
= 0;
35787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35788 wxTreeItemId
*arg2
= 0 ;
35789 wxTreeItemId result
;
35794 PyObject
* obj0
= 0 ;
35795 PyObject
* obj1
= 0 ;
35796 char * kwnames
[] = {
35797 (char *) "self",(char *) "item", NULL
35800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35802 if (!SWIG_IsOK(res1
)) {
35803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35805 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35806 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35807 if (!SWIG_IsOK(res2
)) {
35808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35813 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35816 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35817 wxPyEndAllowThreads(__tstate
);
35818 if (PyErr_Occurred()) SWIG_fail
;
35820 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35827 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35828 PyObject
*resultobj
= 0;
35829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35830 wxTreeItemId
*arg2
= 0 ;
35831 wxTreeItemId result
;
35836 PyObject
* obj0
= 0 ;
35837 PyObject
* obj1
= 0 ;
35838 char * kwnames
[] = {
35839 (char *) "self",(char *) "item", NULL
35842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35844 if (!SWIG_IsOK(res1
)) {
35845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35847 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35849 if (!SWIG_IsOK(res2
)) {
35850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35855 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35858 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35859 wxPyEndAllowThreads(__tstate
);
35860 if (PyErr_Occurred()) SWIG_fail
;
35862 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35869 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35870 PyObject
*resultobj
= 0;
35871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35872 wxTreeItemId result
;
35875 PyObject
*swig_obj
[1] ;
35877 if (!args
) SWIG_fail
;
35878 swig_obj
[0] = args
;
35879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35880 if (!SWIG_IsOK(res1
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35886 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35887 wxPyEndAllowThreads(__tstate
);
35888 if (PyErr_Occurred()) SWIG_fail
;
35890 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35897 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35898 PyObject
*resultobj
= 0;
35899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35900 wxTreeItemId
*arg2
= 0 ;
35901 wxTreeItemId result
;
35906 PyObject
* obj0
= 0 ;
35907 PyObject
* obj1
= 0 ;
35908 char * kwnames
[] = {
35909 (char *) "self",(char *) "item", NULL
35912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35914 if (!SWIG_IsOK(res1
)) {
35915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35917 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35919 if (!SWIG_IsOK(res2
)) {
35920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35925 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35928 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35929 wxPyEndAllowThreads(__tstate
);
35930 if (PyErr_Occurred()) SWIG_fail
;
35932 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35939 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35940 PyObject
*resultobj
= 0;
35941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35942 wxTreeItemId
*arg2
= 0 ;
35943 wxTreeItemId result
;
35948 PyObject
* obj0
= 0 ;
35949 PyObject
* obj1
= 0 ;
35950 char * kwnames
[] = {
35951 (char *) "self",(char *) "item", NULL
35954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35956 if (!SWIG_IsOK(res1
)) {
35957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35959 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35961 if (!SWIG_IsOK(res2
)) {
35962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35967 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35970 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35981 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
= 0;
35983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35984 wxString
*arg2
= 0 ;
35985 int arg3
= (int) -1 ;
35986 int arg4
= (int) -1 ;
35987 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35988 wxTreeItemId result
;
35991 bool temp2
= false ;
35997 PyObject
* obj0
= 0 ;
35998 PyObject
* obj1
= 0 ;
35999 PyObject
* obj2
= 0 ;
36000 PyObject
* obj3
= 0 ;
36001 PyObject
* obj4
= 0 ;
36002 char * kwnames
[] = {
36003 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36008 if (!SWIG_IsOK(res1
)) {
36009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36011 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36013 arg2
= wxString_in_helper(obj1
);
36014 if (arg2
== NULL
) SWIG_fail
;
36018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36019 if (!SWIG_IsOK(ecode3
)) {
36020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36022 arg3
= static_cast< int >(val3
);
36025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36026 if (!SWIG_IsOK(ecode4
)) {
36027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36029 arg4
= static_cast< int >(val4
);
36032 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36033 if (!SWIG_IsOK(res5
)) {
36034 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36039 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36040 wxPyEndAllowThreads(__tstate
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36043 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36058 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36059 PyObject
*resultobj
= 0;
36060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36061 wxTreeItemId
*arg2
= 0 ;
36062 wxString
*arg3
= 0 ;
36063 int arg4
= (int) -1 ;
36064 int arg5
= (int) -1 ;
36065 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36066 wxTreeItemId result
;
36071 bool temp3
= false ;
36077 PyObject
* obj0
= 0 ;
36078 PyObject
* obj1
= 0 ;
36079 PyObject
* obj2
= 0 ;
36080 PyObject
* obj3
= 0 ;
36081 PyObject
* obj4
= 0 ;
36082 PyObject
* obj5
= 0 ;
36083 char * kwnames
[] = {
36084 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36089 if (!SWIG_IsOK(res1
)) {
36090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36092 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36094 if (!SWIG_IsOK(res2
)) {
36095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36100 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36102 arg3
= wxString_in_helper(obj2
);
36103 if (arg3
== NULL
) SWIG_fail
;
36107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36108 if (!SWIG_IsOK(ecode4
)) {
36109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36111 arg4
= static_cast< int >(val4
);
36114 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36115 if (!SWIG_IsOK(ecode5
)) {
36116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36118 arg5
= static_cast< int >(val5
);
36121 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36122 if (!SWIG_IsOK(res6
)) {
36123 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36128 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36129 wxPyEndAllowThreads(__tstate
);
36130 if (PyErr_Occurred()) SWIG_fail
;
36132 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36147 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36148 PyObject
*resultobj
= 0;
36149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36150 wxTreeItemId
*arg2
= 0 ;
36151 wxTreeItemId
*arg3
= 0 ;
36152 wxString
*arg4
= 0 ;
36153 int arg5
= (int) -1 ;
36154 int arg6
= (int) -1 ;
36155 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36156 wxTreeItemId result
;
36163 bool temp4
= false ;
36169 PyObject
* obj0
= 0 ;
36170 PyObject
* obj1
= 0 ;
36171 PyObject
* obj2
= 0 ;
36172 PyObject
* obj3
= 0 ;
36173 PyObject
* obj4
= 0 ;
36174 PyObject
* obj5
= 0 ;
36175 PyObject
* obj6
= 0 ;
36176 char * kwnames
[] = {
36177 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36182 if (!SWIG_IsOK(res1
)) {
36183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36185 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36187 if (!SWIG_IsOK(res2
)) {
36188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36193 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36194 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36195 if (!SWIG_IsOK(res3
)) {
36196 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36201 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36203 arg4
= wxString_in_helper(obj3
);
36204 if (arg4
== NULL
) SWIG_fail
;
36208 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36209 if (!SWIG_IsOK(ecode5
)) {
36210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36212 arg5
= static_cast< int >(val5
);
36215 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36216 if (!SWIG_IsOK(ecode6
)) {
36217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36219 arg6
= static_cast< int >(val6
);
36222 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36223 if (!SWIG_IsOK(res7
)) {
36224 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36229 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36230 wxPyEndAllowThreads(__tstate
);
36231 if (PyErr_Occurred()) SWIG_fail
;
36233 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36248 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36249 PyObject
*resultobj
= 0;
36250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36251 wxTreeItemId
*arg2
= 0 ;
36253 wxString
*arg4
= 0 ;
36254 int arg5
= (int) -1 ;
36255 int arg6
= (int) -1 ;
36256 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36257 wxTreeItemId result
;
36264 bool temp4
= false ;
36270 PyObject
* obj0
= 0 ;
36271 PyObject
* obj1
= 0 ;
36272 PyObject
* obj2
= 0 ;
36273 PyObject
* obj3
= 0 ;
36274 PyObject
* obj4
= 0 ;
36275 PyObject
* obj5
= 0 ;
36276 PyObject
* obj6
= 0 ;
36277 char * kwnames
[] = {
36278 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36283 if (!SWIG_IsOK(res1
)) {
36284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36286 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36288 if (!SWIG_IsOK(res2
)) {
36289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36294 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36295 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36296 if (!SWIG_IsOK(ecode3
)) {
36297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36299 arg3
= static_cast< size_t >(val3
);
36301 arg4
= wxString_in_helper(obj3
);
36302 if (arg4
== NULL
) SWIG_fail
;
36306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36307 if (!SWIG_IsOK(ecode5
)) {
36308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36310 arg5
= static_cast< int >(val5
);
36313 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36314 if (!SWIG_IsOK(ecode6
)) {
36315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36317 arg6
= static_cast< int >(val6
);
36320 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36321 if (!SWIG_IsOK(res7
)) {
36322 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36327 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36328 wxPyEndAllowThreads(__tstate
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36331 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36346 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36347 PyObject
*resultobj
= 0;
36348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36349 wxTreeItemId
*arg2
= 0 ;
36350 wxString
*arg3
= 0 ;
36351 int arg4
= (int) -1 ;
36352 int arg5
= (int) -1 ;
36353 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36354 wxTreeItemId result
;
36359 bool temp3
= false ;
36365 PyObject
* obj0
= 0 ;
36366 PyObject
* obj1
= 0 ;
36367 PyObject
* obj2
= 0 ;
36368 PyObject
* obj3
= 0 ;
36369 PyObject
* obj4
= 0 ;
36370 PyObject
* obj5
= 0 ;
36371 char * kwnames
[] = {
36372 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36377 if (!SWIG_IsOK(res1
)) {
36378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36380 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36382 if (!SWIG_IsOK(res2
)) {
36383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36388 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36390 arg3
= wxString_in_helper(obj2
);
36391 if (arg3
== NULL
) SWIG_fail
;
36395 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36396 if (!SWIG_IsOK(ecode4
)) {
36397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36399 arg4
= static_cast< int >(val4
);
36402 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36403 if (!SWIG_IsOK(ecode5
)) {
36404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36406 arg5
= static_cast< int >(val5
);
36409 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36410 if (!SWIG_IsOK(res6
)) {
36411 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36435 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36436 PyObject
*resultobj
= 0;
36437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36438 wxTreeItemId
*arg2
= 0 ;
36443 PyObject
* obj0
= 0 ;
36444 PyObject
* obj1
= 0 ;
36445 char * kwnames
[] = {
36446 (char *) "self",(char *) "item", NULL
36449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36451 if (!SWIG_IsOK(res1
)) {
36452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36454 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36456 if (!SWIG_IsOK(res2
)) {
36457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36462 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36466 wxPyEndAllowThreads(__tstate
);
36467 if (PyErr_Occurred()) SWIG_fail
;
36469 resultobj
= SWIG_Py_Void();
36476 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36477 PyObject
*resultobj
= 0;
36478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36479 wxTreeItemId
*arg2
= 0 ;
36484 PyObject
* obj0
= 0 ;
36485 PyObject
* obj1
= 0 ;
36486 char * kwnames
[] = {
36487 (char *) "self",(char *) "item", NULL
36490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36492 if (!SWIG_IsOK(res1
)) {
36493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36495 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36497 if (!SWIG_IsOK(res2
)) {
36498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36503 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36506 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36507 wxPyEndAllowThreads(__tstate
);
36508 if (PyErr_Occurred()) SWIG_fail
;
36510 resultobj
= SWIG_Py_Void();
36517 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36518 PyObject
*resultobj
= 0;
36519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36522 PyObject
*swig_obj
[1] ;
36524 if (!args
) SWIG_fail
;
36525 swig_obj
[0] = args
;
36526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36527 if (!SWIG_IsOK(res1
)) {
36528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36530 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36533 (arg1
)->DeleteAllItems();
36534 wxPyEndAllowThreads(__tstate
);
36535 if (PyErr_Occurred()) SWIG_fail
;
36537 resultobj
= SWIG_Py_Void();
36544 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36545 PyObject
*resultobj
= 0;
36546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36547 wxTreeItemId
*arg2
= 0 ;
36552 PyObject
* obj0
= 0 ;
36553 PyObject
* obj1
= 0 ;
36554 char * kwnames
[] = {
36555 (char *) "self",(char *) "item", NULL
36558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36560 if (!SWIG_IsOK(res1
)) {
36561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36563 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36565 if (!SWIG_IsOK(res2
)) {
36566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36571 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36574 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36575 wxPyEndAllowThreads(__tstate
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36578 resultobj
= SWIG_Py_Void();
36585 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36586 PyObject
*resultobj
= 0;
36587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36588 wxTreeItemId
*arg2
= 0 ;
36593 PyObject
* obj0
= 0 ;
36594 PyObject
* obj1
= 0 ;
36595 char * kwnames
[] = {
36596 (char *) "self",(char *) "item", NULL
36599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36601 if (!SWIG_IsOK(res1
)) {
36602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36604 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36606 if (!SWIG_IsOK(res2
)) {
36607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36612 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36615 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36616 wxPyEndAllowThreads(__tstate
);
36617 if (PyErr_Occurred()) SWIG_fail
;
36619 resultobj
= SWIG_Py_Void();
36626 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36627 PyObject
*resultobj
= 0;
36628 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36631 PyObject
*swig_obj
[1] ;
36633 if (!args
) SWIG_fail
;
36634 swig_obj
[0] = args
;
36635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36636 if (!SWIG_IsOK(res1
)) {
36637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36639 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36642 (arg1
)->ExpandAll();
36643 wxPyEndAllowThreads(__tstate
);
36644 if (PyErr_Occurred()) SWIG_fail
;
36646 resultobj
= SWIG_Py_Void();
36653 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36654 PyObject
*resultobj
= 0;
36655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36656 wxTreeItemId
*arg2
= 0 ;
36661 PyObject
* obj0
= 0 ;
36662 PyObject
* obj1
= 0 ;
36663 char * kwnames
[] = {
36664 (char *) "self",(char *) "item", NULL
36667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36669 if (!SWIG_IsOK(res1
)) {
36670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36672 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36674 if (!SWIG_IsOK(res2
)) {
36675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36680 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36683 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36684 wxPyEndAllowThreads(__tstate
);
36685 if (PyErr_Occurred()) SWIG_fail
;
36687 resultobj
= SWIG_Py_Void();
36694 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36695 PyObject
*resultobj
= 0;
36696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36697 wxTreeItemId
*arg2
= 0 ;
36702 PyObject
* obj0
= 0 ;
36703 PyObject
* obj1
= 0 ;
36704 char * kwnames
[] = {
36705 (char *) "self",(char *) "item", NULL
36708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36710 if (!SWIG_IsOK(res1
)) {
36711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36713 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36715 if (!SWIG_IsOK(res2
)) {
36716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36721 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36724 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36725 wxPyEndAllowThreads(__tstate
);
36726 if (PyErr_Occurred()) SWIG_fail
;
36728 resultobj
= SWIG_Py_Void();
36735 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36736 PyObject
*resultobj
= 0;
36737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36738 wxTreeItemId
*arg2
= 0 ;
36743 PyObject
* obj0
= 0 ;
36744 PyObject
* obj1
= 0 ;
36745 char * kwnames
[] = {
36746 (char *) "self",(char *) "item", NULL
36749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36751 if (!SWIG_IsOK(res1
)) {
36752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36754 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36756 if (!SWIG_IsOK(res2
)) {
36757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36762 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36765 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36766 wxPyEndAllowThreads(__tstate
);
36767 if (PyErr_Occurred()) SWIG_fail
;
36769 resultobj
= SWIG_Py_Void();
36776 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36777 PyObject
*resultobj
= 0;
36778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36781 PyObject
*swig_obj
[1] ;
36783 if (!args
) SWIG_fail
;
36784 swig_obj
[0] = args
;
36785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36786 if (!SWIG_IsOK(res1
)) {
36787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36789 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36792 (arg1
)->Unselect();
36793 wxPyEndAllowThreads(__tstate
);
36794 if (PyErr_Occurred()) SWIG_fail
;
36796 resultobj
= SWIG_Py_Void();
36803 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36804 PyObject
*resultobj
= 0;
36805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36806 wxTreeItemId
*arg2
= 0 ;
36811 PyObject
* obj0
= 0 ;
36812 PyObject
* obj1
= 0 ;
36813 char * kwnames
[] = {
36814 (char *) "self",(char *) "item", NULL
36817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36819 if (!SWIG_IsOK(res1
)) {
36820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36822 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36824 if (!SWIG_IsOK(res2
)) {
36825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36830 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36833 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36834 wxPyEndAllowThreads(__tstate
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36837 resultobj
= SWIG_Py_Void();
36844 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36845 PyObject
*resultobj
= 0;
36846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36849 PyObject
*swig_obj
[1] ;
36851 if (!args
) SWIG_fail
;
36852 swig_obj
[0] = args
;
36853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36854 if (!SWIG_IsOK(res1
)) {
36855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36857 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36860 (arg1
)->UnselectAll();
36861 wxPyEndAllowThreads(__tstate
);
36862 if (PyErr_Occurred()) SWIG_fail
;
36864 resultobj
= SWIG_Py_Void();
36871 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36872 PyObject
*resultobj
= 0;
36873 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36874 wxTreeItemId
*arg2
= 0 ;
36875 bool arg3
= (bool) true ;
36882 PyObject
* obj0
= 0 ;
36883 PyObject
* obj1
= 0 ;
36884 PyObject
* obj2
= 0 ;
36885 char * kwnames
[] = {
36886 (char *) "self",(char *) "item",(char *) "select", NULL
36889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36891 if (!SWIG_IsOK(res1
)) {
36892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36894 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36896 if (!SWIG_IsOK(res2
)) {
36897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36902 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36904 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36905 if (!SWIG_IsOK(ecode3
)) {
36906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36908 arg3
= static_cast< bool >(val3
);
36911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36912 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36913 wxPyEndAllowThreads(__tstate
);
36914 if (PyErr_Occurred()) SWIG_fail
;
36916 resultobj
= SWIG_Py_Void();
36923 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36924 PyObject
*resultobj
= 0;
36925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36926 wxTreeItemId
*arg2
= 0 ;
36931 PyObject
* obj0
= 0 ;
36932 PyObject
* obj1
= 0 ;
36933 char * kwnames
[] = {
36934 (char *) "self",(char *) "item", NULL
36937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36939 if (!SWIG_IsOK(res1
)) {
36940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36942 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36944 if (!SWIG_IsOK(res2
)) {
36945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36950 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36953 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36954 wxPyEndAllowThreads(__tstate
);
36955 if (PyErr_Occurred()) SWIG_fail
;
36957 resultobj
= SWIG_Py_Void();
36964 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36965 PyObject
*resultobj
= 0;
36966 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36967 wxTreeItemId
*arg2
= 0 ;
36972 PyObject
* obj0
= 0 ;
36973 PyObject
* obj1
= 0 ;
36974 char * kwnames
[] = {
36975 (char *) "self",(char *) "item", NULL
36978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36980 if (!SWIG_IsOK(res1
)) {
36981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36983 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36984 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36985 if (!SWIG_IsOK(res2
)) {
36986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36991 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36994 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36995 wxPyEndAllowThreads(__tstate
);
36996 if (PyErr_Occurred()) SWIG_fail
;
36998 resultobj
= SWIG_Py_Void();
37005 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37006 PyObject
*resultobj
= 0;
37007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37008 wxTreeItemId
*arg2
= 0 ;
37013 PyObject
* obj0
= 0 ;
37014 PyObject
* obj1
= 0 ;
37015 char * kwnames
[] = {
37016 (char *) "self",(char *) "item", NULL
37019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37021 if (!SWIG_IsOK(res1
)) {
37022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37024 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37026 if (!SWIG_IsOK(res2
)) {
37027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37035 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37036 wxPyEndAllowThreads(__tstate
);
37037 if (PyErr_Occurred()) SWIG_fail
;
37039 resultobj
= SWIG_Py_Void();
37046 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37047 PyObject
*resultobj
= 0;
37048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37049 wxTreeItemId
*arg2
= 0 ;
37054 PyObject
* obj0
= 0 ;
37055 PyObject
* obj1
= 0 ;
37056 char * kwnames
[] = {
37057 (char *) "self",(char *) "item", NULL
37060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37062 if (!SWIG_IsOK(res1
)) {
37063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37065 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37067 if (!SWIG_IsOK(res2
)) {
37068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37073 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37076 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37077 wxPyEndAllowThreads(__tstate
);
37078 if (PyErr_Occurred()) SWIG_fail
;
37080 resultobj
= SWIG_Py_Void();
37087 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37088 PyObject
*resultobj
= 0;
37089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37090 wxTextCtrl
*result
= 0 ;
37093 PyObject
*swig_obj
[1] ;
37095 if (!args
) SWIG_fail
;
37096 swig_obj
[0] = args
;
37097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37098 if (!SWIG_IsOK(res1
)) {
37099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37101 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37104 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37105 wxPyEndAllowThreads(__tstate
);
37106 if (PyErr_Occurred()) SWIG_fail
;
37109 resultobj
= wxPyMake_wxObject(result
, 0);
37117 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37118 PyObject
*resultobj
= 0;
37119 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37120 wxTreeItemId
*arg2
= 0 ;
37125 PyObject
* obj0
= 0 ;
37126 PyObject
* obj1
= 0 ;
37127 char * kwnames
[] = {
37128 (char *) "self",(char *) "item", NULL
37131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37133 if (!SWIG_IsOK(res1
)) {
37134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37136 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37138 if (!SWIG_IsOK(res2
)) {
37139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37144 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37147 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37148 wxPyEndAllowThreads(__tstate
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37151 resultobj
= SWIG_Py_Void();
37158 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37159 PyObject
*resultobj
= 0;
37160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37161 wxPoint
*arg2
= 0 ;
37163 wxTreeItemId result
;
37168 int res3
= SWIG_TMPOBJ
;
37169 PyObject
* obj0
= 0 ;
37170 PyObject
* obj1
= 0 ;
37171 char * kwnames
[] = {
37172 (char *) "self",(char *) "point", NULL
37176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37178 if (!SWIG_IsOK(res1
)) {
37179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37181 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37189 wxPyEndAllowThreads(__tstate
);
37190 if (PyErr_Occurred()) SWIG_fail
;
37192 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37193 if (SWIG_IsTmpObj(res3
)) {
37194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37196 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37205 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37206 PyObject
*resultobj
= 0;
37207 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37208 wxTreeItemId
*arg2
= 0 ;
37209 bool arg3
= (bool) false ;
37210 PyObject
*result
= 0 ;
37217 PyObject
* obj0
= 0 ;
37218 PyObject
* obj1
= 0 ;
37219 PyObject
* obj2
= 0 ;
37220 char * kwnames
[] = {
37221 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37226 if (!SWIG_IsOK(res1
)) {
37227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37229 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37231 if (!SWIG_IsOK(res2
)) {
37232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37237 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37239 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37240 if (!SWIG_IsOK(ecode3
)) {
37241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37243 arg3
= static_cast< bool >(val3
);
37246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37247 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37248 wxPyEndAllowThreads(__tstate
);
37249 if (PyErr_Occurred()) SWIG_fail
;
37251 resultobj
= result
;
37258 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37259 PyObject
*resultobj
= 0;
37260 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37261 SwigValueWrapper
<wxVisualAttributes
> result
;
37264 PyObject
* obj0
= 0 ;
37265 char * kwnames
[] = {
37266 (char *) "variant", NULL
37269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37272 if (!SWIG_IsOK(ecode1
)) {
37273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37275 arg1
= static_cast< wxWindowVariant
>(val1
);
37278 if (!wxPyCheckForApp()) SWIG_fail
;
37279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37280 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37281 wxPyEndAllowThreads(__tstate
);
37282 if (PyErr_Occurred()) SWIG_fail
;
37284 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37291 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37292 PyObject
*resultobj
= 0;
37293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37299 PyObject
* obj0
= 0 ;
37300 PyObject
* obj1
= 0 ;
37301 char * kwnames
[] = {
37302 (char *) "self",(char *) "q", NULL
37305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37307 if (!SWIG_IsOK(res1
)) {
37308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37310 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37311 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37312 if (!SWIG_IsOK(ecode2
)) {
37313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37315 arg2
= static_cast< bool >(val2
);
37317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37318 (arg1
)->SetQuickBestSize(arg2
);
37319 wxPyEndAllowThreads(__tstate
);
37320 if (PyErr_Occurred()) SWIG_fail
;
37322 resultobj
= SWIG_Py_Void();
37329 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37330 PyObject
*resultobj
= 0;
37331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37335 PyObject
*swig_obj
[1] ;
37337 if (!args
) SWIG_fail
;
37338 swig_obj
[0] = args
;
37339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37340 if (!SWIG_IsOK(res1
)) {
37341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37343 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37346 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37347 wxPyEndAllowThreads(__tstate
);
37348 if (PyErr_Occurred()) SWIG_fail
;
37351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37359 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37362 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37363 return SWIG_Py_Void();
37366 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37367 return SWIG_Python_InitShadowInstance(args
);
37370 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37371 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37376 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37377 PyObject
*pyobj
= 0;
37381 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37383 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37390 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37391 PyObject
*resultobj
= 0;
37392 wxWindow
*arg1
= (wxWindow
*) 0 ;
37393 int arg2
= (int) (int)-1 ;
37394 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37396 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37397 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37398 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37399 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37400 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37401 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37402 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37403 int arg8
= (int) 0 ;
37404 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37405 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37406 wxGenericDirCtrl
*result
= 0 ;
37411 bool temp3
= false ;
37416 bool temp7
= false ;
37419 bool temp9
= false ;
37420 PyObject
* obj0
= 0 ;
37421 PyObject
* obj1
= 0 ;
37422 PyObject
* obj2
= 0 ;
37423 PyObject
* obj3
= 0 ;
37424 PyObject
* obj4
= 0 ;
37425 PyObject
* obj5
= 0 ;
37426 PyObject
* obj6
= 0 ;
37427 PyObject
* obj7
= 0 ;
37428 PyObject
* obj8
= 0 ;
37429 char * kwnames
[] = {
37430 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37435 if (!SWIG_IsOK(res1
)) {
37436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37438 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37441 if (!SWIG_IsOK(ecode2
)) {
37442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37444 arg2
= static_cast< int >(val2
);
37448 arg3
= wxString_in_helper(obj2
);
37449 if (arg3
== NULL
) SWIG_fail
;
37456 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37462 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37466 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37467 if (!SWIG_IsOK(ecode6
)) {
37468 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37470 arg6
= static_cast< long >(val6
);
37474 arg7
= wxString_in_helper(obj6
);
37475 if (arg7
== NULL
) SWIG_fail
;
37480 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37481 if (!SWIG_IsOK(ecode8
)) {
37482 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37484 arg8
= static_cast< int >(val8
);
37488 arg9
= wxString_in_helper(obj8
);
37489 if (arg9
== NULL
) SWIG_fail
;
37494 if (!wxPyCheckForApp()) SWIG_fail
;
37495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37496 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37497 wxPyEndAllowThreads(__tstate
);
37498 if (PyErr_Occurred()) SWIG_fail
;
37500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37531 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37532 PyObject
*resultobj
= 0;
37533 wxGenericDirCtrl
*result
= 0 ;
37535 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37537 if (!wxPyCheckForApp()) SWIG_fail
;
37538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37539 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37540 wxPyEndAllowThreads(__tstate
);
37541 if (PyErr_Occurred()) SWIG_fail
;
37543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37550 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37551 PyObject
*resultobj
= 0;
37552 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37553 wxWindow
*arg2
= (wxWindow
*) 0 ;
37554 int arg3
= (int) (int)-1 ;
37555 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37557 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37558 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37559 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37560 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37561 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37562 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37563 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37564 int arg9
= (int) 0 ;
37565 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37566 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37574 bool temp4
= false ;
37579 bool temp8
= false ;
37582 bool temp10
= false ;
37583 PyObject
* obj0
= 0 ;
37584 PyObject
* obj1
= 0 ;
37585 PyObject
* obj2
= 0 ;
37586 PyObject
* obj3
= 0 ;
37587 PyObject
* obj4
= 0 ;
37588 PyObject
* obj5
= 0 ;
37589 PyObject
* obj6
= 0 ;
37590 PyObject
* obj7
= 0 ;
37591 PyObject
* obj8
= 0 ;
37592 PyObject
* obj9
= 0 ;
37593 char * kwnames
[] = {
37594 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37599 if (!SWIG_IsOK(res1
)) {
37600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37602 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37604 if (!SWIG_IsOK(res2
)) {
37605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37607 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37610 if (!SWIG_IsOK(ecode3
)) {
37611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37613 arg3
= static_cast< int >(val3
);
37617 arg4
= wxString_in_helper(obj3
);
37618 if (arg4
== NULL
) SWIG_fail
;
37625 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37631 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37635 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37636 if (!SWIG_IsOK(ecode7
)) {
37637 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37639 arg7
= static_cast< long >(val7
);
37643 arg8
= wxString_in_helper(obj7
);
37644 if (arg8
== NULL
) SWIG_fail
;
37649 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37650 if (!SWIG_IsOK(ecode9
)) {
37651 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37653 arg9
= static_cast< int >(val9
);
37657 arg10
= wxString_in_helper(obj9
);
37658 if (arg10
== NULL
) SWIG_fail
;
37663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37665 wxPyEndAllowThreads(__tstate
);
37666 if (PyErr_Occurred()) SWIG_fail
;
37669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37701 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37702 PyObject
*resultobj
= 0;
37703 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37704 wxString
*arg2
= 0 ;
37708 bool temp2
= false ;
37709 PyObject
* obj0
= 0 ;
37710 PyObject
* obj1
= 0 ;
37711 char * kwnames
[] = {
37712 (char *) "self",(char *) "path", NULL
37715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37717 if (!SWIG_IsOK(res1
)) {
37718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37720 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37722 arg2
= wxString_in_helper(obj1
);
37723 if (arg2
== NULL
) SWIG_fail
;
37727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37728 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37729 wxPyEndAllowThreads(__tstate
);
37730 if (PyErr_Occurred()) SWIG_fail
;
37733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37749 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37750 PyObject
*resultobj
= 0;
37751 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37752 wxString
*arg2
= 0 ;
37756 bool temp2
= false ;
37757 PyObject
* obj0
= 0 ;
37758 PyObject
* obj1
= 0 ;
37759 char * kwnames
[] = {
37760 (char *) "self",(char *) "path", NULL
37763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37765 if (!SWIG_IsOK(res1
)) {
37766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37768 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37770 arg2
= wxString_in_helper(obj1
);
37771 if (arg2
== NULL
) SWIG_fail
;
37775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37776 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37777 wxPyEndAllowThreads(__tstate
);
37778 if (PyErr_Occurred()) SWIG_fail
;
37781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37797 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37798 PyObject
*resultobj
= 0;
37799 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37803 PyObject
*swig_obj
[1] ;
37805 if (!args
) SWIG_fail
;
37806 swig_obj
[0] = args
;
37807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37808 if (!SWIG_IsOK(res1
)) {
37809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37811 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37814 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37815 wxPyEndAllowThreads(__tstate
);
37816 if (PyErr_Occurred()) SWIG_fail
;
37820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37831 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37832 PyObject
*resultobj
= 0;
37833 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37834 wxString
*arg2
= 0 ;
37837 bool temp2
= false ;
37838 PyObject
* obj0
= 0 ;
37839 PyObject
* obj1
= 0 ;
37840 char * kwnames
[] = {
37841 (char *) "self",(char *) "path", NULL
37844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37846 if (!SWIG_IsOK(res1
)) {
37847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37849 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37851 arg2
= wxString_in_helper(obj1
);
37852 if (arg2
== NULL
) SWIG_fail
;
37856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37857 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37858 wxPyEndAllowThreads(__tstate
);
37859 if (PyErr_Occurred()) SWIG_fail
;
37861 resultobj
= SWIG_Py_Void();
37876 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37877 PyObject
*resultobj
= 0;
37878 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37882 PyObject
*swig_obj
[1] ;
37884 if (!args
) SWIG_fail
;
37885 swig_obj
[0] = args
;
37886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37887 if (!SWIG_IsOK(res1
)) {
37888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37890 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37893 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37894 wxPyEndAllowThreads(__tstate
);
37895 if (PyErr_Occurred()) SWIG_fail
;
37899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37910 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37911 PyObject
*resultobj
= 0;
37912 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37916 PyObject
*swig_obj
[1] ;
37918 if (!args
) SWIG_fail
;
37919 swig_obj
[0] = args
;
37920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37921 if (!SWIG_IsOK(res1
)) {
37922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37924 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37927 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37928 wxPyEndAllowThreads(__tstate
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37944 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37945 PyObject
*resultobj
= 0;
37946 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37947 wxString
*arg2
= 0 ;
37950 bool temp2
= false ;
37951 PyObject
* obj0
= 0 ;
37952 PyObject
* obj1
= 0 ;
37953 char * kwnames
[] = {
37954 (char *) "self",(char *) "path", NULL
37957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37959 if (!SWIG_IsOK(res1
)) {
37960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37962 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37964 arg2
= wxString_in_helper(obj1
);
37965 if (arg2
== NULL
) SWIG_fail
;
37969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37970 (arg1
)->SetPath((wxString
const &)*arg2
);
37971 wxPyEndAllowThreads(__tstate
);
37972 if (PyErr_Occurred()) SWIG_fail
;
37974 resultobj
= SWIG_Py_Void();
37989 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37990 PyObject
*resultobj
= 0;
37991 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37997 PyObject
* obj0
= 0 ;
37998 PyObject
* obj1
= 0 ;
37999 char * kwnames
[] = {
38000 (char *) "self",(char *) "show", NULL
38003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38005 if (!SWIG_IsOK(res1
)) {
38006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38008 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38009 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38010 if (!SWIG_IsOK(ecode2
)) {
38011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38013 arg2
= static_cast< bool >(val2
);
38015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38016 (arg1
)->ShowHidden(arg2
);
38017 wxPyEndAllowThreads(__tstate
);
38018 if (PyErr_Occurred()) SWIG_fail
;
38020 resultobj
= SWIG_Py_Void();
38027 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38028 PyObject
*resultobj
= 0;
38029 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38033 PyObject
*swig_obj
[1] ;
38035 if (!args
) SWIG_fail
;
38036 swig_obj
[0] = args
;
38037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38038 if (!SWIG_IsOK(res1
)) {
38039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38041 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38044 result
= (bool)(arg1
)->GetShowHidden();
38045 wxPyEndAllowThreads(__tstate
);
38046 if (PyErr_Occurred()) SWIG_fail
;
38049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38057 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38058 PyObject
*resultobj
= 0;
38059 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38063 PyObject
*swig_obj
[1] ;
38065 if (!args
) SWIG_fail
;
38066 swig_obj
[0] = args
;
38067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38068 if (!SWIG_IsOK(res1
)) {
38069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38071 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38074 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38075 wxPyEndAllowThreads(__tstate
);
38076 if (PyErr_Occurred()) SWIG_fail
;
38080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38091 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38092 PyObject
*resultobj
= 0;
38093 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38094 wxString
*arg2
= 0 ;
38097 bool temp2
= false ;
38098 PyObject
* obj0
= 0 ;
38099 PyObject
* obj1
= 0 ;
38100 char * kwnames
[] = {
38101 (char *) "self",(char *) "filter", NULL
38104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38106 if (!SWIG_IsOK(res1
)) {
38107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38109 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38111 arg2
= wxString_in_helper(obj1
);
38112 if (arg2
== NULL
) SWIG_fail
;
38116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38117 (arg1
)->SetFilter((wxString
const &)*arg2
);
38118 wxPyEndAllowThreads(__tstate
);
38119 if (PyErr_Occurred()) SWIG_fail
;
38121 resultobj
= SWIG_Py_Void();
38136 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38137 PyObject
*resultobj
= 0;
38138 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38142 PyObject
*swig_obj
[1] ;
38144 if (!args
) SWIG_fail
;
38145 swig_obj
[0] = args
;
38146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38147 if (!SWIG_IsOK(res1
)) {
38148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38150 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38153 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38154 wxPyEndAllowThreads(__tstate
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38157 resultobj
= SWIG_From_int(static_cast< int >(result
));
38164 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38165 PyObject
*resultobj
= 0;
38166 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38172 PyObject
* obj0
= 0 ;
38173 PyObject
* obj1
= 0 ;
38174 char * kwnames
[] = {
38175 (char *) "self",(char *) "n", NULL
38178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38180 if (!SWIG_IsOK(res1
)) {
38181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38183 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38185 if (!SWIG_IsOK(ecode2
)) {
38186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38188 arg2
= static_cast< int >(val2
);
38190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38191 (arg1
)->SetFilterIndex(arg2
);
38192 wxPyEndAllowThreads(__tstate
);
38193 if (PyErr_Occurred()) SWIG_fail
;
38195 resultobj
= SWIG_Py_Void();
38202 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38203 PyObject
*resultobj
= 0;
38204 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38205 wxTreeItemId result
;
38208 PyObject
*swig_obj
[1] ;
38210 if (!args
) SWIG_fail
;
38211 swig_obj
[0] = args
;
38212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38213 if (!SWIG_IsOK(res1
)) {
38214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38216 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38219 result
= (arg1
)->GetRootId();
38220 wxPyEndAllowThreads(__tstate
);
38221 if (PyErr_Occurred()) SWIG_fail
;
38223 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38230 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38231 PyObject
*resultobj
= 0;
38232 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38233 wxPyTreeCtrl
*result
= 0 ;
38236 PyObject
*swig_obj
[1] ;
38238 if (!args
) SWIG_fail
;
38239 swig_obj
[0] = args
;
38240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38241 if (!SWIG_IsOK(res1
)) {
38242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38244 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38247 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38248 wxPyEndAllowThreads(__tstate
);
38249 if (PyErr_Occurred()) SWIG_fail
;
38252 resultobj
= wxPyMake_wxObject(result
, 0);
38260 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38261 PyObject
*resultobj
= 0;
38262 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38263 wxDirFilterListCtrl
*result
= 0 ;
38266 PyObject
*swig_obj
[1] ;
38268 if (!args
) SWIG_fail
;
38269 swig_obj
[0] = args
;
38270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38271 if (!SWIG_IsOK(res1
)) {
38272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38274 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38277 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38278 wxPyEndAllowThreads(__tstate
);
38279 if (PyErr_Occurred()) SWIG_fail
;
38281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38288 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38289 PyObject
*resultobj
= 0;
38290 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38291 wxTreeItemId arg2
;
38292 wxString
*arg3
= 0 ;
38294 wxTreeItemId result
;
38299 bool temp3
= false ;
38301 int res4
= SWIG_TMPOBJ
;
38302 PyObject
* obj0
= 0 ;
38303 PyObject
* obj1
= 0 ;
38304 PyObject
* obj2
= 0 ;
38305 char * kwnames
[] = {
38306 (char *) "self",(char *) "parentId",(char *) "path", NULL
38310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38312 if (!SWIG_IsOK(res1
)) {
38313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38315 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38318 if (!SWIG_IsOK(res2
)) {
38319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38324 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38326 if (SWIG_IsNewObj(res2
)) delete temp
;
38330 arg3
= wxString_in_helper(obj2
);
38331 if (arg3
== NULL
) SWIG_fail
;
38335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38336 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38337 wxPyEndAllowThreads(__tstate
);
38338 if (PyErr_Occurred()) SWIG_fail
;
38340 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38341 if (SWIG_IsTmpObj(res4
)) {
38342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38344 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38361 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38362 PyObject
*resultobj
= 0;
38363 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38366 PyObject
*swig_obj
[1] ;
38368 if (!args
) SWIG_fail
;
38369 swig_obj
[0] = args
;
38370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38371 if (!SWIG_IsOK(res1
)) {
38372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38374 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38377 (arg1
)->DoResize();
38378 wxPyEndAllowThreads(__tstate
);
38379 if (PyErr_Occurred()) SWIG_fail
;
38381 resultobj
= SWIG_Py_Void();
38388 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38389 PyObject
*resultobj
= 0;
38390 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38393 PyObject
*swig_obj
[1] ;
38395 if (!args
) SWIG_fail
;
38396 swig_obj
[0] = args
;
38397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38398 if (!SWIG_IsOK(res1
)) {
38399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38401 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 (arg1
)->ReCreateTree();
38405 wxPyEndAllowThreads(__tstate
);
38406 if (PyErr_Occurred()) SWIG_fail
;
38408 resultobj
= SWIG_Py_Void();
38415 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38417 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38418 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38419 return SWIG_Py_Void();
38422 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38423 return SWIG_Python_InitShadowInstance(args
);
38426 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38427 PyObject
*resultobj
= 0;
38428 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38429 int arg2
= (int) (int)-1 ;
38430 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38431 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38432 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38433 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38434 long arg5
= (long) 0 ;
38435 wxDirFilterListCtrl
*result
= 0 ;
38444 PyObject
* obj0
= 0 ;
38445 PyObject
* obj1
= 0 ;
38446 PyObject
* obj2
= 0 ;
38447 PyObject
* obj3
= 0 ;
38448 PyObject
* obj4
= 0 ;
38449 char * kwnames
[] = {
38450 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38455 if (!SWIG_IsOK(res1
)) {
38456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38458 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38461 if (!SWIG_IsOK(ecode2
)) {
38462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38464 arg2
= static_cast< int >(val2
);
38469 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38475 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38479 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38480 if (!SWIG_IsOK(ecode5
)) {
38481 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38483 arg5
= static_cast< long >(val5
);
38486 if (!wxPyCheckForApp()) SWIG_fail
;
38487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38488 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38489 wxPyEndAllowThreads(__tstate
);
38490 if (PyErr_Occurred()) SWIG_fail
;
38492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38499 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38500 PyObject
*resultobj
= 0;
38501 wxDirFilterListCtrl
*result
= 0 ;
38503 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38505 if (!wxPyCheckForApp()) SWIG_fail
;
38506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38507 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38508 wxPyEndAllowThreads(__tstate
);
38509 if (PyErr_Occurred()) SWIG_fail
;
38511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38518 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38519 PyObject
*resultobj
= 0;
38520 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38521 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38522 int arg3
= (int) (int)-1 ;
38523 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38524 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38525 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38526 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38527 long arg6
= (long) 0 ;
38539 PyObject
* obj0
= 0 ;
38540 PyObject
* obj1
= 0 ;
38541 PyObject
* obj2
= 0 ;
38542 PyObject
* obj3
= 0 ;
38543 PyObject
* obj4
= 0 ;
38544 PyObject
* obj5
= 0 ;
38545 char * kwnames
[] = {
38546 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38551 if (!SWIG_IsOK(res1
)) {
38552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38554 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38555 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38556 if (!SWIG_IsOK(res2
)) {
38557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38559 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38562 if (!SWIG_IsOK(ecode3
)) {
38563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38565 arg3
= static_cast< int >(val3
);
38570 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38576 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38580 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38581 if (!SWIG_IsOK(ecode6
)) {
38582 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38584 arg6
= static_cast< long >(val6
);
38587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38588 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38589 wxPyEndAllowThreads(__tstate
);
38590 if (PyErr_Occurred()) SWIG_fail
;
38593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38601 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38602 PyObject
*resultobj
= 0;
38603 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38604 wxString
*arg2
= 0 ;
38608 bool temp2
= false ;
38611 PyObject
* obj0
= 0 ;
38612 PyObject
* obj1
= 0 ;
38613 PyObject
* obj2
= 0 ;
38614 char * kwnames
[] = {
38615 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38620 if (!SWIG_IsOK(res1
)) {
38621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38623 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38625 arg2
= wxString_in_helper(obj1
);
38626 if (arg2
== NULL
) SWIG_fail
;
38629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38630 if (!SWIG_IsOK(ecode3
)) {
38631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38633 arg3
= static_cast< int >(val3
);
38635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38636 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38637 wxPyEndAllowThreads(__tstate
);
38638 if (PyErr_Occurred()) SWIG_fail
;
38640 resultobj
= SWIG_Py_Void();
38655 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38658 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38659 return SWIG_Py_Void();
38662 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38663 return SWIG_Python_InitShadowInstance(args
);
38666 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38667 PyObject
*resultobj
= 0;
38668 wxWindow
*arg1
= (wxWindow
*) 0 ;
38669 int arg2
= (int) (int)-1 ;
38670 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38671 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38672 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38673 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38674 long arg5
= (long) 0 ;
38675 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38676 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38677 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38678 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38679 wxPyControl
*result
= 0 ;
38690 bool temp7
= false ;
38691 PyObject
* obj0
= 0 ;
38692 PyObject
* obj1
= 0 ;
38693 PyObject
* obj2
= 0 ;
38694 PyObject
* obj3
= 0 ;
38695 PyObject
* obj4
= 0 ;
38696 PyObject
* obj5
= 0 ;
38697 PyObject
* obj6
= 0 ;
38698 char * kwnames
[] = {
38699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38704 if (!SWIG_IsOK(res1
)) {
38705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38707 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38710 if (!SWIG_IsOK(ecode2
)) {
38711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38713 arg2
= static_cast< int >(val2
);
38718 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38724 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38728 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38729 if (!SWIG_IsOK(ecode5
)) {
38730 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38732 arg5
= static_cast< long >(val5
);
38735 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38736 if (!SWIG_IsOK(res6
)) {
38737 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38742 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38746 arg7
= wxString_in_helper(obj6
);
38747 if (arg7
== NULL
) SWIG_fail
;
38752 if (!wxPyCheckForApp()) SWIG_fail
;
38753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38754 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38755 wxPyEndAllowThreads(__tstate
);
38756 if (PyErr_Occurred()) SWIG_fail
;
38758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38773 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38774 PyObject
*resultobj
= 0;
38775 wxPyControl
*result
= 0 ;
38777 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38779 if (!wxPyCheckForApp()) SWIG_fail
;
38780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38781 result
= (wxPyControl
*)new wxPyControl();
38782 wxPyEndAllowThreads(__tstate
);
38783 if (PyErr_Occurred()) SWIG_fail
;
38785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38792 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38793 PyObject
*resultobj
= 0;
38794 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38795 PyObject
*arg2
= (PyObject
*) 0 ;
38796 PyObject
*arg3
= (PyObject
*) 0 ;
38799 PyObject
* obj0
= 0 ;
38800 PyObject
* obj1
= 0 ;
38801 PyObject
* obj2
= 0 ;
38802 char * kwnames
[] = {
38803 (char *) "self",(char *) "self",(char *) "_class", NULL
38806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38808 if (!SWIG_IsOK(res1
)) {
38809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38811 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38816 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38817 wxPyEndAllowThreads(__tstate
);
38818 if (PyErr_Occurred()) SWIG_fail
;
38820 resultobj
= SWIG_Py_Void();
38827 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38828 PyObject
*resultobj
= 0;
38829 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38830 wxDC
*arg2
= (wxDC
*) 0 ;
38836 PyObject
* obj0
= 0 ;
38837 PyObject
* obj1
= 0 ;
38838 char * kwnames
[] = {
38839 (char *) "self",(char *) "dc", NULL
38842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38844 if (!SWIG_IsOK(res1
)) {
38845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38847 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38849 if (!SWIG_IsOK(res2
)) {
38850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38852 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38855 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38856 wxPyEndAllowThreads(__tstate
);
38857 if (PyErr_Occurred()) SWIG_fail
;
38860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38868 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38869 PyObject
*resultobj
= 0;
38870 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38885 PyObject
* obj0
= 0 ;
38886 PyObject
* obj1
= 0 ;
38887 PyObject
* obj2
= 0 ;
38888 PyObject
* obj3
= 0 ;
38889 PyObject
* obj4
= 0 ;
38890 char * kwnames
[] = {
38891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38896 if (!SWIG_IsOK(res1
)) {
38897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38899 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38901 if (!SWIG_IsOK(ecode2
)) {
38902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38904 arg2
= static_cast< int >(val2
);
38905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38906 if (!SWIG_IsOK(ecode3
)) {
38907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38909 arg3
= static_cast< int >(val3
);
38910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38911 if (!SWIG_IsOK(ecode4
)) {
38912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38914 arg4
= static_cast< int >(val4
);
38915 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38916 if (!SWIG_IsOK(ecode5
)) {
38917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38919 arg5
= static_cast< int >(val5
);
38921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38922 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38923 wxPyEndAllowThreads(__tstate
);
38924 if (PyErr_Occurred()) SWIG_fail
;
38926 resultobj
= SWIG_Py_Void();
38933 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38934 PyObject
*resultobj
= 0;
38935 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38940 int arg6
= (int) wxSIZE_AUTO
;
38953 PyObject
* obj0
= 0 ;
38954 PyObject
* obj1
= 0 ;
38955 PyObject
* obj2
= 0 ;
38956 PyObject
* obj3
= 0 ;
38957 PyObject
* obj4
= 0 ;
38958 PyObject
* obj5
= 0 ;
38959 char * kwnames
[] = {
38960 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38965 if (!SWIG_IsOK(res1
)) {
38966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38968 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38970 if (!SWIG_IsOK(ecode2
)) {
38971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38973 arg2
= static_cast< int >(val2
);
38974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38975 if (!SWIG_IsOK(ecode3
)) {
38976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38978 arg3
= static_cast< int >(val3
);
38979 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38980 if (!SWIG_IsOK(ecode4
)) {
38981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38983 arg4
= static_cast< int >(val4
);
38984 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38985 if (!SWIG_IsOK(ecode5
)) {
38986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38988 arg5
= static_cast< int >(val5
);
38990 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38991 if (!SWIG_IsOK(ecode6
)) {
38992 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38994 arg6
= static_cast< int >(val6
);
38997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38998 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38999 wxPyEndAllowThreads(__tstate
);
39000 if (PyErr_Occurred()) SWIG_fail
;
39002 resultobj
= SWIG_Py_Void();
39009 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39010 PyObject
*resultobj
= 0;
39011 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39020 PyObject
* obj0
= 0 ;
39021 PyObject
* obj1
= 0 ;
39022 PyObject
* obj2
= 0 ;
39023 char * kwnames
[] = {
39024 (char *) "self",(char *) "width",(char *) "height", NULL
39027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39029 if (!SWIG_IsOK(res1
)) {
39030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39032 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39034 if (!SWIG_IsOK(ecode2
)) {
39035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39037 arg2
= static_cast< int >(val2
);
39038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39039 if (!SWIG_IsOK(ecode3
)) {
39040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39042 arg3
= static_cast< int >(val3
);
39044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39045 (arg1
)->DoSetClientSize(arg2
,arg3
);
39046 wxPyEndAllowThreads(__tstate
);
39047 if (PyErr_Occurred()) SWIG_fail
;
39049 resultobj
= SWIG_Py_Void();
39056 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39057 PyObject
*resultobj
= 0;
39058 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39067 PyObject
* obj0
= 0 ;
39068 PyObject
* obj1
= 0 ;
39069 PyObject
* obj2
= 0 ;
39070 char * kwnames
[] = {
39071 (char *) "self",(char *) "x",(char *) "y", NULL
39074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39076 if (!SWIG_IsOK(res1
)) {
39077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39079 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39081 if (!SWIG_IsOK(ecode2
)) {
39082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39084 arg2
= static_cast< int >(val2
);
39085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39086 if (!SWIG_IsOK(ecode3
)) {
39087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39089 arg3
= static_cast< int >(val3
);
39091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39092 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39093 wxPyEndAllowThreads(__tstate
);
39094 if (PyErr_Occurred()) SWIG_fail
;
39096 resultobj
= SWIG_Py_Void();
39103 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39104 PyObject
*resultobj
= 0;
39105 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39106 int *arg2
= (int *) 0 ;
39107 int *arg3
= (int *) 0 ;
39111 int res2
= SWIG_TMPOBJ
;
39113 int res3
= SWIG_TMPOBJ
;
39114 PyObject
*swig_obj
[1] ;
39118 if (!args
) SWIG_fail
;
39119 swig_obj
[0] = args
;
39120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39121 if (!SWIG_IsOK(res1
)) {
39122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39124 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39127 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39128 wxPyEndAllowThreads(__tstate
);
39129 if (PyErr_Occurred()) SWIG_fail
;
39131 resultobj
= SWIG_Py_Void();
39132 if (SWIG_IsTmpObj(res2
)) {
39133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39135 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39138 if (SWIG_IsTmpObj(res3
)) {
39139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39141 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39150 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39151 PyObject
*resultobj
= 0;
39152 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39153 int *arg2
= (int *) 0 ;
39154 int *arg3
= (int *) 0 ;
39158 int res2
= SWIG_TMPOBJ
;
39160 int res3
= SWIG_TMPOBJ
;
39161 PyObject
*swig_obj
[1] ;
39165 if (!args
) SWIG_fail
;
39166 swig_obj
[0] = args
;
39167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39168 if (!SWIG_IsOK(res1
)) {
39169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39171 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39174 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39175 wxPyEndAllowThreads(__tstate
);
39176 if (PyErr_Occurred()) SWIG_fail
;
39178 resultobj
= SWIG_Py_Void();
39179 if (SWIG_IsTmpObj(res2
)) {
39180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39182 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39185 if (SWIG_IsTmpObj(res3
)) {
39186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39188 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39197 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39198 PyObject
*resultobj
= 0;
39199 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39200 int *arg2
= (int *) 0 ;
39201 int *arg3
= (int *) 0 ;
39205 int res2
= SWIG_TMPOBJ
;
39207 int res3
= SWIG_TMPOBJ
;
39208 PyObject
*swig_obj
[1] ;
39212 if (!args
) SWIG_fail
;
39213 swig_obj
[0] = args
;
39214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39215 if (!SWIG_IsOK(res1
)) {
39216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39218 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39221 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39222 wxPyEndAllowThreads(__tstate
);
39223 if (PyErr_Occurred()) SWIG_fail
;
39225 resultobj
= SWIG_Py_Void();
39226 if (SWIG_IsTmpObj(res2
)) {
39227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39229 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39232 if (SWIG_IsTmpObj(res3
)) {
39233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39235 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39244 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39245 PyObject
*resultobj
= 0;
39246 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39250 PyObject
*swig_obj
[1] ;
39252 if (!args
) SWIG_fail
;
39253 swig_obj
[0] = args
;
39254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39255 if (!SWIG_IsOK(res1
)) {
39256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39258 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39261 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39262 wxPyEndAllowThreads(__tstate
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39265 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39272 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39273 PyObject
*resultobj
= 0;
39274 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39278 PyObject
*swig_obj
[1] ;
39280 if (!args
) SWIG_fail
;
39281 swig_obj
[0] = args
;
39282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39283 if (!SWIG_IsOK(res1
)) {
39284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39286 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39289 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39290 wxPyEndAllowThreads(__tstate
);
39291 if (PyErr_Occurred()) SWIG_fail
;
39293 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39300 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39301 PyObject
*resultobj
= 0;
39302 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39303 SwigValueWrapper
<wxVisualAttributes
> result
;
39306 PyObject
*swig_obj
[1] ;
39308 if (!args
) SWIG_fail
;
39309 swig_obj
[0] = args
;
39310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39311 if (!SWIG_IsOK(res1
)) {
39312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39314 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39317 result
= (arg1
)->GetDefaultAttributes();
39318 wxPyEndAllowThreads(__tstate
);
39319 if (PyErr_Occurred()) SWIG_fail
;
39321 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39328 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39329 PyObject
*resultobj
= 0;
39330 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39333 PyObject
*swig_obj
[1] ;
39335 if (!args
) SWIG_fail
;
39336 swig_obj
[0] = args
;
39337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39338 if (!SWIG_IsOK(res1
)) {
39339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39341 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39344 (arg1
)->OnInternalIdle();
39345 wxPyEndAllowThreads(__tstate
);
39346 if (PyErr_Occurred()) SWIG_fail
;
39348 resultobj
= SWIG_Py_Void();
39355 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39358 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39359 return SWIG_Py_Void();
39362 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39363 return SWIG_Python_InitShadowInstance(args
);
39366 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39367 PyObject
*resultobj
= 0;
39368 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39369 int arg2
= (int) 0 ;
39370 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39371 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39372 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39373 wxHelpEvent
*result
= 0 ;
39381 PyObject
* obj0
= 0 ;
39382 PyObject
* obj1
= 0 ;
39383 PyObject
* obj2
= 0 ;
39384 PyObject
* obj3
= 0 ;
39385 char * kwnames
[] = {
39386 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39391 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39392 if (!SWIG_IsOK(ecode1
)) {
39393 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39395 arg1
= static_cast< wxEventType
>(val1
);
39398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39399 if (!SWIG_IsOK(ecode2
)) {
39400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39402 arg2
= static_cast< int >(val2
);
39407 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39411 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39412 if (!SWIG_IsOK(ecode4
)) {
39413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39415 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39419 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39420 wxPyEndAllowThreads(__tstate
);
39421 if (PyErr_Occurred()) SWIG_fail
;
39423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39430 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39431 PyObject
*resultobj
= 0;
39432 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39436 PyObject
*swig_obj
[1] ;
39438 if (!args
) SWIG_fail
;
39439 swig_obj
[0] = args
;
39440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39441 if (!SWIG_IsOK(res1
)) {
39442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39444 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39447 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39448 wxPyEndAllowThreads(__tstate
);
39449 if (PyErr_Occurred()) SWIG_fail
;
39451 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39458 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39459 PyObject
*resultobj
= 0;
39460 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39461 wxPoint
*arg2
= 0 ;
39465 PyObject
* obj0
= 0 ;
39466 PyObject
* obj1
= 0 ;
39467 char * kwnames
[] = {
39468 (char *) "self",(char *) "pos", NULL
39471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39473 if (!SWIG_IsOK(res1
)) {
39474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39476 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39483 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39484 wxPyEndAllowThreads(__tstate
);
39485 if (PyErr_Occurred()) SWIG_fail
;
39487 resultobj
= SWIG_Py_Void();
39494 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39495 PyObject
*resultobj
= 0;
39496 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39497 wxString
*result
= 0 ;
39500 PyObject
*swig_obj
[1] ;
39502 if (!args
) SWIG_fail
;
39503 swig_obj
[0] = args
;
39504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39505 if (!SWIG_IsOK(res1
)) {
39506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39508 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39512 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39513 result
= (wxString
*) &_result_ref
;
39515 wxPyEndAllowThreads(__tstate
);
39516 if (PyErr_Occurred()) SWIG_fail
;
39520 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39522 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39531 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39532 PyObject
*resultobj
= 0;
39533 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39534 wxString
*arg2
= 0 ;
39537 bool temp2
= false ;
39538 PyObject
* obj0
= 0 ;
39539 PyObject
* obj1
= 0 ;
39540 char * kwnames
[] = {
39541 (char *) "self",(char *) "link", NULL
39544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39546 if (!SWIG_IsOK(res1
)) {
39547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39549 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39551 arg2
= wxString_in_helper(obj1
);
39552 if (arg2
== NULL
) SWIG_fail
;
39556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39557 (arg1
)->SetLink((wxString
const &)*arg2
);
39558 wxPyEndAllowThreads(__tstate
);
39559 if (PyErr_Occurred()) SWIG_fail
;
39561 resultobj
= SWIG_Py_Void();
39576 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39577 PyObject
*resultobj
= 0;
39578 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39579 wxString
*result
= 0 ;
39582 PyObject
*swig_obj
[1] ;
39584 if (!args
) SWIG_fail
;
39585 swig_obj
[0] = args
;
39586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39587 if (!SWIG_IsOK(res1
)) {
39588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39590 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39594 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39595 result
= (wxString
*) &_result_ref
;
39597 wxPyEndAllowThreads(__tstate
);
39598 if (PyErr_Occurred()) SWIG_fail
;
39602 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39604 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39613 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39614 PyObject
*resultobj
= 0;
39615 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39616 wxString
*arg2
= 0 ;
39619 bool temp2
= false ;
39620 PyObject
* obj0
= 0 ;
39621 PyObject
* obj1
= 0 ;
39622 char * kwnames
[] = {
39623 (char *) "self",(char *) "target", NULL
39626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39628 if (!SWIG_IsOK(res1
)) {
39629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39631 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39633 arg2
= wxString_in_helper(obj1
);
39634 if (arg2
== NULL
) SWIG_fail
;
39638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39639 (arg1
)->SetTarget((wxString
const &)*arg2
);
39640 wxPyEndAllowThreads(__tstate
);
39641 if (PyErr_Occurred()) SWIG_fail
;
39643 resultobj
= SWIG_Py_Void();
39658 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39659 PyObject
*resultobj
= 0;
39660 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39661 wxHelpEvent::Origin result
;
39664 PyObject
*swig_obj
[1] ;
39666 if (!args
) SWIG_fail
;
39667 swig_obj
[0] = args
;
39668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39669 if (!SWIG_IsOK(res1
)) {
39670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39672 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39675 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39676 wxPyEndAllowThreads(__tstate
);
39677 if (PyErr_Occurred()) SWIG_fail
;
39679 resultobj
= SWIG_From_int(static_cast< int >(result
));
39686 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39687 PyObject
*resultobj
= 0;
39688 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39689 wxHelpEvent::Origin arg2
;
39694 PyObject
* obj0
= 0 ;
39695 PyObject
* obj1
= 0 ;
39696 char * kwnames
[] = {
39697 (char *) "self",(char *) "origin", NULL
39700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39702 if (!SWIG_IsOK(res1
)) {
39703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39705 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39707 if (!SWIG_IsOK(ecode2
)) {
39708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39710 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39713 (arg1
)->SetOrigin(arg2
);
39714 wxPyEndAllowThreads(__tstate
);
39715 if (PyErr_Occurred()) SWIG_fail
;
39717 resultobj
= SWIG_Py_Void();
39724 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39727 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39728 return SWIG_Py_Void();
39731 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39732 return SWIG_Python_InitShadowInstance(args
);
39735 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39736 PyObject
*resultobj
= 0;
39737 wxWindow
*arg1
= (wxWindow
*) NULL
;
39738 bool arg2
= (bool) true ;
39739 wxContextHelp
*result
= 0 ;
39744 PyObject
* obj0
= 0 ;
39745 PyObject
* obj1
= 0 ;
39746 char * kwnames
[] = {
39747 (char *) "window",(char *) "doNow", NULL
39750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39753 if (!SWIG_IsOK(res1
)) {
39754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39756 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39759 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39760 if (!SWIG_IsOK(ecode2
)) {
39761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39763 arg2
= static_cast< bool >(val2
);
39766 if (!wxPyCheckForApp()) SWIG_fail
;
39767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39768 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39769 wxPyEndAllowThreads(__tstate
);
39770 if (PyErr_Occurred()) SWIG_fail
;
39772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39779 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39780 PyObject
*resultobj
= 0;
39781 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39784 PyObject
*swig_obj
[1] ;
39786 if (!args
) SWIG_fail
;
39787 swig_obj
[0] = args
;
39788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39789 if (!SWIG_IsOK(res1
)) {
39790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39792 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39797 wxPyEndAllowThreads(__tstate
);
39798 if (PyErr_Occurred()) SWIG_fail
;
39800 resultobj
= SWIG_Py_Void();
39807 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39808 PyObject
*resultobj
= 0;
39809 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39810 wxWindow
*arg2
= (wxWindow
*) NULL
;
39816 PyObject
* obj0
= 0 ;
39817 PyObject
* obj1
= 0 ;
39818 char * kwnames
[] = {
39819 (char *) "self",(char *) "window", NULL
39822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39824 if (!SWIG_IsOK(res1
)) {
39825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39827 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39830 if (!SWIG_IsOK(res2
)) {
39831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39833 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39837 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39838 wxPyEndAllowThreads(__tstate
);
39839 if (PyErr_Occurred()) SWIG_fail
;
39842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39850 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39851 PyObject
*resultobj
= 0;
39852 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39856 PyObject
*swig_obj
[1] ;
39858 if (!args
) SWIG_fail
;
39859 swig_obj
[0] = args
;
39860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39861 if (!SWIG_IsOK(res1
)) {
39862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39864 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39867 result
= (bool)(arg1
)->EndContextHelp();
39868 wxPyEndAllowThreads(__tstate
);
39869 if (PyErr_Occurred()) SWIG_fail
;
39872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39880 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39883 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39884 return SWIG_Py_Void();
39887 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39888 return SWIG_Python_InitShadowInstance(args
);
39891 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39892 PyObject
*resultobj
= 0;
39893 wxWindow
*arg1
= (wxWindow
*) 0 ;
39894 int arg2
= (int) wxID_CONTEXT_HELP
;
39895 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39896 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39897 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39898 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39899 long arg5
= (long) wxBU_AUTODRAW
;
39900 wxContextHelpButton
*result
= 0 ;
39909 PyObject
* obj0
= 0 ;
39910 PyObject
* obj1
= 0 ;
39911 PyObject
* obj2
= 0 ;
39912 PyObject
* obj3
= 0 ;
39913 PyObject
* obj4
= 0 ;
39914 char * kwnames
[] = {
39915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39920 if (!SWIG_IsOK(res1
)) {
39921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39923 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39926 if (!SWIG_IsOK(ecode2
)) {
39927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39929 arg2
= static_cast< int >(val2
);
39934 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39940 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39944 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39945 if (!SWIG_IsOK(ecode5
)) {
39946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39948 arg5
= static_cast< long >(val5
);
39951 if (!wxPyCheckForApp()) SWIG_fail
;
39952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39953 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39954 wxPyEndAllowThreads(__tstate
);
39955 if (PyErr_Occurred()) SWIG_fail
;
39957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39964 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39967 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39968 return SWIG_Py_Void();
39971 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39972 return SWIG_Python_InitShadowInstance(args
);
39975 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39976 PyObject
*resultobj
= 0;
39977 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39980 PyObject
*swig_obj
[1] ;
39982 if (!args
) SWIG_fail
;
39983 swig_obj
[0] = args
;
39984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39985 if (!SWIG_IsOK(res1
)) {
39986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39988 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39993 wxPyEndAllowThreads(__tstate
);
39994 if (PyErr_Occurred()) SWIG_fail
;
39996 resultobj
= SWIG_Py_Void();
40003 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40004 PyObject
*resultobj
= 0;
40005 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40006 wxHelpProvider
*result
= 0 ;
40008 PyObject
* obj0
= 0 ;
40009 char * kwnames
[] = {
40010 (char *) "helpProvider", NULL
40013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40014 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40015 if (!SWIG_IsOK(res1
)) {
40016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40020 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40021 wxPyEndAllowThreads(__tstate
);
40022 if (PyErr_Occurred()) SWIG_fail
;
40024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40031 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40032 PyObject
*resultobj
= 0;
40033 wxHelpProvider
*result
= 0 ;
40035 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40038 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40039 wxPyEndAllowThreads(__tstate
);
40040 if (PyErr_Occurred()) SWIG_fail
;
40042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40049 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40050 PyObject
*resultobj
= 0;
40051 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40052 wxWindow
*arg2
= (wxWindow
*) 0 ;
40058 PyObject
* obj0
= 0 ;
40059 PyObject
* obj1
= 0 ;
40060 char * kwnames
[] = {
40061 (char *) "self",(char *) "window", NULL
40064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40066 if (!SWIG_IsOK(res1
)) {
40067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40069 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40071 if (!SWIG_IsOK(res2
)) {
40072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40074 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40077 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40078 wxPyEndAllowThreads(__tstate
);
40079 if (PyErr_Occurred()) SWIG_fail
;
40083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40094 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40095 PyObject
*resultobj
= 0;
40096 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40097 wxWindow
*arg2
= (wxWindow
*) 0 ;
40103 PyObject
* obj0
= 0 ;
40104 PyObject
* obj1
= 0 ;
40105 char * kwnames
[] = {
40106 (char *) "self",(char *) "window", NULL
40109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40111 if (!SWIG_IsOK(res1
)) {
40112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40114 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40115 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40116 if (!SWIG_IsOK(res2
)) {
40117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40119 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40122 result
= (bool)(arg1
)->ShowHelp(arg2
);
40123 wxPyEndAllowThreads(__tstate
);
40124 if (PyErr_Occurred()) SWIG_fail
;
40127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40135 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40136 PyObject
*resultobj
= 0;
40137 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40138 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40139 wxPoint
*arg3
= 0 ;
40140 wxHelpEvent::Origin arg4
;
40149 PyObject
* obj0
= 0 ;
40150 PyObject
* obj1
= 0 ;
40151 PyObject
* obj2
= 0 ;
40152 PyObject
* obj3
= 0 ;
40153 char * kwnames
[] = {
40154 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40159 if (!SWIG_IsOK(res1
)) {
40160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40162 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40164 if (!SWIG_IsOK(res2
)) {
40165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40167 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40172 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40173 if (!SWIG_IsOK(ecode4
)) {
40174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40176 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40179 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40180 wxPyEndAllowThreads(__tstate
);
40181 if (PyErr_Occurred()) SWIG_fail
;
40184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40192 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40193 PyObject
*resultobj
= 0;
40194 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40195 wxWindow
*arg2
= (wxWindow
*) 0 ;
40196 wxString
*arg3
= 0 ;
40201 bool temp3
= false ;
40202 PyObject
* obj0
= 0 ;
40203 PyObject
* obj1
= 0 ;
40204 PyObject
* obj2
= 0 ;
40205 char * kwnames
[] = {
40206 (char *) "self",(char *) "window",(char *) "text", NULL
40209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40211 if (!SWIG_IsOK(res1
)) {
40212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40214 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40216 if (!SWIG_IsOK(res2
)) {
40217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40219 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40221 arg3
= wxString_in_helper(obj2
);
40222 if (arg3
== NULL
) SWIG_fail
;
40226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40227 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40228 wxPyEndAllowThreads(__tstate
);
40229 if (PyErr_Occurred()) SWIG_fail
;
40231 resultobj
= SWIG_Py_Void();
40246 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40247 PyObject
*resultobj
= 0;
40248 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40250 wxString
*arg3
= 0 ;
40255 bool temp3
= false ;
40256 PyObject
* obj0
= 0 ;
40257 PyObject
* obj1
= 0 ;
40258 PyObject
* obj2
= 0 ;
40259 char * kwnames
[] = {
40260 (char *) "self",(char *) "id",(char *) "text", NULL
40263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40265 if (!SWIG_IsOK(res1
)) {
40266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40268 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40270 if (!SWIG_IsOK(ecode2
)) {
40271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40273 arg2
= static_cast< int >(val2
);
40275 arg3
= wxString_in_helper(obj2
);
40276 if (arg3
== NULL
) SWIG_fail
;
40280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40281 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40282 wxPyEndAllowThreads(__tstate
);
40283 if (PyErr_Occurred()) SWIG_fail
;
40285 resultobj
= SWIG_Py_Void();
40300 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40301 PyObject
*resultobj
= 0;
40302 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40303 wxWindow
*arg2
= (wxWindow
*) 0 ;
40308 PyObject
* obj0
= 0 ;
40309 PyObject
* obj1
= 0 ;
40310 char * kwnames
[] = {
40311 (char *) "self",(char *) "window", NULL
40314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40316 if (!SWIG_IsOK(res1
)) {
40317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40319 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40321 if (!SWIG_IsOK(res2
)) {
40322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40324 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40327 (arg1
)->RemoveHelp(arg2
);
40328 wxPyEndAllowThreads(__tstate
);
40329 if (PyErr_Occurred()) SWIG_fail
;
40331 resultobj
= SWIG_Py_Void();
40338 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40339 PyObject
*resultobj
= 0;
40340 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40343 PyObject
*swig_obj
[1] ;
40345 if (!args
) SWIG_fail
;
40346 swig_obj
[0] = args
;
40347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40348 if (!SWIG_IsOK(res1
)) {
40349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40351 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40354 wxHelpProvider_Destroy(arg1
);
40355 wxPyEndAllowThreads(__tstate
);
40356 if (PyErr_Occurred()) SWIG_fail
;
40358 resultobj
= SWIG_Py_Void();
40365 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40368 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40369 return SWIG_Py_Void();
40372 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40373 PyObject
*resultobj
= 0;
40374 wxSimpleHelpProvider
*result
= 0 ;
40376 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40379 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40380 wxPyEndAllowThreads(__tstate
);
40381 if (PyErr_Occurred()) SWIG_fail
;
40383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40390 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40393 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40394 return SWIG_Py_Void();
40397 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40398 return SWIG_Python_InitShadowInstance(args
);
40401 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40402 PyObject
*resultobj
= 0;
40403 wxBitmap
*arg1
= 0 ;
40404 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40405 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40406 wxGenericDragImage
*result
= 0 ;
40411 PyObject
* obj0
= 0 ;
40412 PyObject
* obj1
= 0 ;
40413 char * kwnames
[] = {
40414 (char *) "image",(char *) "cursor", NULL
40417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40418 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40419 if (!SWIG_IsOK(res1
)) {
40420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40425 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40427 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40428 if (!SWIG_IsOK(res2
)) {
40429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40434 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40437 if (!wxPyCheckForApp()) SWIG_fail
;
40438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40439 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40440 wxPyEndAllowThreads(__tstate
);
40441 if (PyErr_Occurred()) SWIG_fail
;
40443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40450 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40451 PyObject
*resultobj
= 0;
40453 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40454 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40455 wxGenericDragImage
*result
= 0 ;
40460 PyObject
* obj0
= 0 ;
40461 PyObject
* obj1
= 0 ;
40462 char * kwnames
[] = {
40463 (char *) "image",(char *) "cursor", NULL
40466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40467 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40468 if (!SWIG_IsOK(res1
)) {
40469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40474 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40476 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40477 if (!SWIG_IsOK(res2
)) {
40478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40483 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40486 if (!wxPyCheckForApp()) SWIG_fail
;
40487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40488 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40489 wxPyEndAllowThreads(__tstate
);
40490 if (PyErr_Occurred()) SWIG_fail
;
40492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40499 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40500 PyObject
*resultobj
= 0;
40501 wxString
*arg1
= 0 ;
40502 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40503 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40504 wxGenericDragImage
*result
= 0 ;
40505 bool temp1
= false ;
40508 PyObject
* obj0
= 0 ;
40509 PyObject
* obj1
= 0 ;
40510 char * kwnames
[] = {
40511 (char *) "str",(char *) "cursor", NULL
40514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40516 arg1
= wxString_in_helper(obj0
);
40517 if (arg1
== NULL
) SWIG_fail
;
40521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40522 if (!SWIG_IsOK(res2
)) {
40523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40528 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40531 if (!wxPyCheckForApp()) SWIG_fail
;
40532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40533 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40534 wxPyEndAllowThreads(__tstate
);
40535 if (PyErr_Occurred()) SWIG_fail
;
40537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40552 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40553 PyObject
*resultobj
= 0;
40554 wxPyTreeCtrl
*arg1
= 0 ;
40555 wxTreeItemId
*arg2
= 0 ;
40556 wxGenericDragImage
*result
= 0 ;
40561 PyObject
* obj0
= 0 ;
40562 PyObject
* obj1
= 0 ;
40563 char * kwnames
[] = {
40564 (char *) "treeCtrl",(char *) "id", NULL
40567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40568 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40569 if (!SWIG_IsOK(res1
)) {
40570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40575 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40577 if (!SWIG_IsOK(res2
)) {
40578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40583 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40585 if (!wxPyCheckForApp()) SWIG_fail
;
40586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40587 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40588 wxPyEndAllowThreads(__tstate
);
40589 if (PyErr_Occurred()) SWIG_fail
;
40591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40598 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40599 PyObject
*resultobj
= 0;
40600 wxPyListCtrl
*arg1
= 0 ;
40602 wxGenericDragImage
*result
= 0 ;
40607 PyObject
* obj0
= 0 ;
40608 PyObject
* obj1
= 0 ;
40609 char * kwnames
[] = {
40610 (char *) "listCtrl",(char *) "id", NULL
40613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40614 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40615 if (!SWIG_IsOK(res1
)) {
40616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40621 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40622 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40623 if (!SWIG_IsOK(ecode2
)) {
40624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40626 arg2
= static_cast< long >(val2
);
40628 if (!wxPyCheckForApp()) SWIG_fail
;
40629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40630 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40631 wxPyEndAllowThreads(__tstate
);
40632 if (PyErr_Occurred()) SWIG_fail
;
40634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40641 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40642 PyObject
*resultobj
= 0;
40643 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40646 PyObject
*swig_obj
[1] ;
40648 if (!args
) SWIG_fail
;
40649 swig_obj
[0] = args
;
40650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40651 if (!SWIG_IsOK(res1
)) {
40652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40654 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40659 wxPyEndAllowThreads(__tstate
);
40660 if (PyErr_Occurred()) SWIG_fail
;
40662 resultobj
= SWIG_Py_Void();
40669 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40670 PyObject
*resultobj
= 0;
40671 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40672 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40677 PyObject
* obj0
= 0 ;
40678 PyObject
* obj1
= 0 ;
40679 char * kwnames
[] = {
40680 (char *) "self",(char *) "bitmap", NULL
40683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40685 if (!SWIG_IsOK(res1
)) {
40686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40688 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40690 if (!SWIG_IsOK(res2
)) {
40691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40693 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40696 (arg1
)->SetBackingBitmap(arg2
);
40697 wxPyEndAllowThreads(__tstate
);
40698 if (PyErr_Occurred()) SWIG_fail
;
40700 resultobj
= SWIG_Py_Void();
40707 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40708 PyObject
*resultobj
= 0;
40709 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40710 wxPoint
*arg2
= 0 ;
40711 wxWindow
*arg3
= (wxWindow
*) 0 ;
40712 bool arg4
= (bool) false ;
40713 wxRect
*arg5
= (wxRect
*) NULL
;
40724 PyObject
* obj0
= 0 ;
40725 PyObject
* obj1
= 0 ;
40726 PyObject
* obj2
= 0 ;
40727 PyObject
* obj3
= 0 ;
40728 PyObject
* obj4
= 0 ;
40729 char * kwnames
[] = {
40730 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40735 if (!SWIG_IsOK(res1
)) {
40736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40738 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40741 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40743 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40744 if (!SWIG_IsOK(res3
)) {
40745 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40747 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40749 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40750 if (!SWIG_IsOK(ecode4
)) {
40751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40753 arg4
= static_cast< bool >(val4
);
40756 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40757 if (!SWIG_IsOK(res5
)) {
40758 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40760 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40764 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40765 wxPyEndAllowThreads(__tstate
);
40766 if (PyErr_Occurred()) SWIG_fail
;
40769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40777 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40778 PyObject
*resultobj
= 0;
40779 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40780 wxPoint
*arg2
= 0 ;
40781 wxWindow
*arg3
= (wxWindow
*) 0 ;
40782 wxWindow
*arg4
= (wxWindow
*) 0 ;
40791 PyObject
* obj0
= 0 ;
40792 PyObject
* obj1
= 0 ;
40793 PyObject
* obj2
= 0 ;
40794 PyObject
* obj3
= 0 ;
40795 char * kwnames
[] = {
40796 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40801 if (!SWIG_IsOK(res1
)) {
40802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40804 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40809 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40810 if (!SWIG_IsOK(res3
)) {
40811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40813 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40814 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40815 if (!SWIG_IsOK(res4
)) {
40816 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40818 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40821 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40822 wxPyEndAllowThreads(__tstate
);
40823 if (PyErr_Occurred()) SWIG_fail
;
40826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40834 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40835 PyObject
*resultobj
= 0;
40836 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40840 PyObject
*swig_obj
[1] ;
40842 if (!args
) SWIG_fail
;
40843 swig_obj
[0] = args
;
40844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40845 if (!SWIG_IsOK(res1
)) {
40846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40848 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40851 result
= (bool)(arg1
)->EndDrag();
40852 wxPyEndAllowThreads(__tstate
);
40853 if (PyErr_Occurred()) SWIG_fail
;
40856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40864 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40865 PyObject
*resultobj
= 0;
40866 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40867 wxPoint
*arg2
= 0 ;
40872 PyObject
* obj0
= 0 ;
40873 PyObject
* obj1
= 0 ;
40874 char * kwnames
[] = {
40875 (char *) "self",(char *) "pt", NULL
40878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40880 if (!SWIG_IsOK(res1
)) {
40881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40883 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40890 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40891 wxPyEndAllowThreads(__tstate
);
40892 if (PyErr_Occurred()) SWIG_fail
;
40895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40903 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40904 PyObject
*resultobj
= 0;
40905 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40909 PyObject
*swig_obj
[1] ;
40911 if (!args
) SWIG_fail
;
40912 swig_obj
[0] = args
;
40913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40914 if (!SWIG_IsOK(res1
)) {
40915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40917 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40920 result
= (bool)(arg1
)->Show();
40921 wxPyEndAllowThreads(__tstate
);
40922 if (PyErr_Occurred()) SWIG_fail
;
40925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40933 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40934 PyObject
*resultobj
= 0;
40935 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40939 PyObject
*swig_obj
[1] ;
40941 if (!args
) SWIG_fail
;
40942 swig_obj
[0] = args
;
40943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40944 if (!SWIG_IsOK(res1
)) {
40945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40947 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40950 result
= (bool)(arg1
)->Hide();
40951 wxPyEndAllowThreads(__tstate
);
40952 if (PyErr_Occurred()) SWIG_fail
;
40955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40963 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40964 PyObject
*resultobj
= 0;
40965 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40966 wxPoint
*arg2
= 0 ;
40971 PyObject
* obj0
= 0 ;
40972 PyObject
* obj1
= 0 ;
40973 char * kwnames
[] = {
40974 (char *) "self",(char *) "pos", NULL
40977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40979 if (!SWIG_IsOK(res1
)) {
40980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40982 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40985 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40989 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40990 wxPyEndAllowThreads(__tstate
);
40991 if (PyErr_Occurred()) SWIG_fail
;
40993 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41000 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41001 PyObject
*resultobj
= 0;
41002 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41004 wxPoint
*arg3
= 0 ;
41011 PyObject
* obj0
= 0 ;
41012 PyObject
* obj1
= 0 ;
41013 PyObject
* obj2
= 0 ;
41014 char * kwnames
[] = {
41015 (char *) "self",(char *) "dc",(char *) "pos", NULL
41018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41020 if (!SWIG_IsOK(res1
)) {
41021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41023 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41025 if (!SWIG_IsOK(res2
)) {
41026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41031 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41038 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41039 wxPyEndAllowThreads(__tstate
);
41040 if (PyErr_Occurred()) SWIG_fail
;
41043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41051 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41052 PyObject
*resultobj
= 0;
41053 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41055 wxMemoryDC
*arg3
= 0 ;
41067 PyObject
* obj0
= 0 ;
41068 PyObject
* obj1
= 0 ;
41069 PyObject
* obj2
= 0 ;
41070 PyObject
* obj3
= 0 ;
41071 PyObject
* obj4
= 0 ;
41072 char * kwnames
[] = {
41073 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41078 if (!SWIG_IsOK(res1
)) {
41079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41081 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41083 if (!SWIG_IsOK(res2
)) {
41084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41089 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41090 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41091 if (!SWIG_IsOK(res3
)) {
41092 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41097 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41100 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41104 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41108 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41109 wxPyEndAllowThreads(__tstate
);
41110 if (PyErr_Occurred()) SWIG_fail
;
41113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41121 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41122 PyObject
*resultobj
= 0;
41123 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41124 wxPoint
*arg2
= 0 ;
41125 wxPoint
*arg3
= 0 ;
41137 PyObject
* obj0
= 0 ;
41138 PyObject
* obj1
= 0 ;
41139 PyObject
* obj2
= 0 ;
41140 PyObject
* obj3
= 0 ;
41141 PyObject
* obj4
= 0 ;
41142 char * kwnames
[] = {
41143 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41148 if (!SWIG_IsOK(res1
)) {
41149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41151 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41154 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41158 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41160 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41161 if (!SWIG_IsOK(ecode4
)) {
41162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41164 arg4
= static_cast< bool >(val4
);
41165 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41166 if (!SWIG_IsOK(ecode5
)) {
41167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41169 arg5
= static_cast< bool >(val5
);
41171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41172 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41173 wxPyEndAllowThreads(__tstate
);
41174 if (PyErr_Occurred()) SWIG_fail
;
41177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41185 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41188 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41189 return SWIG_Py_Void();
41192 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41193 return SWIG_Python_InitShadowInstance(args
);
41196 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41197 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41202 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41203 PyObject
*pyobj
= 0;
41207 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41209 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41216 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41217 PyObject
*resultobj
= 0;
41218 wxWindow
*arg1
= (wxWindow
*) 0 ;
41219 int arg2
= (int) -1 ;
41220 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41221 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41226 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41227 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41228 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41229 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41230 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41231 wxDatePickerCtrl
*result
= 0 ;
41244 bool temp8
= false ;
41245 PyObject
* obj0
= 0 ;
41246 PyObject
* obj1
= 0 ;
41247 PyObject
* obj2
= 0 ;
41248 PyObject
* obj3
= 0 ;
41249 PyObject
* obj4
= 0 ;
41250 PyObject
* obj5
= 0 ;
41251 PyObject
* obj6
= 0 ;
41252 PyObject
* obj7
= 0 ;
41253 char * kwnames
[] = {
41254 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41259 if (!SWIG_IsOK(res1
)) {
41260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41265 if (!SWIG_IsOK(ecode2
)) {
41266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41268 arg2
= static_cast< int >(val2
);
41271 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41272 if (!SWIG_IsOK(res3
)) {
41273 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41278 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41293 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41294 if (!SWIG_IsOK(ecode6
)) {
41295 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41297 arg6
= static_cast< long >(val6
);
41300 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41301 if (!SWIG_IsOK(res7
)) {
41302 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41307 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41311 arg8
= wxString_in_helper(obj7
);
41312 if (arg8
== NULL
) SWIG_fail
;
41317 if (!wxPyCheckForApp()) SWIG_fail
;
41318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41319 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41320 wxPyEndAllowThreads(__tstate
);
41321 if (PyErr_Occurred()) SWIG_fail
;
41323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41338 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41339 PyObject
*resultobj
= 0;
41340 wxDatePickerCtrl
*result
= 0 ;
41342 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41344 if (!wxPyCheckForApp()) SWIG_fail
;
41345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41346 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41347 wxPyEndAllowThreads(__tstate
);
41348 if (PyErr_Occurred()) SWIG_fail
;
41350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41357 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41358 PyObject
*resultobj
= 0;
41359 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41360 wxWindow
*arg2
= (wxWindow
*) 0 ;
41361 int arg3
= (int) -1 ;
41362 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41363 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41364 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41365 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41366 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41367 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41368 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41369 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41370 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41371 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41372 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41388 bool temp9
= false ;
41389 PyObject
* obj0
= 0 ;
41390 PyObject
* obj1
= 0 ;
41391 PyObject
* obj2
= 0 ;
41392 PyObject
* obj3
= 0 ;
41393 PyObject
* obj4
= 0 ;
41394 PyObject
* obj5
= 0 ;
41395 PyObject
* obj6
= 0 ;
41396 PyObject
* obj7
= 0 ;
41397 PyObject
* obj8
= 0 ;
41398 char * kwnames
[] = {
41399 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41404 if (!SWIG_IsOK(res1
)) {
41405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41407 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41409 if (!SWIG_IsOK(res2
)) {
41410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41412 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41415 if (!SWIG_IsOK(ecode3
)) {
41416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41418 arg3
= static_cast< int >(val3
);
41421 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41422 if (!SWIG_IsOK(res4
)) {
41423 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41428 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41433 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41439 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41443 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41444 if (!SWIG_IsOK(ecode7
)) {
41445 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41447 arg7
= static_cast< long >(val7
);
41450 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41451 if (!SWIG_IsOK(res8
)) {
41452 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41457 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41461 arg9
= wxString_in_helper(obj8
);
41462 if (arg9
== NULL
) SWIG_fail
;
41467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41468 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41469 wxPyEndAllowThreads(__tstate
);
41470 if (PyErr_Occurred()) SWIG_fail
;
41473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41489 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41490 PyObject
*resultobj
= 0;
41491 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41492 wxDateTime
*arg2
= 0 ;
41497 PyObject
* obj0
= 0 ;
41498 PyObject
* obj1
= 0 ;
41499 char * kwnames
[] = {
41500 (char *) "self",(char *) "dt", NULL
41503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41505 if (!SWIG_IsOK(res1
)) {
41506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41508 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41510 if (!SWIG_IsOK(res2
)) {
41511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41516 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41519 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41520 wxPyEndAllowThreads(__tstate
);
41521 if (PyErr_Occurred()) SWIG_fail
;
41523 resultobj
= SWIG_Py_Void();
41530 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41531 PyObject
*resultobj
= 0;
41532 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41536 PyObject
*swig_obj
[1] ;
41538 if (!args
) SWIG_fail
;
41539 swig_obj
[0] = args
;
41540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41541 if (!SWIG_IsOK(res1
)) {
41542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41544 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41547 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41548 wxPyEndAllowThreads(__tstate
);
41549 if (PyErr_Occurred()) SWIG_fail
;
41551 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41558 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41559 PyObject
*resultobj
= 0;
41560 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41561 wxDateTime
*arg2
= 0 ;
41562 wxDateTime
*arg3
= 0 ;
41569 PyObject
* obj0
= 0 ;
41570 PyObject
* obj1
= 0 ;
41571 PyObject
* obj2
= 0 ;
41572 char * kwnames
[] = {
41573 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41578 if (!SWIG_IsOK(res1
)) {
41579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41581 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41583 if (!SWIG_IsOK(res2
)) {
41584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41589 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41590 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41591 if (!SWIG_IsOK(res3
)) {
41592 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41597 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41600 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41601 wxPyEndAllowThreads(__tstate
);
41602 if (PyErr_Occurred()) SWIG_fail
;
41604 resultobj
= SWIG_Py_Void();
41611 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41612 PyObject
*resultobj
= 0;
41613 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41617 PyObject
*swig_obj
[1] ;
41619 if (!args
) SWIG_fail
;
41620 swig_obj
[0] = args
;
41621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41622 if (!SWIG_IsOK(res1
)) {
41623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41625 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41628 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41629 wxPyEndAllowThreads(__tstate
);
41630 if (PyErr_Occurred()) SWIG_fail
;
41632 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41639 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41640 PyObject
*resultobj
= 0;
41641 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41645 PyObject
*swig_obj
[1] ;
41647 if (!args
) SWIG_fail
;
41648 swig_obj
[0] = args
;
41649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41650 if (!SWIG_IsOK(res1
)) {
41651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41653 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41656 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41657 wxPyEndAllowThreads(__tstate
);
41658 if (PyErr_Occurred()) SWIG_fail
;
41660 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41667 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41670 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41671 return SWIG_Py_Void();
41674 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41675 return SWIG_Python_InitShadowInstance(args
);
41678 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41679 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41684 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41685 PyObject
*pyobj
= 0;
41689 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41691 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41698 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41699 PyObject
*resultobj
= 0;
41700 wxWindow
*arg1
= (wxWindow
*) 0 ;
41702 wxString
*arg3
= 0 ;
41703 wxString
*arg4
= 0 ;
41704 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41705 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41706 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41707 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41708 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41709 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41710 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41711 wxHyperlinkCtrl
*result
= 0 ;
41716 bool temp3
= false ;
41717 bool temp4
= false ;
41722 bool temp8
= false ;
41723 PyObject
* obj0
= 0 ;
41724 PyObject
* obj1
= 0 ;
41725 PyObject
* obj2
= 0 ;
41726 PyObject
* obj3
= 0 ;
41727 PyObject
* obj4
= 0 ;
41728 PyObject
* obj5
= 0 ;
41729 PyObject
* obj6
= 0 ;
41730 PyObject
* obj7
= 0 ;
41731 char * kwnames
[] = {
41732 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41737 if (!SWIG_IsOK(res1
)) {
41738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41742 if (!SWIG_IsOK(ecode2
)) {
41743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41745 arg2
= static_cast< int >(val2
);
41747 arg3
= wxString_in_helper(obj2
);
41748 if (arg3
== NULL
) SWIG_fail
;
41752 arg4
= wxString_in_helper(obj3
);
41753 if (arg4
== NULL
) SWIG_fail
;
41759 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41765 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41769 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41770 if (!SWIG_IsOK(ecode7
)) {
41771 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41773 arg7
= static_cast< long >(val7
);
41777 arg8
= wxString_in_helper(obj7
);
41778 if (arg8
== NULL
) SWIG_fail
;
41783 if (!wxPyCheckForApp()) SWIG_fail
;
41784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41785 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41786 wxPyEndAllowThreads(__tstate
);
41787 if (PyErr_Occurred()) SWIG_fail
;
41789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41820 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41821 PyObject
*resultobj
= 0;
41822 wxHyperlinkCtrl
*result
= 0 ;
41824 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41826 if (!wxPyCheckForApp()) SWIG_fail
;
41827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41828 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41829 wxPyEndAllowThreads(__tstate
);
41830 if (PyErr_Occurred()) SWIG_fail
;
41832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41839 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41840 PyObject
*resultobj
= 0;
41841 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41842 wxWindow
*arg2
= (wxWindow
*) 0 ;
41844 wxString
*arg4
= 0 ;
41845 wxString
*arg5
= 0 ;
41846 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41847 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41848 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41849 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41850 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41851 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41852 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41860 bool temp4
= false ;
41861 bool temp5
= false ;
41866 bool temp9
= false ;
41867 PyObject
* obj0
= 0 ;
41868 PyObject
* obj1
= 0 ;
41869 PyObject
* obj2
= 0 ;
41870 PyObject
* obj3
= 0 ;
41871 PyObject
* obj4
= 0 ;
41872 PyObject
* obj5
= 0 ;
41873 PyObject
* obj6
= 0 ;
41874 PyObject
* obj7
= 0 ;
41875 PyObject
* obj8
= 0 ;
41876 char * kwnames
[] = {
41877 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41882 if (!SWIG_IsOK(res1
)) {
41883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41885 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41887 if (!SWIG_IsOK(res2
)) {
41888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41890 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41892 if (!SWIG_IsOK(ecode3
)) {
41893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41895 arg3
= static_cast< int >(val3
);
41897 arg4
= wxString_in_helper(obj3
);
41898 if (arg4
== NULL
) SWIG_fail
;
41902 arg5
= wxString_in_helper(obj4
);
41903 if (arg5
== NULL
) SWIG_fail
;
41909 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41915 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41919 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41920 if (!SWIG_IsOK(ecode8
)) {
41921 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41923 arg8
= static_cast< long >(val8
);
41927 arg9
= wxString_in_helper(obj8
);
41928 if (arg9
== NULL
) SWIG_fail
;
41933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41934 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41935 wxPyEndAllowThreads(__tstate
);
41936 if (PyErr_Occurred()) SWIG_fail
;
41939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41971 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41972 PyObject
*resultobj
= 0;
41973 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41977 PyObject
*swig_obj
[1] ;
41979 if (!args
) SWIG_fail
;
41980 swig_obj
[0] = args
;
41981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41982 if (!SWIG_IsOK(res1
)) {
41983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41985 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41988 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41989 wxPyEndAllowThreads(__tstate
);
41990 if (PyErr_Occurred()) SWIG_fail
;
41992 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41999 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42000 PyObject
*resultobj
= 0;
42001 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42002 wxColour
*arg2
= 0 ;
42006 PyObject
* obj0
= 0 ;
42007 PyObject
* obj1
= 0 ;
42008 char * kwnames
[] = {
42009 (char *) "self",(char *) "colour", NULL
42012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42014 if (!SWIG_IsOK(res1
)) {
42015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42017 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42020 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42024 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42025 wxPyEndAllowThreads(__tstate
);
42026 if (PyErr_Occurred()) SWIG_fail
;
42028 resultobj
= SWIG_Py_Void();
42035 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42036 PyObject
*resultobj
= 0;
42037 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42041 PyObject
*swig_obj
[1] ;
42043 if (!args
) SWIG_fail
;
42044 swig_obj
[0] = args
;
42045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42046 if (!SWIG_IsOK(res1
)) {
42047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42049 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42052 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42053 wxPyEndAllowThreads(__tstate
);
42054 if (PyErr_Occurred()) SWIG_fail
;
42056 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42063 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42064 PyObject
*resultobj
= 0;
42065 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42066 wxColour
*arg2
= 0 ;
42070 PyObject
* obj0
= 0 ;
42071 PyObject
* obj1
= 0 ;
42072 char * kwnames
[] = {
42073 (char *) "self",(char *) "colour", NULL
42076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42078 if (!SWIG_IsOK(res1
)) {
42079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42081 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42084 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42088 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42089 wxPyEndAllowThreads(__tstate
);
42090 if (PyErr_Occurred()) SWIG_fail
;
42092 resultobj
= SWIG_Py_Void();
42099 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42100 PyObject
*resultobj
= 0;
42101 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42105 PyObject
*swig_obj
[1] ;
42107 if (!args
) SWIG_fail
;
42108 swig_obj
[0] = args
;
42109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42110 if (!SWIG_IsOK(res1
)) {
42111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42113 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42116 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42117 wxPyEndAllowThreads(__tstate
);
42118 if (PyErr_Occurred()) SWIG_fail
;
42120 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42127 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42128 PyObject
*resultobj
= 0;
42129 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42130 wxColour
*arg2
= 0 ;
42134 PyObject
* obj0
= 0 ;
42135 PyObject
* obj1
= 0 ;
42136 char * kwnames
[] = {
42137 (char *) "self",(char *) "colour", NULL
42140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42142 if (!SWIG_IsOK(res1
)) {
42143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42145 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42148 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42152 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42153 wxPyEndAllowThreads(__tstate
);
42154 if (PyErr_Occurred()) SWIG_fail
;
42156 resultobj
= SWIG_Py_Void();
42163 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42164 PyObject
*resultobj
= 0;
42165 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42169 PyObject
*swig_obj
[1] ;
42171 if (!args
) SWIG_fail
;
42172 swig_obj
[0] = args
;
42173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42174 if (!SWIG_IsOK(res1
)) {
42175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42177 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42180 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42181 wxPyEndAllowThreads(__tstate
);
42182 if (PyErr_Occurred()) SWIG_fail
;
42186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42197 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42198 PyObject
*resultobj
= 0;
42199 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42200 wxString
*arg2
= 0 ;
42203 bool temp2
= false ;
42204 PyObject
* obj0
= 0 ;
42205 PyObject
* obj1
= 0 ;
42206 char * kwnames
[] = {
42207 (char *) "self",(char *) "url", NULL
42210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42212 if (!SWIG_IsOK(res1
)) {
42213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42215 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42217 arg2
= wxString_in_helper(obj1
);
42218 if (arg2
== NULL
) SWIG_fail
;
42222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42223 (arg1
)->SetURL((wxString
const &)*arg2
);
42224 wxPyEndAllowThreads(__tstate
);
42225 if (PyErr_Occurred()) SWIG_fail
;
42227 resultobj
= SWIG_Py_Void();
42242 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42243 PyObject
*resultobj
= 0;
42244 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42245 bool arg2
= (bool) true ;
42250 PyObject
* obj0
= 0 ;
42251 PyObject
* obj1
= 0 ;
42252 char * kwnames
[] = {
42253 (char *) "self",(char *) "visited", NULL
42256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42258 if (!SWIG_IsOK(res1
)) {
42259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42261 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42263 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42264 if (!SWIG_IsOK(ecode2
)) {
42265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42267 arg2
= static_cast< bool >(val2
);
42270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42271 (arg1
)->SetVisited(arg2
);
42272 wxPyEndAllowThreads(__tstate
);
42273 if (PyErr_Occurred()) SWIG_fail
;
42275 resultobj
= SWIG_Py_Void();
42282 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42283 PyObject
*resultobj
= 0;
42284 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42288 PyObject
*swig_obj
[1] ;
42290 if (!args
) SWIG_fail
;
42291 swig_obj
[0] = args
;
42292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42293 if (!SWIG_IsOK(res1
)) {
42294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42296 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42299 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42300 wxPyEndAllowThreads(__tstate
);
42301 if (PyErr_Occurred()) SWIG_fail
;
42304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42312 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42315 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42316 return SWIG_Py_Void();
42319 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42320 return SWIG_Python_InitShadowInstance(args
);
42323 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42324 PyObject
*resultobj
= 0;
42325 wxObject
*arg1
= (wxObject
*) 0 ;
42327 wxString
*arg3
= 0 ;
42328 wxHyperlinkEvent
*result
= 0 ;
42333 bool temp3
= false ;
42334 PyObject
* obj0
= 0 ;
42335 PyObject
* obj1
= 0 ;
42336 PyObject
* obj2
= 0 ;
42337 char * kwnames
[] = {
42338 (char *) "generator",(char *) "id",(char *) "url", NULL
42341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42343 if (!SWIG_IsOK(res1
)) {
42344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42346 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42348 if (!SWIG_IsOK(ecode2
)) {
42349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42351 arg2
= static_cast< int >(val2
);
42353 arg3
= wxString_in_helper(obj2
);
42354 if (arg3
== NULL
) SWIG_fail
;
42358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42359 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42360 wxPyEndAllowThreads(__tstate
);
42361 if (PyErr_Occurred()) SWIG_fail
;
42363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42378 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42379 PyObject
*resultobj
= 0;
42380 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42384 PyObject
*swig_obj
[1] ;
42386 if (!args
) SWIG_fail
;
42387 swig_obj
[0] = args
;
42388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42389 if (!SWIG_IsOK(res1
)) {
42390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42392 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42395 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42396 wxPyEndAllowThreads(__tstate
);
42397 if (PyErr_Occurred()) SWIG_fail
;
42401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42412 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42413 PyObject
*resultobj
= 0;
42414 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42415 wxString
*arg2
= 0 ;
42418 bool temp2
= false ;
42419 PyObject
* obj0
= 0 ;
42420 PyObject
* obj1
= 0 ;
42421 char * kwnames
[] = {
42422 (char *) "self",(char *) "url", NULL
42425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42427 if (!SWIG_IsOK(res1
)) {
42428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42430 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42432 arg2
= wxString_in_helper(obj1
);
42433 if (arg2
== NULL
) SWIG_fail
;
42437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42438 (arg1
)->SetURL((wxString
const &)*arg2
);
42439 wxPyEndAllowThreads(__tstate
);
42440 if (PyErr_Occurred()) SWIG_fail
;
42442 resultobj
= SWIG_Py_Void();
42457 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42460 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42461 return SWIG_Py_Void();
42464 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42465 return SWIG_Python_InitShadowInstance(args
);
42468 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42469 PyObject
*resultobj
= 0;
42470 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42471 wxWindow
*arg2
= (wxWindow
*) 0 ;
42473 wxString
const &arg4_defvalue
= wxEmptyString
;
42474 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42475 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42476 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42477 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42478 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42479 long arg7
= (long) 0 ;
42480 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42481 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42482 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42483 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42491 bool temp4
= false ;
42498 bool temp9
= false ;
42499 PyObject
* obj0
= 0 ;
42500 PyObject
* obj1
= 0 ;
42501 PyObject
* obj2
= 0 ;
42502 PyObject
* obj3
= 0 ;
42503 PyObject
* obj4
= 0 ;
42504 PyObject
* obj5
= 0 ;
42505 PyObject
* obj6
= 0 ;
42506 PyObject
* obj7
= 0 ;
42507 PyObject
* obj8
= 0 ;
42508 char * kwnames
[] = {
42509 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42514 if (!SWIG_IsOK(res1
)) {
42515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42517 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42519 if (!SWIG_IsOK(res2
)) {
42520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42522 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42524 if (!SWIG_IsOK(ecode3
)) {
42525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42527 arg3
= static_cast< int >(val3
);
42530 arg4
= wxString_in_helper(obj3
);
42531 if (arg4
== NULL
) SWIG_fail
;
42538 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42544 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42548 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42549 if (!SWIG_IsOK(ecode7
)) {
42550 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42552 arg7
= static_cast< long >(val7
);
42555 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42556 if (!SWIG_IsOK(res8
)) {
42557 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42562 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42566 arg9
= wxString_in_helper(obj8
);
42567 if (arg9
== NULL
) SWIG_fail
;
42572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42573 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42574 wxPyEndAllowThreads(__tstate
);
42575 if (PyErr_Occurred()) SWIG_fail
;
42578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42602 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42603 PyObject
*resultobj
= 0;
42604 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42610 PyObject
* obj0
= 0 ;
42611 PyObject
* obj1
= 0 ;
42612 char * kwnames
[] = {
42613 (char *) "self",(char *) "newmargin", NULL
42616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42618 if (!SWIG_IsOK(res1
)) {
42619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42621 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42623 if (!SWIG_IsOK(ecode2
)) {
42624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42626 arg2
= static_cast< int >(val2
);
42628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42629 (arg1
)->SetInternalMargin(arg2
);
42630 wxPyEndAllowThreads(__tstate
);
42631 if (PyErr_Occurred()) SWIG_fail
;
42633 resultobj
= SWIG_Py_Void();
42640 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42641 PyObject
*resultobj
= 0;
42642 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42646 PyObject
*swig_obj
[1] ;
42648 if (!args
) SWIG_fail
;
42649 swig_obj
[0] = args
;
42650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42651 if (!SWIG_IsOK(res1
)) {
42652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42654 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42657 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42658 wxPyEndAllowThreads(__tstate
);
42659 if (PyErr_Occurred()) SWIG_fail
;
42661 resultobj
= SWIG_From_int(static_cast< int >(result
));
42668 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42669 PyObject
*resultobj
= 0;
42670 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42676 PyObject
* obj0
= 0 ;
42677 PyObject
* obj1
= 0 ;
42678 char * kwnames
[] = {
42679 (char *) "self",(char *) "prop", NULL
42682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42684 if (!SWIG_IsOK(res1
)) {
42685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42687 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42689 if (!SWIG_IsOK(ecode2
)) {
42690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42692 arg2
= static_cast< int >(val2
);
42694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42695 (arg1
)->SetTextCtrlProportion(arg2
);
42696 wxPyEndAllowThreads(__tstate
);
42697 if (PyErr_Occurred()) SWIG_fail
;
42699 resultobj
= SWIG_Py_Void();
42706 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42707 PyObject
*resultobj
= 0;
42708 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42712 PyObject
*swig_obj
[1] ;
42714 if (!args
) SWIG_fail
;
42715 swig_obj
[0] = args
;
42716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42717 if (!SWIG_IsOK(res1
)) {
42718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42720 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42723 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42724 wxPyEndAllowThreads(__tstate
);
42725 if (PyErr_Occurred()) SWIG_fail
;
42727 resultobj
= SWIG_From_int(static_cast< int >(result
));
42734 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42735 PyObject
*resultobj
= 0;
42736 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42742 PyObject
* obj0
= 0 ;
42743 PyObject
* obj1
= 0 ;
42744 char * kwnames
[] = {
42745 (char *) "self",(char *) "prop", NULL
42748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42750 if (!SWIG_IsOK(res1
)) {
42751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42753 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42755 if (!SWIG_IsOK(ecode2
)) {
42756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42758 arg2
= static_cast< int >(val2
);
42760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42761 (arg1
)->SetPickerCtrlProportion(arg2
);
42762 wxPyEndAllowThreads(__tstate
);
42763 if (PyErr_Occurred()) SWIG_fail
;
42765 resultobj
= SWIG_Py_Void();
42772 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42773 PyObject
*resultobj
= 0;
42774 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42778 PyObject
*swig_obj
[1] ;
42780 if (!args
) SWIG_fail
;
42781 swig_obj
[0] = args
;
42782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42783 if (!SWIG_IsOK(res1
)) {
42784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42786 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42789 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42790 wxPyEndAllowThreads(__tstate
);
42791 if (PyErr_Occurred()) SWIG_fail
;
42793 resultobj
= SWIG_From_int(static_cast< int >(result
));
42800 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42801 PyObject
*resultobj
= 0;
42802 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42806 PyObject
*swig_obj
[1] ;
42808 if (!args
) SWIG_fail
;
42809 swig_obj
[0] = args
;
42810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42811 if (!SWIG_IsOK(res1
)) {
42812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42814 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42817 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42818 wxPyEndAllowThreads(__tstate
);
42819 if (PyErr_Occurred()) SWIG_fail
;
42822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42830 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42831 PyObject
*resultobj
= 0;
42832 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42833 bool arg2
= (bool) true ;
42838 PyObject
* obj0
= 0 ;
42839 PyObject
* obj1
= 0 ;
42840 char * kwnames
[] = {
42841 (char *) "self",(char *) "grow", NULL
42844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42846 if (!SWIG_IsOK(res1
)) {
42847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42849 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42851 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42852 if (!SWIG_IsOK(ecode2
)) {
42853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42855 arg2
= static_cast< bool >(val2
);
42858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42859 (arg1
)->SetTextCtrlGrowable(arg2
);
42860 wxPyEndAllowThreads(__tstate
);
42861 if (PyErr_Occurred()) SWIG_fail
;
42863 resultobj
= SWIG_Py_Void();
42870 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42871 PyObject
*resultobj
= 0;
42872 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42876 PyObject
*swig_obj
[1] ;
42878 if (!args
) SWIG_fail
;
42879 swig_obj
[0] = args
;
42880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42881 if (!SWIG_IsOK(res1
)) {
42882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42884 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42887 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42888 wxPyEndAllowThreads(__tstate
);
42889 if (PyErr_Occurred()) SWIG_fail
;
42892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42900 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42901 PyObject
*resultobj
= 0;
42902 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42903 bool arg2
= (bool) true ;
42908 PyObject
* obj0
= 0 ;
42909 PyObject
* obj1
= 0 ;
42910 char * kwnames
[] = {
42911 (char *) "self",(char *) "grow", NULL
42914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42916 if (!SWIG_IsOK(res1
)) {
42917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42919 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42921 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42922 if (!SWIG_IsOK(ecode2
)) {
42923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42925 arg2
= static_cast< bool >(val2
);
42928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42929 (arg1
)->SetPickerCtrlGrowable(arg2
);
42930 wxPyEndAllowThreads(__tstate
);
42931 if (PyErr_Occurred()) SWIG_fail
;
42933 resultobj
= SWIG_Py_Void();
42940 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42941 PyObject
*resultobj
= 0;
42942 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42946 PyObject
*swig_obj
[1] ;
42948 if (!args
) SWIG_fail
;
42949 swig_obj
[0] = args
;
42950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42951 if (!SWIG_IsOK(res1
)) {
42952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42954 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42957 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42958 wxPyEndAllowThreads(__tstate
);
42959 if (PyErr_Occurred()) SWIG_fail
;
42962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42970 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42971 PyObject
*resultobj
= 0;
42972 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42973 wxTextCtrl
*result
= 0 ;
42976 PyObject
*swig_obj
[1] ;
42978 if (!args
) SWIG_fail
;
42979 swig_obj
[0] = args
;
42980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42981 if (!SWIG_IsOK(res1
)) {
42982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42984 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42987 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42988 wxPyEndAllowThreads(__tstate
);
42989 if (PyErr_Occurred()) SWIG_fail
;
42992 resultobj
= wxPyMake_wxObject(result
, 0);
43000 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43001 PyObject
*resultobj
= 0;
43002 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43003 wxControl
*result
= 0 ;
43006 PyObject
*swig_obj
[1] ;
43008 if (!args
) SWIG_fail
;
43009 swig_obj
[0] = args
;
43010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43011 if (!SWIG_IsOK(res1
)) {
43012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43014 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43017 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43018 wxPyEndAllowThreads(__tstate
);
43019 if (PyErr_Occurred()) SWIG_fail
;
43022 resultobj
= wxPyMake_wxObject(result
, 0);
43030 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43033 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43034 return SWIG_Py_Void();
43037 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43038 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43043 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43044 PyObject
*pyobj
= 0;
43048 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43050 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43057 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43058 PyObject
*resultobj
= 0;
43059 wxWindow
*arg1
= (wxWindow
*) 0 ;
43060 int arg2
= (int) -1 ;
43061 wxColour
const &arg3_defvalue
= *wxBLACK
;
43062 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43063 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43064 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43065 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43066 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43067 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43068 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43069 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43070 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43071 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43072 wxColourPickerCtrl
*result
= 0 ;
43084 bool temp8
= false ;
43085 PyObject
* obj0
= 0 ;
43086 PyObject
* obj1
= 0 ;
43087 PyObject
* obj2
= 0 ;
43088 PyObject
* obj3
= 0 ;
43089 PyObject
* obj4
= 0 ;
43090 PyObject
* obj5
= 0 ;
43091 PyObject
* obj6
= 0 ;
43092 PyObject
* obj7
= 0 ;
43093 char * kwnames
[] = {
43094 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43099 if (!SWIG_IsOK(res1
)) {
43100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43102 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43105 if (!SWIG_IsOK(ecode2
)) {
43106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43108 arg2
= static_cast< int >(val2
);
43113 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43129 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43130 if (!SWIG_IsOK(ecode6
)) {
43131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43133 arg6
= static_cast< long >(val6
);
43136 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43137 if (!SWIG_IsOK(res7
)) {
43138 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43143 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43147 arg8
= wxString_in_helper(obj7
);
43148 if (arg8
== NULL
) SWIG_fail
;
43153 if (!wxPyCheckForApp()) SWIG_fail
;
43154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43155 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43156 wxPyEndAllowThreads(__tstate
);
43157 if (PyErr_Occurred()) SWIG_fail
;
43159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43174 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43175 PyObject
*resultobj
= 0;
43176 wxColourPickerCtrl
*result
= 0 ;
43178 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43180 if (!wxPyCheckForApp()) SWIG_fail
;
43181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43182 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43183 wxPyEndAllowThreads(__tstate
);
43184 if (PyErr_Occurred()) SWIG_fail
;
43186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43193 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43194 PyObject
*resultobj
= 0;
43195 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43196 wxWindow
*arg2
= (wxWindow
*) 0 ;
43198 wxColour
const &arg4_defvalue
= *wxBLACK
;
43199 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43200 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43201 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43202 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43203 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43204 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43205 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43206 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43207 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43208 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43223 bool temp9
= false ;
43224 PyObject
* obj0
= 0 ;
43225 PyObject
* obj1
= 0 ;
43226 PyObject
* obj2
= 0 ;
43227 PyObject
* obj3
= 0 ;
43228 PyObject
* obj4
= 0 ;
43229 PyObject
* obj5
= 0 ;
43230 PyObject
* obj6
= 0 ;
43231 PyObject
* obj7
= 0 ;
43232 PyObject
* obj8
= 0 ;
43233 char * kwnames
[] = {
43234 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43239 if (!SWIG_IsOK(res1
)) {
43240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43242 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43243 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43244 if (!SWIG_IsOK(res2
)) {
43245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43247 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43249 if (!SWIG_IsOK(ecode3
)) {
43250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43252 arg3
= static_cast< int >(val3
);
43256 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43262 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43268 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43272 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43273 if (!SWIG_IsOK(ecode7
)) {
43274 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43276 arg7
= static_cast< long >(val7
);
43279 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43280 if (!SWIG_IsOK(res8
)) {
43281 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43286 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43290 arg9
= wxString_in_helper(obj8
);
43291 if (arg9
== NULL
) SWIG_fail
;
43296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43297 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43298 wxPyEndAllowThreads(__tstate
);
43299 if (PyErr_Occurred()) SWIG_fail
;
43302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43318 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43319 PyObject
*resultobj
= 0;
43320 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43324 PyObject
*swig_obj
[1] ;
43326 if (!args
) SWIG_fail
;
43327 swig_obj
[0] = args
;
43328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43329 if (!SWIG_IsOK(res1
)) {
43330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43332 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43335 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43336 wxPyEndAllowThreads(__tstate
);
43337 if (PyErr_Occurred()) SWIG_fail
;
43339 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43346 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43347 PyObject
*resultobj
= 0;
43348 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43349 wxColour
*arg2
= 0 ;
43353 PyObject
* obj0
= 0 ;
43354 PyObject
* obj1
= 0 ;
43355 char * kwnames
[] = {
43356 (char *) "self",(char *) "col", NULL
43359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43361 if (!SWIG_IsOK(res1
)) {
43362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43364 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43371 (arg1
)->SetColour((wxColour
const &)*arg2
);
43372 wxPyEndAllowThreads(__tstate
);
43373 if (PyErr_Occurred()) SWIG_fail
;
43375 resultobj
= SWIG_Py_Void();
43382 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43385 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43386 return SWIG_Py_Void();
43389 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43390 return SWIG_Python_InitShadowInstance(args
);
43393 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43394 PyObject
*resultobj
= 0;
43395 wxObject
*arg1
= (wxObject
*) 0 ;
43397 wxColour
*arg3
= 0 ;
43398 wxColourPickerEvent
*result
= 0 ;
43404 PyObject
* obj0
= 0 ;
43405 PyObject
* obj1
= 0 ;
43406 PyObject
* obj2
= 0 ;
43407 char * kwnames
[] = {
43408 (char *) "generator",(char *) "id",(char *) "col", NULL
43411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43413 if (!SWIG_IsOK(res1
)) {
43414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43416 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43418 if (!SWIG_IsOK(ecode2
)) {
43419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43421 arg2
= static_cast< int >(val2
);
43424 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43428 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43429 wxPyEndAllowThreads(__tstate
);
43430 if (PyErr_Occurred()) SWIG_fail
;
43432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43439 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43440 PyObject
*resultobj
= 0;
43441 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43445 PyObject
*swig_obj
[1] ;
43447 if (!args
) SWIG_fail
;
43448 swig_obj
[0] = args
;
43449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43450 if (!SWIG_IsOK(res1
)) {
43451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43453 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43456 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43457 wxPyEndAllowThreads(__tstate
);
43458 if (PyErr_Occurred()) SWIG_fail
;
43460 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43467 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43468 PyObject
*resultobj
= 0;
43469 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43470 wxColour
*arg2
= 0 ;
43474 PyObject
* obj0
= 0 ;
43475 PyObject
* obj1
= 0 ;
43476 char * kwnames
[] = {
43477 (char *) "self",(char *) "c", NULL
43480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43482 if (!SWIG_IsOK(res1
)) {
43483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43485 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43492 (arg1
)->SetColour((wxColour
const &)*arg2
);
43493 wxPyEndAllowThreads(__tstate
);
43494 if (PyErr_Occurred()) SWIG_fail
;
43496 resultobj
= SWIG_Py_Void();
43503 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43506 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43507 return SWIG_Py_Void();
43510 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43511 return SWIG_Python_InitShadowInstance(args
);
43514 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43515 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43520 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43521 PyObject
*pyobj
= 0;
43525 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43527 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43534 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43535 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43540 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43541 PyObject
*pyobj
= 0;
43545 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43547 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43554 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43555 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43560 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43561 PyObject
*pyobj
= 0;
43565 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43567 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43574 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43575 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43580 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43581 PyObject
*pyobj
= 0;
43585 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43587 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43594 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43595 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43600 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43601 PyObject
*pyobj
= 0;
43605 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43607 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43614 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43615 PyObject
*resultobj
= 0;
43616 wxWindow
*arg1
= (wxWindow
*) 0 ;
43617 int arg2
= (int) -1 ;
43618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43620 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43621 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43622 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43623 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43624 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43625 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43626 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43627 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43628 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43629 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43630 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43631 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43632 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43633 wxFilePickerCtrl
*result
= 0 ;
43638 bool temp3
= false ;
43639 bool temp4
= false ;
43640 bool temp5
= false ;
43647 bool temp10
= false ;
43648 PyObject
* obj0
= 0 ;
43649 PyObject
* obj1
= 0 ;
43650 PyObject
* obj2
= 0 ;
43651 PyObject
* obj3
= 0 ;
43652 PyObject
* obj4
= 0 ;
43653 PyObject
* obj5
= 0 ;
43654 PyObject
* obj6
= 0 ;
43655 PyObject
* obj7
= 0 ;
43656 PyObject
* obj8
= 0 ;
43657 PyObject
* obj9
= 0 ;
43658 char * kwnames
[] = {
43659 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43664 if (!SWIG_IsOK(res1
)) {
43665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43667 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43670 if (!SWIG_IsOK(ecode2
)) {
43671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43673 arg2
= static_cast< int >(val2
);
43677 arg3
= wxString_in_helper(obj2
);
43678 if (arg3
== NULL
) SWIG_fail
;
43684 arg4
= wxString_in_helper(obj3
);
43685 if (arg4
== NULL
) SWIG_fail
;
43691 arg5
= wxString_in_helper(obj4
);
43692 if (arg5
== NULL
) SWIG_fail
;
43699 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43705 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43709 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43710 if (!SWIG_IsOK(ecode8
)) {
43711 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43713 arg8
= static_cast< long >(val8
);
43716 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43717 if (!SWIG_IsOK(res9
)) {
43718 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43723 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43727 arg10
= wxString_in_helper(obj9
);
43728 if (arg10
== NULL
) SWIG_fail
;
43733 if (!wxPyCheckForApp()) SWIG_fail
;
43734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43735 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
43736 wxPyEndAllowThreads(__tstate
);
43737 if (PyErr_Occurred()) SWIG_fail
;
43739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43778 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43779 PyObject
*resultobj
= 0;
43780 wxFilePickerCtrl
*result
= 0 ;
43782 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43784 if (!wxPyCheckForApp()) SWIG_fail
;
43785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43786 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43787 wxPyEndAllowThreads(__tstate
);
43788 if (PyErr_Occurred()) SWIG_fail
;
43790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43797 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43798 PyObject
*resultobj
= 0;
43799 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43800 wxWindow
*arg2
= (wxWindow
*) 0 ;
43801 int arg3
= (int) -1 ;
43802 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43803 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43804 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43805 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43806 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43807 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43808 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43809 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43810 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43811 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43812 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43813 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43814 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43815 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43816 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43824 bool temp4
= false ;
43825 bool temp5
= false ;
43826 bool temp6
= false ;
43833 bool temp11
= false ;
43834 PyObject
* obj0
= 0 ;
43835 PyObject
* obj1
= 0 ;
43836 PyObject
* obj2
= 0 ;
43837 PyObject
* obj3
= 0 ;
43838 PyObject
* obj4
= 0 ;
43839 PyObject
* obj5
= 0 ;
43840 PyObject
* obj6
= 0 ;
43841 PyObject
* obj7
= 0 ;
43842 PyObject
* obj8
= 0 ;
43843 PyObject
* obj9
= 0 ;
43844 PyObject
* obj10
= 0 ;
43845 char * kwnames
[] = {
43846 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43851 if (!SWIG_IsOK(res1
)) {
43852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43854 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43856 if (!SWIG_IsOK(res2
)) {
43857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43859 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43862 if (!SWIG_IsOK(ecode3
)) {
43863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43865 arg3
= static_cast< int >(val3
);
43869 arg4
= wxString_in_helper(obj3
);
43870 if (arg4
== NULL
) SWIG_fail
;
43876 arg5
= wxString_in_helper(obj4
);
43877 if (arg5
== NULL
) SWIG_fail
;
43883 arg6
= wxString_in_helper(obj5
);
43884 if (arg6
== NULL
) SWIG_fail
;
43891 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43897 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43901 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43902 if (!SWIG_IsOK(ecode9
)) {
43903 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43905 arg9
= static_cast< long >(val9
);
43908 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43909 if (!SWIG_IsOK(res10
)) {
43910 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43915 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43919 arg11
= wxString_in_helper(obj10
);
43920 if (arg11
== NULL
) SWIG_fail
;
43925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43926 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxString
const &)*arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
43927 wxPyEndAllowThreads(__tstate
);
43928 if (PyErr_Occurred()) SWIG_fail
;
43931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43971 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43972 PyObject
*resultobj
= 0;
43973 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43977 PyObject
*swig_obj
[1] ;
43979 if (!args
) SWIG_fail
;
43980 swig_obj
[0] = args
;
43981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43982 if (!SWIG_IsOK(res1
)) {
43983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43985 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43988 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43989 wxPyEndAllowThreads(__tstate
);
43990 if (PyErr_Occurred()) SWIG_fail
;
43994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44005 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44006 PyObject
*resultobj
= 0;
44007 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44008 wxString
*arg2
= 0 ;
44011 bool temp2
= false ;
44012 PyObject
* obj0
= 0 ;
44013 PyObject
* obj1
= 0 ;
44014 char * kwnames
[] = {
44015 (char *) "self",(char *) "str", NULL
44018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44020 if (!SWIG_IsOK(res1
)) {
44021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44023 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44025 arg2
= wxString_in_helper(obj1
);
44026 if (arg2
== NULL
) SWIG_fail
;
44030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44031 (arg1
)->SetPath((wxString
const &)*arg2
);
44032 wxPyEndAllowThreads(__tstate
);
44033 if (PyErr_Occurred()) SWIG_fail
;
44035 resultobj
= SWIG_Py_Void();
44050 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44051 PyObject
*resultobj
= 0;
44052 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44053 wxString
*arg2
= 0 ;
44057 bool temp2
= false ;
44058 PyObject
* obj0
= 0 ;
44059 PyObject
* obj1
= 0 ;
44060 char * kwnames
[] = {
44061 (char *) "self",(char *) "path", NULL
44064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44066 if (!SWIG_IsOK(res1
)) {
44067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44069 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44071 arg2
= wxString_in_helper(obj1
);
44072 if (arg2
== NULL
) SWIG_fail
;
44076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44077 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44078 wxPyEndAllowThreads(__tstate
);
44079 if (PyErr_Occurred()) SWIG_fail
;
44082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44098 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44099 PyObject
*resultobj
= 0;
44100 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44104 PyObject
*swig_obj
[1] ;
44106 if (!args
) SWIG_fail
;
44107 swig_obj
[0] = args
;
44108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44109 if (!SWIG_IsOK(res1
)) {
44110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44112 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44115 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44116 wxPyEndAllowThreads(__tstate
);
44117 if (PyErr_Occurred()) SWIG_fail
;
44121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44132 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44135 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44136 return SWIG_Py_Void();
44139 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44140 return SWIG_Python_InitShadowInstance(args
);
44143 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44144 PyObject
*resultobj
= 0;
44145 wxWindow
*arg1
= (wxWindow
*) 0 ;
44146 int arg2
= (int) -1 ;
44147 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44148 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44149 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44151 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44152 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44153 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44154 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44155 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44156 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44157 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44158 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44159 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44160 wxDirPickerCtrl
*result
= 0 ;
44165 bool temp3
= false ;
44166 bool temp4
= false ;
44173 bool temp9
= false ;
44174 PyObject
* obj0
= 0 ;
44175 PyObject
* obj1
= 0 ;
44176 PyObject
* obj2
= 0 ;
44177 PyObject
* obj3
= 0 ;
44178 PyObject
* obj4
= 0 ;
44179 PyObject
* obj5
= 0 ;
44180 PyObject
* obj6
= 0 ;
44181 PyObject
* obj7
= 0 ;
44182 PyObject
* obj8
= 0 ;
44183 char * kwnames
[] = {
44184 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44189 if (!SWIG_IsOK(res1
)) {
44190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44192 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44195 if (!SWIG_IsOK(ecode2
)) {
44196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44198 arg2
= static_cast< int >(val2
);
44202 arg3
= wxString_in_helper(obj2
);
44203 if (arg3
== NULL
) SWIG_fail
;
44209 arg4
= wxString_in_helper(obj3
);
44210 if (arg4
== NULL
) SWIG_fail
;
44217 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44223 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44227 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44228 if (!SWIG_IsOK(ecode7
)) {
44229 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44231 arg7
= static_cast< long >(val7
);
44234 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44235 if (!SWIG_IsOK(res8
)) {
44236 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44241 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44245 arg9
= wxString_in_helper(obj8
);
44246 if (arg9
== NULL
) SWIG_fail
;
44251 if (!wxPyCheckForApp()) SWIG_fail
;
44252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44253 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44254 wxPyEndAllowThreads(__tstate
);
44255 if (PyErr_Occurred()) SWIG_fail
;
44257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44288 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44289 PyObject
*resultobj
= 0;
44290 wxDirPickerCtrl
*result
= 0 ;
44292 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44294 if (!wxPyCheckForApp()) SWIG_fail
;
44295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44296 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44297 wxPyEndAllowThreads(__tstate
);
44298 if (PyErr_Occurred()) SWIG_fail
;
44300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44307 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44308 PyObject
*resultobj
= 0;
44309 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44310 wxWindow
*arg2
= (wxWindow
*) 0 ;
44311 int arg3
= (int) -1 ;
44312 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44313 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44314 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44315 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44316 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44317 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44318 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44319 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44320 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44321 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44322 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44323 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44324 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44332 bool temp4
= false ;
44333 bool temp5
= false ;
44340 bool temp10
= false ;
44341 PyObject
* obj0
= 0 ;
44342 PyObject
* obj1
= 0 ;
44343 PyObject
* obj2
= 0 ;
44344 PyObject
* obj3
= 0 ;
44345 PyObject
* obj4
= 0 ;
44346 PyObject
* obj5
= 0 ;
44347 PyObject
* obj6
= 0 ;
44348 PyObject
* obj7
= 0 ;
44349 PyObject
* obj8
= 0 ;
44350 PyObject
* obj9
= 0 ;
44351 char * kwnames
[] = {
44352 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44357 if (!SWIG_IsOK(res1
)) {
44358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44360 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44362 if (!SWIG_IsOK(res2
)) {
44363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44365 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44368 if (!SWIG_IsOK(ecode3
)) {
44369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44371 arg3
= static_cast< int >(val3
);
44375 arg4
= wxString_in_helper(obj3
);
44376 if (arg4
== NULL
) SWIG_fail
;
44382 arg5
= wxString_in_helper(obj4
);
44383 if (arg5
== NULL
) SWIG_fail
;
44390 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44396 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44400 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44401 if (!SWIG_IsOK(ecode8
)) {
44402 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44404 arg8
= static_cast< long >(val8
);
44407 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44408 if (!SWIG_IsOK(res9
)) {
44409 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44414 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44418 arg10
= wxString_in_helper(obj9
);
44419 if (arg10
== NULL
) SWIG_fail
;
44424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
44426 wxPyEndAllowThreads(__tstate
);
44427 if (PyErr_Occurred()) SWIG_fail
;
44430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44462 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44463 PyObject
*resultobj
= 0;
44464 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44468 PyObject
*swig_obj
[1] ;
44470 if (!args
) SWIG_fail
;
44471 swig_obj
[0] = args
;
44472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44473 if (!SWIG_IsOK(res1
)) {
44474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44476 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44479 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44480 wxPyEndAllowThreads(__tstate
);
44481 if (PyErr_Occurred()) SWIG_fail
;
44485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44496 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44497 PyObject
*resultobj
= 0;
44498 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44499 wxString
*arg2
= 0 ;
44502 bool temp2
= false ;
44503 PyObject
* obj0
= 0 ;
44504 PyObject
* obj1
= 0 ;
44505 char * kwnames
[] = {
44506 (char *) "self",(char *) "str", NULL
44509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44511 if (!SWIG_IsOK(res1
)) {
44512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44514 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44516 arg2
= wxString_in_helper(obj1
);
44517 if (arg2
== NULL
) SWIG_fail
;
44521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44522 (arg1
)->SetPath((wxString
const &)*arg2
);
44523 wxPyEndAllowThreads(__tstate
);
44524 if (PyErr_Occurred()) SWIG_fail
;
44526 resultobj
= SWIG_Py_Void();
44541 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44542 PyObject
*resultobj
= 0;
44543 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44544 wxString
*arg2
= 0 ;
44548 bool temp2
= false ;
44549 PyObject
* obj0
= 0 ;
44550 PyObject
* obj1
= 0 ;
44551 char * kwnames
[] = {
44552 (char *) "self",(char *) "path", NULL
44555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44557 if (!SWIG_IsOK(res1
)) {
44558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44560 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44562 arg2
= wxString_in_helper(obj1
);
44563 if (arg2
== NULL
) SWIG_fail
;
44567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44568 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44569 wxPyEndAllowThreads(__tstate
);
44570 if (PyErr_Occurred()) SWIG_fail
;
44573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44589 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44590 PyObject
*resultobj
= 0;
44591 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44595 PyObject
*swig_obj
[1] ;
44597 if (!args
) SWIG_fail
;
44598 swig_obj
[0] = args
;
44599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44600 if (!SWIG_IsOK(res1
)) {
44601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44603 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44606 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44607 wxPyEndAllowThreads(__tstate
);
44608 if (PyErr_Occurred()) SWIG_fail
;
44612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44623 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44626 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44627 return SWIG_Py_Void();
44630 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44631 return SWIG_Python_InitShadowInstance(args
);
44634 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44635 PyObject
*resultobj
= 0;
44637 wxObject
*arg2
= (wxObject
*) 0 ;
44639 wxString
*arg4
= 0 ;
44640 wxFileDirPickerEvent
*result
= 0 ;
44647 bool temp4
= false ;
44648 PyObject
* obj0
= 0 ;
44649 PyObject
* obj1
= 0 ;
44650 PyObject
* obj2
= 0 ;
44651 PyObject
* obj3
= 0 ;
44652 char * kwnames
[] = {
44653 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44657 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44658 if (!SWIG_IsOK(ecode1
)) {
44659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44661 arg1
= static_cast< wxEventType
>(val1
);
44662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44663 if (!SWIG_IsOK(res2
)) {
44664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44666 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44668 if (!SWIG_IsOK(ecode3
)) {
44669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44671 arg3
= static_cast< int >(val3
);
44673 arg4
= wxString_in_helper(obj3
);
44674 if (arg4
== NULL
) SWIG_fail
;
44678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44679 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44680 wxPyEndAllowThreads(__tstate
);
44681 if (PyErr_Occurred()) SWIG_fail
;
44683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44698 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44699 PyObject
*resultobj
= 0;
44700 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44704 PyObject
*swig_obj
[1] ;
44706 if (!args
) SWIG_fail
;
44707 swig_obj
[0] = args
;
44708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44709 if (!SWIG_IsOK(res1
)) {
44710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44712 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44715 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44716 wxPyEndAllowThreads(__tstate
);
44717 if (PyErr_Occurred()) SWIG_fail
;
44721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44732 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44733 PyObject
*resultobj
= 0;
44734 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44735 wxString
*arg2
= 0 ;
44738 bool temp2
= false ;
44739 PyObject
* obj0
= 0 ;
44740 PyObject
* obj1
= 0 ;
44741 char * kwnames
[] = {
44742 (char *) "self",(char *) "p", NULL
44745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44747 if (!SWIG_IsOK(res1
)) {
44748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44750 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44752 arg2
= wxString_in_helper(obj1
);
44753 if (arg2
== NULL
) SWIG_fail
;
44757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44758 (arg1
)->SetPath((wxString
const &)*arg2
);
44759 wxPyEndAllowThreads(__tstate
);
44760 if (PyErr_Occurred()) SWIG_fail
;
44762 resultobj
= SWIG_Py_Void();
44777 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44780 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44781 return SWIG_Py_Void();
44784 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44785 return SWIG_Python_InitShadowInstance(args
);
44788 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44789 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44794 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44795 PyObject
*pyobj
= 0;
44799 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44801 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44808 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44809 PyObject
*resultobj
= 0;
44810 wxWindow
*arg1
= (wxWindow
*) 0 ;
44811 int arg2
= (int) -1 ;
44812 wxFont
const &arg3_defvalue
= wxNullFont
;
44813 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44814 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44815 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44816 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44817 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44818 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44819 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44820 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44821 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44822 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44823 wxFontPickerCtrl
*result
= 0 ;
44836 bool temp8
= false ;
44837 PyObject
* obj0
= 0 ;
44838 PyObject
* obj1
= 0 ;
44839 PyObject
* obj2
= 0 ;
44840 PyObject
* obj3
= 0 ;
44841 PyObject
* obj4
= 0 ;
44842 PyObject
* obj5
= 0 ;
44843 PyObject
* obj6
= 0 ;
44844 PyObject
* obj7
= 0 ;
44845 char * kwnames
[] = {
44846 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44851 if (!SWIG_IsOK(res1
)) {
44852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44854 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44857 if (!SWIG_IsOK(ecode2
)) {
44858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44860 arg2
= static_cast< int >(val2
);
44863 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44864 if (!SWIG_IsOK(res3
)) {
44865 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44870 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44875 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44881 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44885 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44886 if (!SWIG_IsOK(ecode6
)) {
44887 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44889 arg6
= static_cast< long >(val6
);
44892 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44893 if (!SWIG_IsOK(res7
)) {
44894 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44899 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44903 arg8
= wxString_in_helper(obj7
);
44904 if (arg8
== NULL
) SWIG_fail
;
44909 if (!wxPyCheckForApp()) SWIG_fail
;
44910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44911 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44912 wxPyEndAllowThreads(__tstate
);
44913 if (PyErr_Occurred()) SWIG_fail
;
44915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44930 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44931 PyObject
*resultobj
= 0;
44932 wxFontPickerCtrl
*result
= 0 ;
44934 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44936 if (!wxPyCheckForApp()) SWIG_fail
;
44937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44938 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44939 wxPyEndAllowThreads(__tstate
);
44940 if (PyErr_Occurred()) SWIG_fail
;
44942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44949 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44950 PyObject
*resultobj
= 0;
44951 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44952 wxWindow
*arg2
= (wxWindow
*) 0 ;
44953 int arg3
= (int) -1 ;
44954 wxFont
const &arg4_defvalue
= wxNullFont
;
44955 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44956 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44957 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44958 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44959 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44960 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44961 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44962 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44963 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44964 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44980 bool temp9
= false ;
44981 PyObject
* obj0
= 0 ;
44982 PyObject
* obj1
= 0 ;
44983 PyObject
* obj2
= 0 ;
44984 PyObject
* obj3
= 0 ;
44985 PyObject
* obj4
= 0 ;
44986 PyObject
* obj5
= 0 ;
44987 PyObject
* obj6
= 0 ;
44988 PyObject
* obj7
= 0 ;
44989 PyObject
* obj8
= 0 ;
44990 char * kwnames
[] = {
44991 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44996 if (!SWIG_IsOK(res1
)) {
44997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44999 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45001 if (!SWIG_IsOK(res2
)) {
45002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45007 if (!SWIG_IsOK(ecode3
)) {
45008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45010 arg3
= static_cast< int >(val3
);
45013 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45014 if (!SWIG_IsOK(res4
)) {
45015 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45020 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45025 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45031 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45035 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45036 if (!SWIG_IsOK(ecode7
)) {
45037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45039 arg7
= static_cast< long >(val7
);
45042 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45043 if (!SWIG_IsOK(res8
)) {
45044 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45049 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45053 arg9
= wxString_in_helper(obj8
);
45054 if (arg9
== NULL
) SWIG_fail
;
45059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45061 wxPyEndAllowThreads(__tstate
);
45062 if (PyErr_Occurred()) SWIG_fail
;
45065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45081 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45082 PyObject
*resultobj
= 0;
45083 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45087 PyObject
*swig_obj
[1] ;
45089 if (!args
) SWIG_fail
;
45090 swig_obj
[0] = args
;
45091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45092 if (!SWIG_IsOK(res1
)) {
45093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45095 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45098 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45099 wxPyEndAllowThreads(__tstate
);
45100 if (PyErr_Occurred()) SWIG_fail
;
45102 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45109 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45110 PyObject
*resultobj
= 0;
45111 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45117 PyObject
* obj0
= 0 ;
45118 PyObject
* obj1
= 0 ;
45119 char * kwnames
[] = {
45120 (char *) "self",(char *) "f", NULL
45123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45125 if (!SWIG_IsOK(res1
)) {
45126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45128 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45130 if (!SWIG_IsOK(res2
)) {
45131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45136 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45139 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45140 wxPyEndAllowThreads(__tstate
);
45141 if (PyErr_Occurred()) SWIG_fail
;
45143 resultobj
= SWIG_Py_Void();
45150 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45151 PyObject
*resultobj
= 0;
45152 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45153 unsigned int arg2
;
45156 unsigned int val2
;
45158 PyObject
* obj0
= 0 ;
45159 PyObject
* obj1
= 0 ;
45160 char * kwnames
[] = {
45161 (char *) "self",(char *) "max", NULL
45164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45166 if (!SWIG_IsOK(res1
)) {
45167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45169 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45170 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45171 if (!SWIG_IsOK(ecode2
)) {
45172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45174 arg2
= static_cast< unsigned int >(val2
);
45176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45177 (arg1
)->SetMaxPointSize(arg2
);
45178 wxPyEndAllowThreads(__tstate
);
45179 if (PyErr_Occurred()) SWIG_fail
;
45181 resultobj
= SWIG_Py_Void();
45188 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45189 PyObject
*resultobj
= 0;
45190 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45191 unsigned int result
;
45194 PyObject
*swig_obj
[1] ;
45196 if (!args
) SWIG_fail
;
45197 swig_obj
[0] = args
;
45198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45199 if (!SWIG_IsOK(res1
)) {
45200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45202 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45205 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45206 wxPyEndAllowThreads(__tstate
);
45207 if (PyErr_Occurred()) SWIG_fail
;
45209 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45216 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45219 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45220 return SWIG_Py_Void();
45223 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45224 return SWIG_Python_InitShadowInstance(args
);
45227 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45228 PyObject
*resultobj
= 0;
45229 wxObject
*arg1
= (wxObject
*) 0 ;
45232 wxFontPickerEvent
*result
= 0 ;
45239 PyObject
* obj0
= 0 ;
45240 PyObject
* obj1
= 0 ;
45241 PyObject
* obj2
= 0 ;
45242 char * kwnames
[] = {
45243 (char *) "generator",(char *) "id",(char *) "f", NULL
45246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45248 if (!SWIG_IsOK(res1
)) {
45249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45251 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45253 if (!SWIG_IsOK(ecode2
)) {
45254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45256 arg2
= static_cast< int >(val2
);
45257 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45258 if (!SWIG_IsOK(res3
)) {
45259 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45264 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45267 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45268 wxPyEndAllowThreads(__tstate
);
45269 if (PyErr_Occurred()) SWIG_fail
;
45271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45278 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45279 PyObject
*resultobj
= 0;
45280 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45284 PyObject
*swig_obj
[1] ;
45286 if (!args
) SWIG_fail
;
45287 swig_obj
[0] = args
;
45288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45289 if (!SWIG_IsOK(res1
)) {
45290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45292 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45295 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45296 wxPyEndAllowThreads(__tstate
);
45297 if (PyErr_Occurred()) SWIG_fail
;
45299 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45306 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45307 PyObject
*resultobj
= 0;
45308 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45314 PyObject
* obj0
= 0 ;
45315 PyObject
* obj1
= 0 ;
45316 char * kwnames
[] = {
45317 (char *) "self",(char *) "c", NULL
45320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45322 if (!SWIG_IsOK(res1
)) {
45323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45325 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45327 if (!SWIG_IsOK(res2
)) {
45328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45333 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45336 (arg1
)->SetFont((wxFont
const &)*arg2
);
45337 wxPyEndAllowThreads(__tstate
);
45338 if (PyErr_Occurred()) SWIG_fail
;
45340 resultobj
= SWIG_Py_Void();
45347 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45350 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45351 return SWIG_Py_Void();
45354 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45355 return SWIG_Python_InitShadowInstance(args
);
45358 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45359 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45364 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45365 PyObject
*pyobj
= 0;
45369 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45371 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45378 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45379 PyObject
*resultobj
= 0;
45380 wxWindow
*arg1
= (wxWindow
*) 0 ;
45381 int arg2
= (int) -1 ;
45382 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45383 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45384 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45385 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45386 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45387 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45388 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45389 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45390 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45391 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45392 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45393 wxCollapsiblePane
*result
= 0 ;
45398 bool temp3
= false ;
45405 bool temp8
= false ;
45406 PyObject
* obj0
= 0 ;
45407 PyObject
* obj1
= 0 ;
45408 PyObject
* obj2
= 0 ;
45409 PyObject
* obj3
= 0 ;
45410 PyObject
* obj4
= 0 ;
45411 PyObject
* obj5
= 0 ;
45412 PyObject
* obj6
= 0 ;
45413 PyObject
* obj7
= 0 ;
45414 char * kwnames
[] = {
45415 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45420 if (!SWIG_IsOK(res1
)) {
45421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45423 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45426 if (!SWIG_IsOK(ecode2
)) {
45427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45429 arg2
= static_cast< int >(val2
);
45433 arg3
= wxString_in_helper(obj2
);
45434 if (arg3
== NULL
) SWIG_fail
;
45441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45451 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45452 if (!SWIG_IsOK(ecode6
)) {
45453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45455 arg6
= static_cast< long >(val6
);
45458 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45459 if (!SWIG_IsOK(res7
)) {
45460 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45465 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45469 arg8
= wxString_in_helper(obj7
);
45470 if (arg8
== NULL
) SWIG_fail
;
45475 if (!wxPyCheckForApp()) SWIG_fail
;
45476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45477 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45478 wxPyEndAllowThreads(__tstate
);
45479 if (PyErr_Occurred()) SWIG_fail
;
45481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45504 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45505 PyObject
*resultobj
= 0;
45506 wxCollapsiblePane
*result
= 0 ;
45508 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45510 if (!wxPyCheckForApp()) SWIG_fail
;
45511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45512 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45513 wxPyEndAllowThreads(__tstate
);
45514 if (PyErr_Occurred()) SWIG_fail
;
45516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45523 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45524 PyObject
*resultobj
= 0;
45525 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45526 wxWindow
*arg2
= (wxWindow
*) 0 ;
45527 int arg3
= (int) -1 ;
45528 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45529 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45530 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45531 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45532 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45533 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45534 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45535 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45536 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45537 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45538 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45546 bool temp4
= false ;
45553 bool temp9
= false ;
45554 PyObject
* obj0
= 0 ;
45555 PyObject
* obj1
= 0 ;
45556 PyObject
* obj2
= 0 ;
45557 PyObject
* obj3
= 0 ;
45558 PyObject
* obj4
= 0 ;
45559 PyObject
* obj5
= 0 ;
45560 PyObject
* obj6
= 0 ;
45561 PyObject
* obj7
= 0 ;
45562 PyObject
* obj8
= 0 ;
45563 char * kwnames
[] = {
45564 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45569 if (!SWIG_IsOK(res1
)) {
45570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45572 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45574 if (!SWIG_IsOK(res2
)) {
45575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45577 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45580 if (!SWIG_IsOK(ecode3
)) {
45581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45583 arg3
= static_cast< int >(val3
);
45587 arg4
= wxString_in_helper(obj3
);
45588 if (arg4
== NULL
) SWIG_fail
;
45595 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45601 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45605 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45606 if (!SWIG_IsOK(ecode7
)) {
45607 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45609 arg7
= static_cast< long >(val7
);
45612 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45613 if (!SWIG_IsOK(res8
)) {
45614 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45619 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45623 arg9
= wxString_in_helper(obj8
);
45624 if (arg9
== NULL
) SWIG_fail
;
45629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45630 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45631 wxPyEndAllowThreads(__tstate
);
45632 if (PyErr_Occurred()) SWIG_fail
;
45635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45659 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45660 PyObject
*resultobj
= 0;
45661 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45662 bool arg2
= (bool) true ;
45667 PyObject
* obj0
= 0 ;
45668 PyObject
* obj1
= 0 ;
45669 char * kwnames
[] = {
45670 (char *) "self",(char *) "collapse", NULL
45673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45675 if (!SWIG_IsOK(res1
)) {
45676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45678 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45680 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45681 if (!SWIG_IsOK(ecode2
)) {
45682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45684 arg2
= static_cast< bool >(val2
);
45687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45688 (arg1
)->Collapse(arg2
);
45689 wxPyEndAllowThreads(__tstate
);
45690 if (PyErr_Occurred()) SWIG_fail
;
45692 resultobj
= SWIG_Py_Void();
45699 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45700 PyObject
*resultobj
= 0;
45701 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45704 PyObject
*swig_obj
[1] ;
45706 if (!args
) SWIG_fail
;
45707 swig_obj
[0] = args
;
45708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45709 if (!SWIG_IsOK(res1
)) {
45710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45712 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45716 wxPyEndAllowThreads(__tstate
);
45717 if (PyErr_Occurred()) SWIG_fail
;
45719 resultobj
= SWIG_Py_Void();
45726 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45727 PyObject
*resultobj
= 0;
45728 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45732 PyObject
*swig_obj
[1] ;
45734 if (!args
) SWIG_fail
;
45735 swig_obj
[0] = args
;
45736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45737 if (!SWIG_IsOK(res1
)) {
45738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45740 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45743 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45744 wxPyEndAllowThreads(__tstate
);
45745 if (PyErr_Occurred()) SWIG_fail
;
45748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45756 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45757 PyObject
*resultobj
= 0;
45758 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45762 PyObject
*swig_obj
[1] ;
45764 if (!args
) SWIG_fail
;
45765 swig_obj
[0] = args
;
45766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45767 if (!SWIG_IsOK(res1
)) {
45768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45770 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45773 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45774 wxPyEndAllowThreads(__tstate
);
45775 if (PyErr_Occurred()) SWIG_fail
;
45778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45786 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45787 PyObject
*resultobj
= 0;
45788 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45789 wxWindow
*result
= 0 ;
45792 PyObject
*swig_obj
[1] ;
45794 if (!args
) SWIG_fail
;
45795 swig_obj
[0] = args
;
45796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45797 if (!SWIG_IsOK(res1
)) {
45798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45800 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45803 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45804 wxPyEndAllowThreads(__tstate
);
45805 if (PyErr_Occurred()) SWIG_fail
;
45808 resultobj
= wxPyMake_wxObject(result
, 0);
45816 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45819 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45820 return SWIG_Py_Void();
45823 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45824 return SWIG_Python_InitShadowInstance(args
);
45827 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45828 PyObject
*resultobj
= 0;
45829 wxObject
*arg1
= (wxObject
*) 0 ;
45832 wxCollapsiblePaneEvent
*result
= 0 ;
45839 PyObject
* obj0
= 0 ;
45840 PyObject
* obj1
= 0 ;
45841 PyObject
* obj2
= 0 ;
45842 char * kwnames
[] = {
45843 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45848 if (!SWIG_IsOK(res1
)) {
45849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45851 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45853 if (!SWIG_IsOK(ecode2
)) {
45854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45856 arg2
= static_cast< int >(val2
);
45857 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45858 if (!SWIG_IsOK(ecode3
)) {
45859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45861 arg3
= static_cast< bool >(val3
);
45863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45864 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45865 wxPyEndAllowThreads(__tstate
);
45866 if (PyErr_Occurred()) SWIG_fail
;
45868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45875 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45876 PyObject
*resultobj
= 0;
45877 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45881 PyObject
*swig_obj
[1] ;
45883 if (!args
) SWIG_fail
;
45884 swig_obj
[0] = args
;
45885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45886 if (!SWIG_IsOK(res1
)) {
45887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45889 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45892 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45893 wxPyEndAllowThreads(__tstate
);
45894 if (PyErr_Occurred()) SWIG_fail
;
45897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45905 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45906 PyObject
*resultobj
= 0;
45907 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45913 PyObject
* obj0
= 0 ;
45914 PyObject
* obj1
= 0 ;
45915 char * kwnames
[] = {
45916 (char *) "self",(char *) "c", NULL
45919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45921 if (!SWIG_IsOK(res1
)) {
45922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45924 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45925 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45926 if (!SWIG_IsOK(ecode2
)) {
45927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45929 arg2
= static_cast< bool >(val2
);
45931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45932 (arg1
)->SetCollapsed(arg2
);
45933 wxPyEndAllowThreads(__tstate
);
45934 if (PyErr_Occurred()) SWIG_fail
;
45936 resultobj
= SWIG_Py_Void();
45943 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45946 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
45947 return SWIG_Py_Void();
45950 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45951 return SWIG_Python_InitShadowInstance(args
);
45954 static PyMethodDef SwigMethods
[] = {
45955 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45957 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45959 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45960 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45962 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45963 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45965 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45967 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45968 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45969 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45970 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45971 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45978 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45979 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45980 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45981 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45983 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45985 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45986 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45988 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45990 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45991 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45993 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45994 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45996 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45998 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46000 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46001 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46003 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46005 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46007 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46008 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46009 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46011 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46012 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46015 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46016 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46019 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46021 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46022 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46023 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46024 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46025 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46026 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46027 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46028 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46029 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46031 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46032 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46034 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46037 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46039 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46040 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46041 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46043 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46045 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46047 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46048 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46050 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46053 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46054 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46056 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46058 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46059 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46061 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46062 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46064 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46068 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46069 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46071 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46073 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46077 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46078 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46080 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46091 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46096 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46102 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46103 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46105 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
46109 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46110 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46111 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46113 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46114 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46124 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46125 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46126 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46127 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46128 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46129 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46130 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46132 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46133 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46134 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46135 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46136 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46137 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46138 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46139 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46140 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46141 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46143 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46144 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46146 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46148 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46150 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46155 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46156 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46157 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46158 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46159 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46160 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46161 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46162 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46167 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46168 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46177 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46183 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46184 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46185 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46186 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46187 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46188 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46189 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46190 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46191 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46192 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46194 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46195 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46196 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46198 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46200 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46204 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46205 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46207 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46208 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46209 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46210 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46211 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46213 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46215 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46216 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46217 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46218 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46219 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46222 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46223 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46225 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46227 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46228 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46229 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46234 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46236 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46237 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46239 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46241 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46245 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46246 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46249 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46250 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46252 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46254 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46255 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46257 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46260 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46261 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46263 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46271 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46272 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46279 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46280 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46282 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46284 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46287 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46288 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46290 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46292 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46295 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46296 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46301 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46302 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46304 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46306 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46307 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46309 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46310 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46311 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46314 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46315 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46317 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46320 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46322 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46323 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46324 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46326 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46327 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46332 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46337 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46339 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46341 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46343 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46344 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46347 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46355 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46357 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46359 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46361 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46362 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46364 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46366 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46369 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
46373 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
46374 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
46376 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
46377 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
46379 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
46381 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
46382 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
46383 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
46385 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
46386 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
46388 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
46390 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
46391 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
46392 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
46394 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
46395 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
46397 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
46405 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
46406 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
46407 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
46409 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
46410 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
46412 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
46414 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
46415 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
46416 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
46417 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
46419 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
46420 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
46421 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
46422 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
46423 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
46424 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
46425 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
46426 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
46427 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
46428 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
46429 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
46430 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
46431 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
46432 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
46433 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
46434 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
46435 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
46436 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
46437 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
46439 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
46446 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
46448 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
46450 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
46458 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
46463 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
46464 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
46481 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
46482 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
46483 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
46484 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
46487 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
46488 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
46490 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
46491 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
46494 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
46495 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
46496 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
46498 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
46501 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
46502 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
46504 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
46508 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
46509 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46510 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46511 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46512 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46513 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46515 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46516 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46517 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46518 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46519 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46520 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46521 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46535 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46536 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46537 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46538 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46539 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46540 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46541 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46542 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46543 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46544 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46545 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46546 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46547 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46548 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46549 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46550 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46551 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46552 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46553 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46554 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46555 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46556 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46557 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46558 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46559 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46560 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46561 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46562 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46563 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46564 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46565 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46566 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46567 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46568 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46569 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46570 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46572 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46573 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46574 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46575 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46576 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46577 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46578 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46579 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46580 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46581 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46582 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46583 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46584 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46585 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46586 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46587 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46588 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46589 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46590 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46591 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46592 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46593 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46594 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46595 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46597 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46598 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46600 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46607 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46608 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46609 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46624 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46625 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46626 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46628 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46629 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46631 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46637 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46638 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46643 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46645 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46646 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46664 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46669 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46671 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46672 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46674 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46678 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46680 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46683 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46684 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46685 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46686 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46687 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46688 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46691 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46692 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46693 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46694 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46696 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46697 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46699 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46701 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46702 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46703 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46704 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46705 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46707 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46709 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46711 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46712 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46714 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46716 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46719 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46720 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46721 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46723 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46726 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46727 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46729 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46731 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46732 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46752 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46754 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46757 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46759 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46760 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46761 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46762 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46763 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46765 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46766 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46767 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46769 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46770 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46772 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46779 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46781 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46782 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46786 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46788 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46794 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46800 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46801 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46802 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46804 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46806 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46808 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46809 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46810 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46811 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46813 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46814 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46815 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46817 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46819 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46820 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46821 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46823 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46824 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46825 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46826 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46827 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46828 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46830 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46831 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46832 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46834 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46837 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46841 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46842 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46843 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46844 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46845 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46846 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46847 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46848 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46849 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46851 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46853 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46855 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46857 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46859 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46860 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46862 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46863 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46864 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46865 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46866 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46868 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46869 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46870 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46872 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46878 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46879 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46880 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46881 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46882 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46883 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46887 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46889 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46893 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46895 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46896 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46899 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46901 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46902 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46904 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46906 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46907 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46909 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46910 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46911 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46912 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46914 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46916 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46918 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46920 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46922 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46925 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46926 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46927 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46929 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46931 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46932 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46935 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46937 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46939 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46940 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46941 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46942 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46944 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46945 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46946 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46947 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46949 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46950 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46951 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46953 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46954 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46956 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46958 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46959 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46961 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46963 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46966 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46967 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46968 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46970 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46972 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46975 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46976 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46977 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46979 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46981 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46982 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46984 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46986 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46989 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46990 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46991 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46993 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46995 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46996 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
46998 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47001 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47002 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47003 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47004 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47005 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47006 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47008 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47009 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47010 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47011 { NULL
, NULL
, 0, NULL
}
47015 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47017 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47020 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47021 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47023 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47024 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47026 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47027 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47029 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47030 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47032 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47033 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47035 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47036 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47038 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47039 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47041 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47042 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47044 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47045 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47047 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47050 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47051 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47053 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47054 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47056 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47057 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47059 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47060 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47062 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47063 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47065 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47066 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47068 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47069 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47071 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47072 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47074 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47075 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47077 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47078 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47080 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47081 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47083 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47084 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47086 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47087 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47089 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47090 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47092 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47095 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47096 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47098 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47099 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47101 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47102 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47104 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47105 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47107 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47108 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47110 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47111 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47113 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47114 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47116 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47117 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47119 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47120 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47122 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47123 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47125 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47126 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47128 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47129 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47131 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47132 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47134 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47135 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47137 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47138 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47140 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47141 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47143 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47144 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47146 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47147 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47149 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47150 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47152 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47153 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47155 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47156 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47158 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47159 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47161 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47162 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47164 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47167 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47168 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47170 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47171 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47173 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47174 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47176 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47177 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47179 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47180 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47182 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47183 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47185 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47186 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47188 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47189 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47191 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47192 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47194 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47195 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47197 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47198 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47200 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47201 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47203 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47204 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47206 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47207 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47209 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47210 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47212 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47213 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47215 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47216 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47218 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47219 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47221 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47222 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47224 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47225 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47227 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47228 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47230 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47231 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47233 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47234 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47236 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47237 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47239 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47240 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47242 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47243 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47245 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47246 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47248 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47249 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47251 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47252 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47254 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47255 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47257 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47258 return (void *)((wxControl
*) ((wxGauge
*) x
));
47260 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47261 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47263 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47264 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47266 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47267 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47269 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47270 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47272 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47273 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47275 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47276 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47278 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47279 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47281 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47282 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47284 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47285 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47287 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47288 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47290 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47291 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47293 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47294 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47296 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47297 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47299 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47300 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47302 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47303 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47305 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47306 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47308 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47309 return (void *)((wxControl
*) ((wxSlider
*) x
));
47311 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47312 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
47314 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47315 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47317 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47318 return (void *)((wxControl
*) ((wxButton
*) x
));
47320 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47321 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47323 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47324 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47326 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47327 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47329 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47330 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47332 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47333 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47335 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47336 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47338 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47339 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47341 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47342 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47344 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47345 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47347 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47348 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47350 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47351 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47353 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
47354 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47356 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
47357 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
47359 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
47360 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47362 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
47363 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47365 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
47366 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47368 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
47369 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47371 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
47372 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47374 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
47375 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47377 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
47378 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47380 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
47381 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
47383 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
47384 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
47386 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
47387 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
47389 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
47390 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
47392 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
47393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47395 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47398 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
47399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47401 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47402 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47404 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47405 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47407 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
47408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47410 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
47411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47413 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47414 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47416 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
47417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47419 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
47420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47422 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
47423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47425 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47426 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47428 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47429 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47431 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
47432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47434 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
47435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47437 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
47438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47440 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
47441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47443 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
47444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47446 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47447 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47449 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
47450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47452 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
47453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47455 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47458 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
47459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47461 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
47462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47464 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
47465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47467 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
47468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47470 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
47471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47473 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
47474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47476 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
47477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47479 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
47480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47482 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
47483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47485 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
47486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47488 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
47489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47491 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
47492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47494 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
47495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47497 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
47498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47500 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
47501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47503 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
47504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47506 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
47507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47509 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
47510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47512 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
47513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47515 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
47516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47518 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
47519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47521 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
47522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47524 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
47525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47527 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
47528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47530 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
47531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47533 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47536 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47539 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47542 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47545 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47546 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47548 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47549 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47551 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47552 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47554 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47555 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47557 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47558 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47560 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47561 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47563 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47566 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47567 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47569 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47570 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47572 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47573 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47575 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47576 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47578 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47581 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47582 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47584 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47585 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47587 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47588 return (void *)((wxObject
*) ((wxSizer
*) x
));
47590 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47591 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47593 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47596 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47599 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47602 static void *_p_wxEventTo_p_wxObject(void *x
) {
47603 return (void *)((wxObject
*) ((wxEvent
*) x
));
47605 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47606 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47608 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47609 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47611 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47612 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47614 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47617 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47620 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47623 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47626 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47629 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47630 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47632 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47633 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47635 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47636 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47638 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47639 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47641 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47642 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47644 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47645 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47647 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47650 static void *_p_wxControlTo_p_wxObject(void *x
) {
47651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47653 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47656 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47659 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47662 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47665 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47668 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47669 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47671 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47674 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47675 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47677 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47678 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47680 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47683 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47684 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47686 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47687 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47689 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47692 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47695 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47696 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47698 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47701 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47704 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47705 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47707 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47710 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47713 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47716 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47717 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47719 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47722 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47725 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47726 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47728 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47731 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47732 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47734 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47735 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47737 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47738 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47740 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47741 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47743 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47744 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47746 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47747 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47749 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47750 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47752 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47753 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47755 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47758 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47759 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47761 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
47762 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47764 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47767 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47768 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47770 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47771 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47773 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47774 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47776 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47777 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47779 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47780 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47782 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47783 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47785 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47786 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47788 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47789 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47791 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47792 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47794 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47795 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47797 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47798 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47800 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47801 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47803 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47806 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
47807 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
47809 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47810 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47812 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47813 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47815 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47818 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47821 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47824 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47827 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47830 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47833 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47836 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47837 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47839 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47840 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47842 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47845 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47848 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47851 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47854 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47855 return (void *)((wxObject
*) ((wxListItem
*) x
));
47857 static void *_p_wxImageTo_p_wxObject(void *x
) {
47858 return (void *)((wxObject
*) ((wxImage
*) x
));
47860 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47861 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47863 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47866 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47867 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47869 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47872 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47875 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47876 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47878 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47881 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47884 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47885 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47887 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47890 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47891 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47893 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47894 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47896 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47897 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47899 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47900 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47902 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47905 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47906 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47908 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
47909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47911 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47914 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47915 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47917 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47918 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47920 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47921 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47923 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47924 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47926 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47927 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47929 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47930 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47932 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47935 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47938 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47939 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47941 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47944 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47945 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47947 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47948 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47950 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47953 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47956 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47959 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47962 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47965 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47968 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47971 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47974 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47975 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47977 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47980 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47983 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47986 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
47987 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
47989 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47990 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47992 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47993 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47995 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47996 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47998 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47999 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48001 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48002 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48004 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48005 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48007 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48008 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48010 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48011 return (void *)((wxWindow
*) ((wxControl
*) x
));
48013 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48014 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48016 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48017 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48019 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48020 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48022 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48023 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48025 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48026 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48028 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48029 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48031 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48032 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48034 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48035 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48037 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48038 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48040 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48041 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48043 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48044 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48046 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48047 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48049 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48050 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48052 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48053 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48055 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48056 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48058 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48059 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48061 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48062 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48064 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48065 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48067 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48068 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48070 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48071 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48073 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48074 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48076 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48077 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48079 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48080 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48082 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48083 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48085 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48086 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48088 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48089 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48091 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48092 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48094 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48095 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48097 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48098 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48100 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48101 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48103 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48104 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48106 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48107 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48109 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48110 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48112 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48113 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48115 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48116 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48118 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48119 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48121 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48122 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48124 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48125 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48127 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48128 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48130 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48131 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48133 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48134 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48136 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48137 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48139 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48140 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48142 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48143 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48145 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48146 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48148 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48149 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48151 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48152 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48154 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48155 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48157 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48158 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48160 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48161 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48163 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48164 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48166 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48167 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48169 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48170 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48172 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48173 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48175 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48176 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48178 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48179 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48181 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48182 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48184 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48185 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48187 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48188 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48190 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48191 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48193 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48194 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48196 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48197 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48199 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48200 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48202 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48203 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48205 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48206 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48208 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48209 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48211 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48212 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48214 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48215 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48217 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48218 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48220 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48221 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48223 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48224 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48226 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48227 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48229 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48230 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48232 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48233 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48234 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
48235 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48236 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48237 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48238 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48239 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48240 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48241 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48242 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48243 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48244 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48245 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48246 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48247 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48248 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48249 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48250 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48251 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48252 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48253 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48254 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48255 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48256 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48257 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48258 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48259 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48260 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48261 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48262 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48263 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48264 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48265 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48266 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48267 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48268 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48269 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48270 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48271 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48272 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48273 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48274 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48275 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48276 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48277 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48278 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48279 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48280 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48281 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48282 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48283 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48284 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48285 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48286 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48287 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48288 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48289 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48290 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48291 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48292 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48293 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48294 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48295 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48296 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48297 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48298 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48299 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48300 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48301 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48302 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48303 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48304 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48305 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48306 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48307 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48308 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48309 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
48310 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
48311 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48312 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48313 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48314 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48315 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48316 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48317 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48318 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48319 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48320 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48321 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48322 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48323 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48324 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48325 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48326 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48327 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48328 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48329 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48330 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48331 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48332 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48333 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48334 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48335 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48336 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48337 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48338 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48339 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48340 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48341 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48342 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48343 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48344 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48345 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48346 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
48347 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48348 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48349 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48350 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
48351 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
48352 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48353 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48354 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48355 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48356 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48357 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48358 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48359 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48360 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48361 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48362 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48363 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48364 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48365 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48366 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48367 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48368 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48369 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
48370 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48371 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48372 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48373 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48374 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48375 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48376 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48377 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48378 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48379 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48380 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48381 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48382 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48383 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48384 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48385 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48386 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48387 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48388 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48389 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48390 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48391 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48392 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48393 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48394 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48395 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48396 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48397 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48398 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48399 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48400 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48401 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48402 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48403 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48404 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48405 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48406 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48407 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48408 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48409 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48411 static swig_type_info
*swig_type_initial
[] = {
48414 &_swigt__p_form_ops_t
,
48417 &_swigt__p_unsigned_char
,
48418 &_swigt__p_unsigned_int
,
48419 &_swigt__p_unsigned_long
,
48421 &_swigt__p_wxANIHandler
,
48422 &_swigt__p_wxAcceleratorTable
,
48423 &_swigt__p_wxActivateEvent
,
48424 &_swigt__p_wxArrayInt
,
48425 &_swigt__p_wxArrayString
,
48426 &_swigt__p_wxBMPHandler
,
48427 &_swigt__p_wxBitmap
,
48428 &_swigt__p_wxBitmapButton
,
48429 &_swigt__p_wxBookCtrlBase
,
48430 &_swigt__p_wxBookCtrlBaseEvent
,
48431 &_swigt__p_wxBoxSizer
,
48432 &_swigt__p_wxButton
,
48433 &_swigt__p_wxCURHandler
,
48434 &_swigt__p_wxCheckBox
,
48435 &_swigt__p_wxCheckListBox
,
48436 &_swigt__p_wxChildFocusEvent
,
48437 &_swigt__p_wxChoice
,
48438 &_swigt__p_wxChoicebook
,
48439 &_swigt__p_wxChoicebookEvent
,
48440 &_swigt__p_wxClipboardTextEvent
,
48441 &_swigt__p_wxCloseEvent
,
48442 &_swigt__p_wxCollapsiblePane
,
48443 &_swigt__p_wxCollapsiblePaneEvent
,
48444 &_swigt__p_wxColour
,
48445 &_swigt__p_wxColourPickerCtrl
,
48446 &_swigt__p_wxColourPickerEvent
,
48447 &_swigt__p_wxComboBox
,
48448 &_swigt__p_wxCommandEvent
,
48449 &_swigt__p_wxContextHelp
,
48450 &_swigt__p_wxContextHelpButton
,
48451 &_swigt__p_wxContextMenuEvent
,
48452 &_swigt__p_wxControl
,
48453 &_swigt__p_wxControlWithItems
,
48454 &_swigt__p_wxCursor
,
48456 &_swigt__p_wxDateEvent
,
48457 &_swigt__p_wxDatePickerCtrl
,
48458 &_swigt__p_wxDateTime
,
48459 &_swigt__p_wxDirFilterListCtrl
,
48460 &_swigt__p_wxDirPickerCtrl
,
48461 &_swigt__p_wxDisplayChangedEvent
,
48462 &_swigt__p_wxDropFilesEvent
,
48463 &_swigt__p_wxDuplexMode
,
48464 &_swigt__p_wxEraseEvent
,
48465 &_swigt__p_wxEvent
,
48466 &_swigt__p_wxEvtHandler
,
48467 &_swigt__p_wxFSFile
,
48468 &_swigt__p_wxFileDirPickerEvent
,
48469 &_swigt__p_wxFilePickerCtrl
,
48470 &_swigt__p_wxFileSystem
,
48471 &_swigt__p_wxFlexGridSizer
,
48472 &_swigt__p_wxFocusEvent
,
48474 &_swigt__p_wxFontPickerCtrl
,
48475 &_swigt__p_wxFontPickerEvent
,
48476 &_swigt__p_wxGBSizerItem
,
48477 &_swigt__p_wxGIFHandler
,
48478 &_swigt__p_wxGauge
,
48479 &_swigt__p_wxGenericDirCtrl
,
48480 &_swigt__p_wxGenericDragImage
,
48481 &_swigt__p_wxGridBagSizer
,
48482 &_swigt__p_wxGridSizer
,
48483 &_swigt__p_wxHelpEvent
,
48484 &_swigt__p_wxHelpProvider
,
48485 &_swigt__p_wxHyperlinkCtrl
,
48486 &_swigt__p_wxHyperlinkEvent
,
48487 &_swigt__p_wxICOHandler
,
48489 &_swigt__p_wxIconizeEvent
,
48490 &_swigt__p_wxIdleEvent
,
48491 &_swigt__p_wxImage
,
48492 &_swigt__p_wxImageHandler
,
48493 &_swigt__p_wxImageList
,
48494 &_swigt__p_wxIndividualLayoutConstraint
,
48495 &_swigt__p_wxInitDialogEvent
,
48496 &_swigt__p_wxItemContainer
,
48497 &_swigt__p_wxJPEGHandler
,
48498 &_swigt__p_wxKeyEvent
,
48499 &_swigt__p_wxLayoutConstraints
,
48500 &_swigt__p_wxListBox
,
48501 &_swigt__p_wxListEvent
,
48502 &_swigt__p_wxListItem
,
48503 &_swigt__p_wxListItemAttr
,
48504 &_swigt__p_wxListView
,
48505 &_swigt__p_wxListbook
,
48506 &_swigt__p_wxListbookEvent
,
48507 &_swigt__p_wxMaximizeEvent
,
48508 &_swigt__p_wxMemoryDC
,
48510 &_swigt__p_wxMenuBar
,
48511 &_swigt__p_wxMenuEvent
,
48512 &_swigt__p_wxMenuItem
,
48513 &_swigt__p_wxMouseCaptureChangedEvent
,
48514 &_swigt__p_wxMouseCaptureLostEvent
,
48515 &_swigt__p_wxMouseEvent
,
48516 &_swigt__p_wxMoveEvent
,
48517 &_swigt__p_wxNavigationKeyEvent
,
48518 &_swigt__p_wxNcPaintEvent
,
48519 &_swigt__p_wxNotebook
,
48520 &_swigt__p_wxNotebookEvent
,
48521 &_swigt__p_wxNotifyEvent
,
48522 &_swigt__p_wxObject
,
48523 &_swigt__p_wxPCXHandler
,
48524 &_swigt__p_wxPNGHandler
,
48525 &_swigt__p_wxPNMHandler
,
48526 &_swigt__p_wxPaintEvent
,
48527 &_swigt__p_wxPaletteChangedEvent
,
48528 &_swigt__p_wxPaperSize
,
48529 &_swigt__p_wxPickerBase
,
48530 &_swigt__p_wxPoint
,
48531 &_swigt__p_wxPyApp
,
48532 &_swigt__p_wxPyCommandEvent
,
48533 &_swigt__p_wxPyControl
,
48534 &_swigt__p_wxPyEvent
,
48535 &_swigt__p_wxPyImageHandler
,
48536 &_swigt__p_wxPyListCtrl
,
48537 &_swigt__p_wxPySizer
,
48538 &_swigt__p_wxPyTreeCtrl
,
48539 &_swigt__p_wxPyTreeItemData
,
48540 &_swigt__p_wxPyValidator
,
48541 &_swigt__p_wxQueryNewPaletteEvent
,
48542 &_swigt__p_wxRadioBox
,
48543 &_swigt__p_wxRadioButton
,
48545 &_swigt__p_wxScrollBar
,
48546 &_swigt__p_wxScrollEvent
,
48547 &_swigt__p_wxScrollWinEvent
,
48548 &_swigt__p_wxSetCursorEvent
,
48549 &_swigt__p_wxShowEvent
,
48550 &_swigt__p_wxSimpleHelpProvider
,
48552 &_swigt__p_wxSizeEvent
,
48553 &_swigt__p_wxSizer
,
48554 &_swigt__p_wxSizerItem
,
48555 &_swigt__p_wxSlider
,
48556 &_swigt__p_wxSpinButton
,
48557 &_swigt__p_wxSpinCtrl
,
48558 &_swigt__p_wxSpinEvent
,
48559 &_swigt__p_wxStaticBitmap
,
48560 &_swigt__p_wxStaticBox
,
48561 &_swigt__p_wxStaticBoxSizer
,
48562 &_swigt__p_wxStaticLine
,
48563 &_swigt__p_wxStaticText
,
48564 &_swigt__p_wxStdDialogButtonSizer
,
48565 &_swigt__p_wxString
,
48566 &_swigt__p_wxSysColourChangedEvent
,
48567 &_swigt__p_wxTGAHandler
,
48568 &_swigt__p_wxTIFFHandler
,
48569 &_swigt__p_wxTextAttr
,
48570 &_swigt__p_wxTextCtrl
,
48571 &_swigt__p_wxTextUrlEvent
,
48572 &_swigt__p_wxToggleButton
,
48573 &_swigt__p_wxToolBar
,
48574 &_swigt__p_wxToolBarBase
,
48575 &_swigt__p_wxToolBarToolBase
,
48576 &_swigt__p_wxToolbook
,
48577 &_swigt__p_wxToolbookEvent
,
48578 &_swigt__p_wxTreeEvent
,
48579 &_swigt__p_wxTreeItemId
,
48580 &_swigt__p_wxTreebook
,
48581 &_swigt__p_wxTreebookEvent
,
48582 &_swigt__p_wxUpdateUIEvent
,
48583 &_swigt__p_wxValidator
,
48584 &_swigt__p_wxVisualAttributes
,
48585 &_swigt__p_wxWindow
,
48586 &_swigt__p_wxWindowBase
,
48587 &_swigt__p_wxWindowCreateEvent
,
48588 &_swigt__p_wxWindowDestroyEvent
,
48589 &_swigt__p_wxXPMHandler
,
48592 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48593 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48594 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48595 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48596 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48597 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48598 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48599 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48600 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48601 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48602 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48603 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48604 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}};
48605 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}};
48606 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}};
48607 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}};
48608 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48609 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48610 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}};
48611 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48612 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48613 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
48614 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
48615 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48616 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48617 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48618 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48619 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48620 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48621 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48622 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48623 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48624 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48625 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48626 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48627 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48628 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_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_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_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}};
48629 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48630 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48631 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_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_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_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}};
48632 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}};
48633 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48634 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48635 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48636 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48637 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48638 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48639 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48640 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48641 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48642 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48643 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48644 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48645 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48646 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48647 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48648 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48649 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48650 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48651 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48652 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48653 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48654 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48655 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48656 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48657 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48658 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48659 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48660 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48661 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48662 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48663 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48664 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48665 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_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_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}};
48666 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48667 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48668 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48669 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48670 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_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_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_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_wxSpinButton
, _p_wxSpinButtonTo_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_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}};
48671 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48672 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48673 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48674 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48675 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48676 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48677 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48678 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48679 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48680 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}};
48681 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48682 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48683 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48684 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48685 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}};
48686 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48687 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}};
48688 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48689 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48690 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48691 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48692 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48693 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48694 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48695 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48696 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48697 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48698 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}};
48699 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48700 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48701 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48702 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48703 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48704 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48705 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48706 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48707 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48708 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48709 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48710 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48711 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48712 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48713 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48714 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48715 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48716 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48717 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48718 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48719 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48720 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48721 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48722 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48723 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48724 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48725 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
48726 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48727 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48728 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48729 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48730 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_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_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_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_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_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_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_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_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_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_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_wxSpinButton
, _p_wxSpinButtonTo_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_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_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_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_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_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_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}};
48731 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48732 static swig_cast_info _swigc__p_wxPickerBase
[] = { {&_swigt__p_wxPickerBase
, 0, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxPickerBase
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxPickerBase
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxPickerBase
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxPickerBase
, 0, 0},{0, 0, 0, 0}};
48733 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48734 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48735 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}};
48736 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48737 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48738 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48739 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48740 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48741 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48742 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48743 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48744 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48745 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48746 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48747 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48748 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48749 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48750 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48751 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48752 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48753 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48754 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48755 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48756 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48757 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48758 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}};
48759 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48760 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48761 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48762 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48763 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48764 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48765 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48766 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}};
48767 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48768 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_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_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_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_wxSpinButton
, _p_wxSpinButtonTo_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_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}};
48769 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48771 static swig_cast_info
*swig_cast_initial
[] = {
48774 _swigc__p_form_ops_t
,
48777 _swigc__p_unsigned_char
,
48778 _swigc__p_unsigned_int
,
48779 _swigc__p_unsigned_long
,
48781 _swigc__p_wxANIHandler
,
48782 _swigc__p_wxAcceleratorTable
,
48783 _swigc__p_wxActivateEvent
,
48784 _swigc__p_wxArrayInt
,
48785 _swigc__p_wxArrayString
,
48786 _swigc__p_wxBMPHandler
,
48787 _swigc__p_wxBitmap
,
48788 _swigc__p_wxBitmapButton
,
48789 _swigc__p_wxBookCtrlBase
,
48790 _swigc__p_wxBookCtrlBaseEvent
,
48791 _swigc__p_wxBoxSizer
,
48792 _swigc__p_wxButton
,
48793 _swigc__p_wxCURHandler
,
48794 _swigc__p_wxCheckBox
,
48795 _swigc__p_wxCheckListBox
,
48796 _swigc__p_wxChildFocusEvent
,
48797 _swigc__p_wxChoice
,
48798 _swigc__p_wxChoicebook
,
48799 _swigc__p_wxChoicebookEvent
,
48800 _swigc__p_wxClipboardTextEvent
,
48801 _swigc__p_wxCloseEvent
,
48802 _swigc__p_wxCollapsiblePane
,
48803 _swigc__p_wxCollapsiblePaneEvent
,
48804 _swigc__p_wxColour
,
48805 _swigc__p_wxColourPickerCtrl
,
48806 _swigc__p_wxColourPickerEvent
,
48807 _swigc__p_wxComboBox
,
48808 _swigc__p_wxCommandEvent
,
48809 _swigc__p_wxContextHelp
,
48810 _swigc__p_wxContextHelpButton
,
48811 _swigc__p_wxContextMenuEvent
,
48812 _swigc__p_wxControl
,
48813 _swigc__p_wxControlWithItems
,
48814 _swigc__p_wxCursor
,
48816 _swigc__p_wxDateEvent
,
48817 _swigc__p_wxDatePickerCtrl
,
48818 _swigc__p_wxDateTime
,
48819 _swigc__p_wxDirFilterListCtrl
,
48820 _swigc__p_wxDirPickerCtrl
,
48821 _swigc__p_wxDisplayChangedEvent
,
48822 _swigc__p_wxDropFilesEvent
,
48823 _swigc__p_wxDuplexMode
,
48824 _swigc__p_wxEraseEvent
,
48826 _swigc__p_wxEvtHandler
,
48827 _swigc__p_wxFSFile
,
48828 _swigc__p_wxFileDirPickerEvent
,
48829 _swigc__p_wxFilePickerCtrl
,
48830 _swigc__p_wxFileSystem
,
48831 _swigc__p_wxFlexGridSizer
,
48832 _swigc__p_wxFocusEvent
,
48834 _swigc__p_wxFontPickerCtrl
,
48835 _swigc__p_wxFontPickerEvent
,
48836 _swigc__p_wxGBSizerItem
,
48837 _swigc__p_wxGIFHandler
,
48839 _swigc__p_wxGenericDirCtrl
,
48840 _swigc__p_wxGenericDragImage
,
48841 _swigc__p_wxGridBagSizer
,
48842 _swigc__p_wxGridSizer
,
48843 _swigc__p_wxHelpEvent
,
48844 _swigc__p_wxHelpProvider
,
48845 _swigc__p_wxHyperlinkCtrl
,
48846 _swigc__p_wxHyperlinkEvent
,
48847 _swigc__p_wxICOHandler
,
48849 _swigc__p_wxIconizeEvent
,
48850 _swigc__p_wxIdleEvent
,
48852 _swigc__p_wxImageHandler
,
48853 _swigc__p_wxImageList
,
48854 _swigc__p_wxIndividualLayoutConstraint
,
48855 _swigc__p_wxInitDialogEvent
,
48856 _swigc__p_wxItemContainer
,
48857 _swigc__p_wxJPEGHandler
,
48858 _swigc__p_wxKeyEvent
,
48859 _swigc__p_wxLayoutConstraints
,
48860 _swigc__p_wxListBox
,
48861 _swigc__p_wxListEvent
,
48862 _swigc__p_wxListItem
,
48863 _swigc__p_wxListItemAttr
,
48864 _swigc__p_wxListView
,
48865 _swigc__p_wxListbook
,
48866 _swigc__p_wxListbookEvent
,
48867 _swigc__p_wxMaximizeEvent
,
48868 _swigc__p_wxMemoryDC
,
48870 _swigc__p_wxMenuBar
,
48871 _swigc__p_wxMenuEvent
,
48872 _swigc__p_wxMenuItem
,
48873 _swigc__p_wxMouseCaptureChangedEvent
,
48874 _swigc__p_wxMouseCaptureLostEvent
,
48875 _swigc__p_wxMouseEvent
,
48876 _swigc__p_wxMoveEvent
,
48877 _swigc__p_wxNavigationKeyEvent
,
48878 _swigc__p_wxNcPaintEvent
,
48879 _swigc__p_wxNotebook
,
48880 _swigc__p_wxNotebookEvent
,
48881 _swigc__p_wxNotifyEvent
,
48882 _swigc__p_wxObject
,
48883 _swigc__p_wxPCXHandler
,
48884 _swigc__p_wxPNGHandler
,
48885 _swigc__p_wxPNMHandler
,
48886 _swigc__p_wxPaintEvent
,
48887 _swigc__p_wxPaletteChangedEvent
,
48888 _swigc__p_wxPaperSize
,
48889 _swigc__p_wxPickerBase
,
48892 _swigc__p_wxPyCommandEvent
,
48893 _swigc__p_wxPyControl
,
48894 _swigc__p_wxPyEvent
,
48895 _swigc__p_wxPyImageHandler
,
48896 _swigc__p_wxPyListCtrl
,
48897 _swigc__p_wxPySizer
,
48898 _swigc__p_wxPyTreeCtrl
,
48899 _swigc__p_wxPyTreeItemData
,
48900 _swigc__p_wxPyValidator
,
48901 _swigc__p_wxQueryNewPaletteEvent
,
48902 _swigc__p_wxRadioBox
,
48903 _swigc__p_wxRadioButton
,
48905 _swigc__p_wxScrollBar
,
48906 _swigc__p_wxScrollEvent
,
48907 _swigc__p_wxScrollWinEvent
,
48908 _swigc__p_wxSetCursorEvent
,
48909 _swigc__p_wxShowEvent
,
48910 _swigc__p_wxSimpleHelpProvider
,
48912 _swigc__p_wxSizeEvent
,
48914 _swigc__p_wxSizerItem
,
48915 _swigc__p_wxSlider
,
48916 _swigc__p_wxSpinButton
,
48917 _swigc__p_wxSpinCtrl
,
48918 _swigc__p_wxSpinEvent
,
48919 _swigc__p_wxStaticBitmap
,
48920 _swigc__p_wxStaticBox
,
48921 _swigc__p_wxStaticBoxSizer
,
48922 _swigc__p_wxStaticLine
,
48923 _swigc__p_wxStaticText
,
48924 _swigc__p_wxStdDialogButtonSizer
,
48925 _swigc__p_wxString
,
48926 _swigc__p_wxSysColourChangedEvent
,
48927 _swigc__p_wxTGAHandler
,
48928 _swigc__p_wxTIFFHandler
,
48929 _swigc__p_wxTextAttr
,
48930 _swigc__p_wxTextCtrl
,
48931 _swigc__p_wxTextUrlEvent
,
48932 _swigc__p_wxToggleButton
,
48933 _swigc__p_wxToolBar
,
48934 _swigc__p_wxToolBarBase
,
48935 _swigc__p_wxToolBarToolBase
,
48936 _swigc__p_wxToolbook
,
48937 _swigc__p_wxToolbookEvent
,
48938 _swigc__p_wxTreeEvent
,
48939 _swigc__p_wxTreeItemId
,
48940 _swigc__p_wxTreebook
,
48941 _swigc__p_wxTreebookEvent
,
48942 _swigc__p_wxUpdateUIEvent
,
48943 _swigc__p_wxValidator
,
48944 _swigc__p_wxVisualAttributes
,
48945 _swigc__p_wxWindow
,
48946 _swigc__p_wxWindowBase
,
48947 _swigc__p_wxWindowCreateEvent
,
48948 _swigc__p_wxWindowDestroyEvent
,
48949 _swigc__p_wxXPMHandler
,
48953 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48955 static swig_const_info swig_const_table
[] = {
48956 {0, 0, 0, 0.0, 0, 0}};
48961 /* -----------------------------------------------------------------------------
48962 * Type initialization:
48963 * This problem is tough by the requirement that no dynamic
48964 * memory is used. Also, since swig_type_info structures store pointers to
48965 * swig_cast_info structures and swig_cast_info structures store pointers back
48966 * to swig_type_info structures, we need some lookup code at initialization.
48967 * The idea is that swig generates all the structures that are needed.
48968 * The runtime then collects these partially filled structures.
48969 * The SWIG_InitializeModule function takes these initial arrays out of
48970 * swig_module, and does all the lookup, filling in the swig_module.types
48971 * array with the correct data and linking the correct swig_cast_info
48972 * structures together.
48974 * The generated swig_type_info structures are assigned staticly to an initial
48975 * array. We just loop though that array, and handle each type individually.
48976 * First we lookup if this type has been already loaded, and if so, use the
48977 * loaded structure instead of the generated one. Then we have to fill in the
48978 * cast linked list. The cast data is initially stored in something like a
48979 * two-dimensional array. Each row corresponds to a type (there are the same
48980 * number of rows as there are in the swig_type_initial array). Each entry in
48981 * a column is one of the swig_cast_info structures for that type.
48982 * The cast_initial array is actually an array of arrays, because each row has
48983 * a variable number of columns. So to actually build the cast linked list,
48984 * we find the array of casts associated with the type, and loop through it
48985 * adding the casts to the list. The one last trick we need to do is making
48986 * sure the type pointer in the swig_cast_info struct is correct.
48988 * First off, we lookup the cast->type name to see if it is already loaded.
48989 * There are three cases to handle:
48990 * 1) If the cast->type has already been loaded AND the type we are adding
48991 * casting info to has not been loaded (it is in this module), THEN we
48992 * replace the cast->type pointer with the type pointer that has already
48994 * 2) If BOTH types (the one we are adding casting info to, and the
48995 * cast->type) are loaded, THEN the cast info has already been loaded by
48996 * the previous module so we just ignore it.
48997 * 3) Finally, if cast->type has not already been loaded, then we add that
48998 * swig_cast_info to the linked list (because the cast->type) pointer will
49000 * ----------------------------------------------------------------------------- */
49010 #define SWIGRUNTIME_DEBUG
49014 SWIG_InitializeModule(void *clientdata
) {
49016 swig_module_info
*module_head
;
49017 static int init_run
= 0;
49019 clientdata
= clientdata
;
49021 if (init_run
) return;
49024 /* Initialize the swig_module */
49025 swig_module
.type_initial
= swig_type_initial
;
49026 swig_module
.cast_initial
= swig_cast_initial
;
49028 /* Try and load any already created modules */
49029 module_head
= SWIG_GetModule(clientdata
);
49031 swig_module
.next
= module_head
->next
;
49032 module_head
->next
= &swig_module
;
49034 /* This is the first module loaded */
49035 swig_module
.next
= &swig_module
;
49036 SWIG_SetModule(clientdata
, &swig_module
);
49039 /* Now work on filling in swig_module.types */
49040 #ifdef SWIGRUNTIME_DEBUG
49041 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49043 for (i
= 0; i
< swig_module
.size
; ++i
) {
49044 swig_type_info
*type
= 0;
49045 swig_type_info
*ret
;
49046 swig_cast_info
*cast
;
49048 #ifdef SWIGRUNTIME_DEBUG
49049 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49052 /* if there is another module already loaded */
49053 if (swig_module
.next
!= &swig_module
) {
49054 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49057 /* Overwrite clientdata field */
49058 #ifdef SWIGRUNTIME_DEBUG
49059 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49061 if (swig_module
.type_initial
[i
]->clientdata
) {
49062 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49063 #ifdef SWIGRUNTIME_DEBUG
49064 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49068 type
= swig_module
.type_initial
[i
];
49071 /* Insert casting types */
49072 cast
= swig_module
.cast_initial
[i
];
49073 while (cast
->type
) {
49074 /* Don't need to add information already in the list */
49076 #ifdef SWIGRUNTIME_DEBUG
49077 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49079 if (swig_module
.next
!= &swig_module
) {
49080 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49081 #ifdef SWIGRUNTIME_DEBUG
49082 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49086 if (type
== swig_module
.type_initial
[i
]) {
49087 #ifdef SWIGRUNTIME_DEBUG
49088 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49093 /* Check for casting already in the list */
49094 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49095 #ifdef SWIGRUNTIME_DEBUG
49096 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49098 if (!ocast
) ret
= 0;
49103 #ifdef SWIGRUNTIME_DEBUG
49104 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49107 type
->cast
->prev
= cast
;
49108 cast
->next
= type
->cast
;
49114 /* Set entry in modules->types array equal to the type */
49115 swig_module
.types
[i
] = type
;
49117 swig_module
.types
[i
] = 0;
49119 #ifdef SWIGRUNTIME_DEBUG
49120 printf("**** SWIG_InitializeModule: Cast List ******\n");
49121 for (i
= 0; i
< swig_module
.size
; ++i
) {
49123 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49124 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49125 while (cast
->type
) {
49126 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49130 printf("---- Total casts: %d\n",j
);
49132 printf("**** SWIG_InitializeModule: Cast List ******\n");
49136 /* This function will propagate the clientdata field of type to
49137 * any new swig_type_info structures that have been added into the list
49138 * of equivalent types. It is like calling
49139 * SWIG_TypeClientData(type, clientdata) a second time.
49142 SWIG_PropagateClientData(void) {
49144 swig_cast_info
*equiv
;
49145 static int init_run
= 0;
49147 if (init_run
) return;
49150 for (i
= 0; i
< swig_module
.size
; i
++) {
49151 if (swig_module
.types
[i
]->clientdata
) {
49152 equiv
= swig_module
.types
[i
]->cast
;
49154 if (!equiv
->converter
) {
49155 if (equiv
->type
&& !equiv
->type
->clientdata
)
49156 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49158 equiv
= equiv
->next
;
49178 /* Python-specific SWIG API */
49179 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49180 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49181 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49183 /* -----------------------------------------------------------------------------
49184 * global variable support code.
49185 * ----------------------------------------------------------------------------- */
49187 typedef struct swig_globalvar
{
49188 char *name
; /* Name of global variable */
49189 PyObject
*(*get_attr
)(void); /* Return the current value */
49190 int (*set_attr
)(PyObject
*); /* Set the value */
49191 struct swig_globalvar
*next
;
49194 typedef struct swig_varlinkobject
{
49196 swig_globalvar
*vars
;
49197 } swig_varlinkobject
;
49199 SWIGINTERN PyObject
*
49200 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49201 return PyString_FromString("<Swig global variables>");
49204 SWIGINTERN PyObject
*
49205 swig_varlink_str(swig_varlinkobject
*v
) {
49206 PyObject
*str
= PyString_FromString("(");
49207 swig_globalvar
*var
;
49208 for (var
= v
->vars
; var
; var
=var
->next
) {
49209 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49210 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49212 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49217 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49218 PyObject
*str
= swig_varlink_str(v
);
49219 fprintf(fp
,"Swig global variables ");
49220 fprintf(fp
,"%s\n", PyString_AsString(str
));
49226 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49227 swig_globalvar
*var
= v
->vars
;
49229 swig_globalvar
*n
= var
->next
;
49236 SWIGINTERN PyObject
*
49237 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49238 PyObject
*res
= NULL
;
49239 swig_globalvar
*var
= v
->vars
;
49241 if (strcmp(var
->name
,n
) == 0) {
49242 res
= (*var
->get_attr
)();
49247 if (res
== NULL
&& !PyErr_Occurred()) {
49248 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49254 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49256 swig_globalvar
*var
= v
->vars
;
49258 if (strcmp(var
->name
,n
) == 0) {
49259 res
= (*var
->set_attr
)(p
);
49264 if (res
== 1 && !PyErr_Occurred()) {
49265 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49270 SWIGINTERN PyTypeObject
*
49271 swig_varlink_type(void) {
49272 static char varlink__doc__
[] = "Swig var link object";
49273 static PyTypeObject varlink_type
;
49274 static int type_init
= 0;
49276 const PyTypeObject tmp
49278 PyObject_HEAD_INIT(NULL
)
49279 0, /* Number of items in variable part (ob_size) */
49280 (char *)"swigvarlink", /* Type name (tp_name) */
49281 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49282 0, /* Itemsize (tp_itemsize) */
49283 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49284 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49285 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49286 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49287 0, /* tp_compare */
49288 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49289 0, /* tp_as_number */
49290 0, /* tp_as_sequence */
49291 0, /* tp_as_mapping */
49294 (reprfunc
)swig_varlink_str
, /* tp_str */
49295 0, /* tp_getattro */
49296 0, /* tp_setattro */
49297 0, /* tp_as_buffer */
49299 varlink__doc__
, /* tp_doc */
49300 0, /* tp_traverse */
49302 0, /* tp_richcompare */
49303 0, /* tp_weaklistoffset */
49304 #if PY_VERSION_HEX >= 0x02020000
49305 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49307 #if PY_VERSION_HEX >= 0x02030000
49310 #ifdef COUNT_ALLOCS
49311 0,0,0,0 /* tp_alloc -> tp_next */
49314 varlink_type
= tmp
;
49315 varlink_type
.ob_type
= &PyType_Type
;
49318 return &varlink_type
;
49321 /* Create a variable linking object for use later */
49322 SWIGINTERN PyObject
*
49323 SWIG_Python_newvarlink(void) {
49324 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
49328 return ((PyObject
*) result
);
49332 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
49333 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
49334 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
49336 size_t size
= strlen(name
)+1;
49337 gv
->name
= (char *)malloc(size
);
49339 strncpy(gv
->name
,name
,size
);
49340 gv
->get_attr
= get_attr
;
49341 gv
->set_attr
= set_attr
;
49342 gv
->next
= v
->vars
;
49348 SWIGINTERN PyObject
*
49350 static PyObject
*_SWIG_globals
= 0;
49351 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
49352 return _SWIG_globals
;
49355 /* -----------------------------------------------------------------------------
49356 * constants/methods manipulation
49357 * ----------------------------------------------------------------------------- */
49359 /* Install Constants */
49361 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
49364 for (i
= 0; constants
[i
].type
; ++i
) {
49365 switch(constants
[i
].type
) {
49366 case SWIG_PY_POINTER
:
49367 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
49369 case SWIG_PY_BINARY
:
49370 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
49377 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
49383 /* -----------------------------------------------------------------------------*/
49384 /* Fix SwigMethods to carry the callback ptrs when needed */
49385 /* -----------------------------------------------------------------------------*/
49388 SWIG_Python_FixMethods(PyMethodDef
*methods
,
49389 swig_const_info
*const_table
,
49390 swig_type_info
**types
,
49391 swig_type_info
**types_initial
) {
49393 for (i
= 0; methods
[i
].ml_name
; ++i
) {
49394 const char *c
= methods
[i
].ml_doc
;
49395 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
49397 swig_const_info
*ci
= 0;
49398 const char *name
= c
+ 10;
49399 for (j
= 0; const_table
[j
].type
; ++j
) {
49400 if (strncmp(const_table
[j
].name
, name
,
49401 strlen(const_table
[j
].name
)) == 0) {
49402 ci
= &(const_table
[j
]);
49407 size_t shift
= (ci
->ptype
) - types
;
49408 swig_type_info
*ty
= types_initial
[shift
];
49409 size_t ldoc
= (c
- methods
[i
].ml_doc
);
49410 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
49411 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
49414 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
49416 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
49418 strncpy(buff
, "swig_ptr: ", 10);
49420 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
49421 methods
[i
].ml_doc
= ndoc
;
49433 /* -----------------------------------------------------------------------------*
49434 * Partial Init method
49435 * -----------------------------------------------------------------------------*/
49440 SWIGEXPORT
void SWIG_init(void) {
49443 /* Fix SwigMethods to carry the callback ptrs when needed */
49444 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
49446 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
49447 d
= PyModule_GetDict(m
);
49449 SWIG_InitializeModule(0);
49450 SWIG_InstallConstants(d
,swig_const_table
);
49453 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
49454 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
49455 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
49456 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
49457 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
49458 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
49459 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
49460 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
49461 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
49462 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
49463 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
49464 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
49465 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
49466 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
49467 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
49468 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
49469 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
49470 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
49471 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
49472 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
49473 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
49474 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
49475 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
49476 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
49477 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
49478 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
49479 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
49480 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
49481 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
49482 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
49483 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
49484 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
49485 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
49486 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
49487 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
49488 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
49489 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
49490 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
49491 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
49492 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
49493 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
49494 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
49495 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
49496 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
49497 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
49498 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
49499 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
49500 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
49501 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
49502 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
49503 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
49504 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
49505 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
49506 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
49507 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
49508 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
49509 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
49510 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
49511 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
49512 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
49513 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
49514 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
49515 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
49516 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
49517 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
49518 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
49519 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
49520 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
49521 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
49522 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
49523 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
49524 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
49525 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
49526 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
49527 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
49528 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
49529 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
49530 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
49531 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
49532 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
49533 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
49534 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
49535 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
49536 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
49537 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
49538 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
49539 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
49540 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
49541 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
49542 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
49543 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
49544 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
49545 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
49546 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
49547 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
49548 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
49549 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
49550 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
49551 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
49552 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
49553 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
49554 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
49555 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
49556 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
49557 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
49558 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
49559 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49560 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49561 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49562 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49563 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49564 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49565 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49566 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49567 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49568 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49569 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49570 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49571 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49572 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49573 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49574 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49575 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49576 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49577 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49578 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49579 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49580 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49581 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49582 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49583 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49584 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49585 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49586 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49587 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49588 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49589 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49590 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49591 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49592 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49593 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49594 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49595 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49596 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49597 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49598 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49599 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49600 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49601 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49602 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49603 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49604 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49605 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49606 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49607 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49608 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49609 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
49610 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
49611 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49612 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
49613 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49614 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49615 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49616 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49617 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49618 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49619 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49620 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49621 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49622 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49623 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49624 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49625 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49626 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49627 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49628 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49629 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49630 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49631 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49632 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49633 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49634 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49635 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49636 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49637 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49638 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49639 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49640 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49641 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49642 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49643 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49644 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49645 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49646 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49647 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49648 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49649 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49650 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49651 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49652 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49653 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49654 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49655 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49656 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49657 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49658 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49659 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49660 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49661 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49662 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49663 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49664 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49665 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49666 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49667 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49668 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49669 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49670 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49671 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49672 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49673 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49674 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49675 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49676 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49677 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49678 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49679 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49680 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49681 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49682 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49683 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49684 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49685 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49686 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49687 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49688 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49689 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49690 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49691 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49692 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49693 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49710 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49711 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49712 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49714 // Map renamed classes back to their common name for OOR
49715 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49717 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49718 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49719 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49720 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49721 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49722 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49723 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49724 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49725 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49726 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49727 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49728 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49729 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49730 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49731 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49732 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49733 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49734 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49735 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49736 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49737 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49738 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49739 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49740 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49741 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49742 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49743 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49744 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49745 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49746 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49747 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49748 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49749 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49750 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49751 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49752 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49771 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49772 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49774 // Map renamed classes back to their common name for OOR
49775 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49776 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49778 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49779 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49780 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49781 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49782 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49783 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49784 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49785 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49786 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49787 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49788 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49790 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49792 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49793 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49794 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49795 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49796 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49797 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49798 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49799 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49800 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49801 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49802 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49803 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49804 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49805 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49806 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49807 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49808 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49809 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49810 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49811 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49812 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49813 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49814 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49815 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49816 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49817 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49818 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49819 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49820 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49821 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49822 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49823 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49824 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49825 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49826 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49827 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49828 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49829 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49830 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49831 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49832 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49833 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49834 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
49835 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
49836 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
49837 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
49838 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));